ShiboSoftwareDev/nema8-20mm-dual-usbc-stepper-controller

A compact 20 mm four-layer USB‑C stepper-controller PCB combining CH32X035 MCU control, TMC2209 motor driving, USB‑C PD/data interfaces, protection/power regulation, temperature/LED status hardware, and NEMA8 motor connectivity.

Version
1.0.34
License
unset
Stars
0

imports/WS2812B_1313_V6.tsx

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

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

const pinAttributes = {
  pin1: {requiresPower: true},
  pin3: {requiresGround: true}
} as const

export const WS2812B_1313_V6 = (props: ChipProps<typeof pinLabels>) => {
  return (
    <chip
      pinLabels={pinLabels}
      pinAttributes={pinAttributes}
      supplierPartNumbers={{
  "jlcpcb": [
    "C52941388"
  ]
}}
      manufacturerPartNumber="WS2812B-1313-V6"
      footprint={<footprint>
        <smtpad portHints={["pin4"]} pcbX="0.40005mm" pcbY="0.40005mm" width="0.499999mm" height="0.499999mm" shape="rect" />
<smtpad portHints={["pin3"]} pcbX="0.40005mm" pcbY="-0.40005mm" width="0.499999mm" height="0.499999mm" shape="rect" />
<smtpad portHints={["pin2"]} pcbX="-0.40005mm" pcbY="-0.40005mm" width="0.499999mm" height="0.499999mm" shape="rect" />
<smtpad portHints={["pin1"]} pcbX="-0.40005mm" pcbY="0.40005mm" width="0.499999mm" height="0.499999mm" shape="rect" />
<silkscreenpath route={[{"x":-0.8902699999999868,"y":0.3822699999999486},{"x":-0.8902699999999868,"y":0.8902699999999868},{"x":0.9029699999999821,"y":0.8902699999999868},{"x":0.9029699999999821,"y":-0.8877300000000332},{"x":-0.8902699999999868,"y":-0.8877300000000332},{"x":-0.8902699999999868,"y":0.3822699999999486}]} />
<silkscreencircle pcbX="-1.19888mm" pcbY="0.959104mm" radius="0.06096mm" />
<silkscreentext text="{NAME}" pcbX="-0.18415mm" pcbY="2.00965mm" anchorAlignment="center" fontSize="1mm" />
<fabricationnotepath route={[{"x":0.1499108000000433,"y":0.15100299999994604},{"x":0.1499108000000433,"y":-0.24899619999996503},{"x":0.6499097999999321,"y":-0.24899619999996503},{"x":0.6499097999999321,"y":0.2510027999999238},{"x":0.1499108000000433,"y":0.2510027999999238},{"x":0.1499108000000433,"y":0.15100299999994604}]} strokeWidth="0.254mm" />
<fabricationnotepath route={[{"x":-0.45646339999996144,"y":0.2024380000000292},{"x":-0.2564637999998922,"y":0.2024380000000292},{"x":-0.2564637999998922,"y":0.40243759999987105},{"x":-0.45646339999996144,"y":0.40243759999987105},{"x":-0.45646339999996144,"y":0.2024380000000292}]} strokeWidth="0.254mm" />
<fabricationnotepath route={[{"x":-0.45648880000010195,"y":-0.42257979999999407},{"x":-0.25648919999991904,"y":-0.42257979999999407},{"x":-0.25648919999991904,"y":-0.22258020000003853},{"x":-0.45648880000010195,"y":-0.22258020000003853},{"x":-0.45648880000010195,"y":-0.42257979999999407}]} strokeWidth="0.254mm" />
<fabricationnotepath route={[{"x":-0.45999400000005153,"y":-0.09900920000006863},{"x":-0.259994400000096,"y":-0.09900920000006863},{"x":-0.259994400000096,"y":0.10099040000000059},{"x":-0.45999400000005153,"y":0.10099040000000059},{"x":-0.45999400000005153,"y":-0.09900920000006863}]} strokeWidth="0.254mm" />
<fabricationnotepath route={[{"x":-0.9999980000001187,"y":0.7499857999999904},{"x":-0.599998800000094,"y":0.7499857999999904},{"x":-0.599998800000094,"y":0.6499860000000126},{"x":-0.9999980000001187,"y":0.6499860000000126},{"x":-0.9999980000001187,"y":0.7499857999999904}]} strokeWidth="0.254mm" />
<fabricationnotepath route={[{"x":-0.8369808000001058,"y":0.5062473999998929},{"x":-0.8369808000001058,"y":0.906246600000145},{"x":-0.7369810000000143,"y":0.906246600000145},{"x":-0.7369810000000143,"y":0.5062473999998929},{"x":-0.8369808000001058,"y":0.5062473999998929}]} strokeWidth="0.254mm" />
<courtyardoutline outline={[
  { x: -0.91, y: -0.90 },
  { x: 0.91, y: -0.90 },
  { x: 0.91, y: 0.90 },
  { x: -0.91, y: 0.90 },
  { x: -0.91, y: -0.90 },
]} />
      </footprint>}
      cadModel={{
        objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C52941388.obj?uuid=16bc92a47261491eb8344c6281017d40",
        stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C52941388.step?uuid=16bc92a47261491eb8344c6281017d40",
        pcbRotationOffset: 0,
        modelOriginPosition: { x: 0.003650699999942164, y: -0.00011709999998338327, z: -0.01 },
      }}
      {...props}
    />
  )
}