shibosoftwaredev/f1c100s-linux-nema17-stepper-controller

A four-layer NEMA 17 motor-controller PCB combining an Allwinner F1C100S Linux computer, USB‑PD/buck power system, W5500 Ethernet, STM32 real-time motion control, DRV8825 stepper driver, protection/temperature/current telemetry, USB interfaces, and local LED/buzzer diagnostics.

Version
0.4.56
License
unset
Stars
0

imports/WS2812B_2020.tsx

import type { ChipProps } from "@tscircuit/props"

const pinLabels = {
  pin1: ["DO"],
  pin2: ["GND"],
  pin3: ["DI"],
  pin4: ["VDD"]
} as const

const pinAttributes = {
  pin2: {requiresGround: true},
  pin4: {requiresPower: true}
} as const

export const WS2812B_2020 = (props: ChipProps<typeof pinLabels>) => {
  return (
    <chip
      pinLabels={pinLabels}
      pinAttributes={pinAttributes}
      supplierPartNumbers={{
  "jlcpcb": [
    "C52917434"
  ]
}}
      manufacturerPartNumber="WS2812B-2020-V6"
      footprint={<footprint>
        <smtpad portHints={["pin1"]} pcbX="-0.915035mm" pcbY="0.550037mm" width="0.8999982mm" height="0.6999986mm" shape="rect" />
<smtpad portHints={["pin2"]} pcbX="-0.915035mm" pcbY="-0.550037mm" width="0.8999982mm" height="0.6999986mm" shape="rect" />
<smtpad portHints={["pin3"]} pcbX="0.915035mm" pcbY="-0.550037mm" width="0.8999982mm" height="0.6999986mm" shape="rect" />
<smtpad portHints={["pin4"]} pcbX="0.915035mm" pcbY="0.550037mm" width="0.8999982mm" height="0.6999986mm" shape="rect" />
<silkscreenpath route={[{"x":-0.24998679999998785,"y":0.7499603999999636},{"x":-0.09999980000009145,"y":0.7499603999999636},{"x":-0.09999980000009145,"y":-0.6500114000000394},{"x":-0.09999980000009145,"y":-0.6999986000000717},{"x":-0.24998679999998785,"y":-0.6999986000000717}]} />
<silkscreenpath route={[{"x":-0.24998679999998785,"y":0.7499603999999636},{"x":-0.24998679999998785,"y":-0.7000239999999849}]} />
<silkscreenpath route={[{"x":-1.299997400000052,"y":1.1499850000000151},{"x":-1.299997400000052,"y":1.1381486000000223}]} />
<silkscreenpath route={[{"x":0.9999979999998914,"y":1.0999977999999828},{"x":-0.999998000000005,"y":1.0999977999999828}]} />
<silkscreenpath route={[{"x":-0.999998000000005,"y":-1.0999977999999828},{"x":0.9999979999998914,"y":-1.0999977999999828}]} />
<silkscreentext text="{NAME}" pcbX="-0.013335mm" pcbY="2.159637mm" anchorAlignment="center" fontSize="1mm" />
<fabricationnotepath route={[{"x":-0.8199882000001253,"y":-0.380009399999949},{"x":-0.5799836000001051,"y":-0.380009399999949},{"x":-0.5799836000001051,"y":-0.5600192000000561},{"x":-0.7899908000001687,"y":-0.5600192000000561},{"x":-0.7899908000001687,"y":-0.6700266000000283},{"x":-0.5799836000001051,"y":-0.6700266000000283},{"x":-0.5799836000001051,"y":-0.7200138000000607},{"x":-0.8199882000001253,"y":-0.7200138000000607},{"x":-0.8299958000001197,"y":-0.7200138000000607},{"x":-0.8299958000001197,"y":-0.7100061999999525},{"x":-0.8299958000001197,"y":-0.5200141999998777},{"x":-0.6099809999999479,"y":-0.5200141999998777},{"x":-0.6099809999999479,"y":-0.42001440000001367},{"x":-0.8299958000001197,"y":-0.42001440000001367},{"x":-0.8299958000001197,"y":-0.380009399999949},{"x":-0.8199882000001253,"y":-0.380009399999949}]} strokeWidth="0.254mm" />
<fabricationnotepath route={[{"x":-1.1799823999999717,"y":-0.6649719999999206},{"x":-0.9399777999999515,"y":-0.6649719999999206},{"x":-0.9399777999999515,"y":-0.7149845999999798},{"x":-1.1799823999999717,"y":-0.7149845999999798},{"x":-1.1799823999999717,"y":-0.6649719999999206}]} strokeWidth="0.254mm" />
<fabricationnotepath route={[{"x":0.654989799999953,"y":0.4550155999999106},{"x":0.654989799999953,"y":0.6949948000000177},{"x":0.7050024000000121,"y":0.6949948000000177},{"x":0.7050024000000121,"y":0.4550155999999106},{"x":0.654989799999953,"y":0.4550155999999106}]} strokeWidth="0.254mm" />
<fabricationnotepath route={[{"x":0.5599938000000293,"y":0.5999987999999803},{"x":0.7999983999999358,"y":0.5999987999999803},{"x":0.7999983999999358,"y":0.5499862000000348},{"x":0.5599938000000293,"y":0.5499862000000348},{"x":0.5599938000000293,"y":0.5999987999999803}]} strokeWidth="0.254mm" />
<fabricationnotepath route={[{"x":-0.2249931999999717,"y":0.8800084000000652},{"x":-0.2249931999999717,"y":-0.8799830000000384},{"x":-0.47498000000007323,"y":-0.8799830000000384},{"x":-0.47498000000007323,"y":0.8800084000000652},{"x":-0.2249931999999717,"y":0.8800084000000652}]} strokeWidth="0.254mm" />
<fabricationnotepath route={[{"x":0.9499853999999459,"y":0.7499858000001041},{"x":0.9499853999999459,"y":0.4499864000000571},{"x":1.0999977999999828,"y":0.4499864000000571},{"x":1.0999977999999828,"y":0.3499865999999656},{"x":1.1499850000000151,"y":0.3499865999999656},{"x":1.1499850000000151,"y":0.4499864000000571},{"x":1.249984799999993,"y":0.4499864000000571},{"x":1.249984799999993,"y":0.4999990000000025},{"x":1.1499850000000151,"y":0.4999990000000025},{"x":1.1499850000000151,"y":0.6500113999999257},{"x":1.0999977999999828,"y":0.6500113999999257},{"x":1.0999977999999828,"y":0.4999990000000025},{"x":0.9999979999998914,"y":0.4999990000000025},{"x":0.9999979999998914,"y":0.7499858000001041},{"x":0.9499853999999459,"y":0.7499858000001041}]} strokeWidth="0.254mm" />
<fabricationnotepath route={[{"x":-0.7999983999999358,"y":0.6999986000000717},{"x":-0.8500110000001087,"y":0.6499860000000126},{"x":-0.8500110000001087,"y":0.3499865999999656},{"x":-0.8499855999999681,"y":0.3499865999999656},{"x":-0.7999983999999358,"y":0.299999400000047},{"x":-0.599998800000094,"y":0.299999400000047},{"x":-0.599998800000094,"y":0.299999400000047},{"x":-0.5500116000000617,"y":0.3499865999999656},{"x":-0.5500116000000617,"y":0.6499860000000126},{"x":-0.5500116000000617,"y":0.6500113999999257},{"x":-0.599998800000094,"y":0.6999986000000717},{"x":-0.6999986000000717,"y":0.6999986000000717},{"x":-0.6999986000000717,"y":0.6499860000000126},{"x":-0.599998800000094,"y":0.6499860000000126},{"x":-0.599998800000094,"y":0.3499865999999656},{"x":-0.7999983999999358,"y":0.3499865999999656},{"x":-0.7999983999999358,"y":0.6499860000000126},{"x":-0.7500111999999035,"y":0.6499860000000126},{"x":-0.7500111999999035,"y":0.6999986000000717},{"x":-0.7999983999999358,"y":0.6999986000000717}]} strokeWidth="0.254mm" />
<fabricationnotepath route={[{"x":-1.1749532000000045,"y":0.6999986000000717},{"x":-1.1749532000000045,"y":0.299999400000047},{"x":-1.024966200000108,"y":0.299999400000047},{"x":-0.9749536000001626,"y":0.299999400000047},{"x":-0.9249664000001303,"y":0.3499865999999656},{"x":-0.9249664000001303,"y":0.6500113999999257},{"x":-0.9749536000001626,"y":0.6999986000000717},{"x":-1.0749534000000267,"y":0.6999986000000717},{"x":-1.0749534000000267,"y":0.6499860000000126},{"x":-0.9749536000001626,"y":0.6499860000000126},{"x":-0.9749536000001626,"y":0.3499865999999656},{"x":-1.1249659999999722,"y":0.3499865999999656},{"x":-1.1249659999999722,"y":0.6999986000000717},{"x":-1.1749532000000045,"y":0.6999986000000717}]} strokeWidth="0.254mm" />
<fabricationnotepath route={[{"x":0.5500115999998343,"y":-0.35001199999999244},{"x":0.5500115999998343,"y":-0.7500620000000708},{"x":0.7000239999999849,"y":-0.7500620000000708},{"x":0.7500619999999572,"y":-0.7500620000000708},{"x":0.8000491999999895,"y":-0.7000494000000117},{"x":0.8000491999999895,"y":-0.39997379999999794},{"x":0.7500619999999572,"y":-0.35001199999999244},{"x":0.6500621999999794,"y":-0.35001199999999244},{"x":0.6500621999999794,"y":-0.4000754000001052},{"x":0.7500619999999572,"y":-0.4000754000001052},{"x":0.7500619999999572,"y":-0.7000494000000117},{"x":0.6000495999999202,"y":-0.7000494000000117},{"x":0.6000495999999202,"y":-0.35001199999999244},{"x":0.5500115999998343,"y":-0.35001199999999244}]} strokeWidth="0.254mm" />
<fabricationnotepath route={[{"x":0.9250171999999566,"y":-0.7500112000000172},{"x":0.9250171999999566,"y":-0.6999985999999581},{"x":0.9750043999999889,"y":-0.6999985999999581},{"x":0.9750043999999889,"y":-0.39999919999991107},{"x":0.9250171999999566,"y":-0.39999919999991107},{"x":0.9250171999999566,"y":-0.35001199999999244},{"x":1.0750041999999667,"y":-0.35001199999999244},{"x":1.0750041999999667,"y":-0.39999919999991107},{"x":1.0250169999999343,"y":-0.39999919999991107},{"x":1.0250169999999343,"y":-0.6999985999999581},{"x":1.0750041999999667,"y":-0.6999985999999581},{"x":1.0750041999999667,"y":-0.7500112000000172},{"x":0.9250171999999566,"y":-0.7500112000000172}]} strokeWidth="0.254mm" />
<courtyardoutline outline={[{"x":-1.622235000000046,"y":1.4096369999999752},{"x":1.5955649999998514,"y":1.4096369999999752},{"x":1.5955649999998514,"y":-1.3509629999999788},{"x":-1.622235000000046,"y":-1.3509629999999788},{"x":-1.622235000000046,"y":1.4096369999999752}]} />
      </footprint>}
      cadModel={{
        objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C965555.obj?uuid=caa88715b11f4aa189b02e52bbb84e4f",
        stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C965555.step?uuid=caa88715b11f4aa189b02e52bbb84e4f",
        pcbRotationOffset: 0,
        modelOriginPosition: { x: -0.000025399999913133797, y: -0.00012700000002041634, z: -0.02 },
      }}
      {...props}
    />
  )
}