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/P4_1010RGBTA1_0_4T_A.tsx

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

const pinLabels = {
  pin1: ["pin1", "A", "ANODE", "COMMON_ANODE"],
  pin2: ["pin2", "R", "RED_CATHODE"],
  pin3: ["pin3", "B", "BLUE_CATHODE"],
  pin4: ["pin4", "G", "GREEN_CATHODE"]
} as const

export const P4_1010RGBTA1_0_4T_A = (props: ChipProps<typeof pinLabels>) => {
  return (
    <chip
      pinLabels={pinLabels}
      supplierPartNumbers={{
  "jlcpcb": [
    "C2827293"
  ]
}}
      manufacturerPartNumber="P4-1010RGBTA1-0.4T-A"
      footprint={<footprint>
        <smtpad portHints={["pin2"]} pcbX="0.40005mm" pcbY="0.40005mm" width="0.4500118mm" height="0.4500118mm" shape="rect" />
<smtpad portHints={["pin4"]} pcbX="0.40005mm" pcbY="-0.40005mm" width="0.4500118mm" height="0.4500118mm" shape="rect" />
<smtpad portHints={["pin3"]} pcbX="-0.40005mm" pcbY="-0.40005mm" width="0.4500118mm" height="0.4500118mm" shape="rect" />
<smtpad portHints={["pin1"]} pcbX="-0.40005mm" pcbY="0.40005mm" width="0.4500118mm" height="0.4500118mm" shape="rect" />
<silkscreenpath route={[{"x":0.5499861999998075,"y":-0.07043420000002243},{"x":0.5499861999998075,"y":0.07043420000002243}]} />
<silkscreenpath route={[{"x":0.07043419999990874,"y":0.6000242000000071},{"x":-0.07051040000021658,"y":0.6000242000000071}]} />
<silkscreenpath route={[{"x":-0.5499862000000348,"y":-0.07043420000002243},{"x":-0.5499862000000348,"y":0.07043420000002243}]} />
<silkscreenpath route={[{"x":0.07043419999990874,"y":-0.6000242000000071},{"x":-0.07043420000013612,"y":-0.6000242000000071}]} />
<silkscreentext text="{NAME}" pcbX="-0.1903222mm" pcbY="1.9957816mm" anchorAlignment="center" fontSize="1mm" />
<fabricationnotepath route={[{"x":-0.599998800000094,"y":0.4500117999999702},{"x":-0.599998800000094,"y":0.35001199999999244},{"x":-0.19999960000006922,"y":0.35001199999999244},{"x":-0.19999960000006922,"y":0.4500117999999702},{"x":-0.599998800000094,"y":0.4500117999999702}]} strokeWidth="0.254mm" />
<fabricationnotepath route={[{"x":-0.45006260000013754,"y":0.19994880000001558},{"x":-0.3500628000000461,"y":0.19994880000001558},{"x":-0.3500628000000461,"y":0.5999480000000403},{"x":-0.45006260000013754,"y":0.5999480000000403},{"x":-0.45006260000013754,"y":0.19994880000001558}]} strokeWidth="0.254mm" />
<fabricationnotepath route={[{"x":0.20010119999994913,"y":0.4500117999999702},{"x":0.20010119999994913,"y":0.35001199999999244},{"x":0.6001003999998602,"y":0.35001199999999244},{"x":0.6001003999998602,"y":0.4500117999999702},{"x":0.20010119999994913,"y":0.4500117999999702}]} strokeWidth="0.254mm" />
<fabricationnotepath route={[{"x":-0.599998800000094,"y":-0.3500881999999592},{"x":-0.599998800000094,"y":-0.450087999999937},{"x":-0.19999960000006922,"y":-0.450087999999937},{"x":-0.19999960000006922,"y":-0.3500881999999592},{"x":-0.599998800000094,"y":-0.3500881999999592}]} strokeWidth="0.254mm" />
<fabricationnotepath route={[{"x":0.20010119999994913,"y":-0.3500881999999592},{"x":0.20010119999994913,"y":-0.450087999999937},{"x":0.6001003999998602,"y":-0.450087999999937},{"x":0.6001003999998602,"y":-0.3500881999999592},{"x":0.20010119999994913,"y":-0.3500881999999592}]} strokeWidth="0.254mm" />
<fabricationnotepath route={[{"x":-0.4999990000000025,"y":-0.09999979999997777},{"x":-0.09999980000020514,"y":-0.09999979999997777},{"x":-0.299999400000047,"y":0.09999980000009145},{"x":-0.4999990000000025,"y":-0.09999979999997777}]} strokeWidth="0.254mm" />
<courtyardoutline outline={[{"x":-0.7,"y":0.7},{"x":0.7,"y":0.7},{"x":0.7,"y":-0.7},{"x":-0.7,"y":-0.7},{"x":-0.7,"y":0.7}]} />
      </footprint>}
      
      {...props}
    />
  )
}