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

A compact 4-layer USB‑C PD stepper-motor controller PCB using a CH32X035 MCU, TMC2209 driver, dual USB‑C ports, power protection/regulation, ESD/TVS diodes, current-sense resistors, and NEMA‑8 motor connector.

Version
1.0.13
License
unset
Stars
0

imports/USB4145_03_0070_C.tsx

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

const pinLabels = {
  pin1: ["A1","GND1"],
  pin2: ["A6","DP1"],
  pin3: ["A4","VBUS1"],
  pin4: ["A5","CC1"],
  pin5: ["A12","GND2"],
  pin6: ["A7","DN1"],
  pin7: ["A8","SBU1"],
  pin8: ["A9","VBUS2"],
  pin9: ["B12","GND3"],
  pin10: ["B7","DN2"],
  pin11: ["B9","VBUS3"],
  pin12: ["B8","SBU2"],
  pin13: ["B1","GND4"],
  pin14: ["B6","DP2"],
  pin15: ["B5","CC2"],
  pin16: ["B4","VBUS4"],
  pin17: ["SHELL"]
} as const

export const USB4145_03_0070_C = (props: ChipProps<typeof pinLabels>) => {
  return (
    <chip
      pinLabels={pinLabels}
      supplierPartNumbers={{
  "jlcpcb": [
    "C5815189"
  ]
}}
      manufacturerPartNumber="USB4145-03-0070-C"
      footprint={<footprint insertionDirection="from_above">
        <hole pcbX="-3.8474968mm" pcbY="0.000127mm" diameter="0.7099808mm" />
<platedhole  portHints={["pin17"]} pcbX="-3.8474968mm" pcbY="1.429893mm" holeWidth="0.5999988mm" holeHeight="1.0999978mm" outerWidth="1.0999978mm" outerHeight="1.5999968mm" pcbRotation="90deg" shape="pill" />
<platedhole  portHints={["pin17"]} pcbX="-3.8474968mm" pcbY="-1.429893mm" holeWidth="0.5999988mm" holeHeight="1.0999978mm" outerWidth="1.0999978mm" outerHeight="1.5999968mm" pcbRotation="90deg" shape="pill" />
<platedhole  portHints={["pin17"]} pcbX="4.1524872mm" pcbY="-1.429893mm" holeWidth="0.5999988mm" holeHeight="1.0999978mm" outerWidth="1.0999978mm" outerHeight="1.5999968mm" pcbRotation="90deg" shape="pill" />
<platedhole  portHints={["pin17"]} pcbX="4.1524872mm" pcbY="1.429893mm" holeWidth="0.5999988mm" holeHeight="1.0999978mm" outerWidth="1.0999978mm" outerHeight="1.5999968mm" pcbRotation="90deg" shape="pill" />
<smtpad portHints={["pin1"]} pcbX="-2.5975628mm" pcbY="1.479931mm" width="0.2999994mm" height="1.1500104mm" shape="rect" />
<smtpad portHints={["pin2"]} pcbX="-0.0974408mm" pcbY="1.479931mm" width="0.2999994mm" height="1.1500104mm" shape="rect" />
<smtpad portHints={["pin3"]} pcbX="-1.0974388mm" pcbY="1.479931mm" width="0.2999994mm" height="1.1500104mm" shape="rect" />
<smtpad portHints={["pin4"]} pcbX="-0.5975668mm" pcbY="1.479931mm" width="0.2999994mm" height="1.1500104mm" shape="rect" />
<smtpad portHints={["pin5"]} pcbX="2.9025532mm" pcbY="1.479931mm" width="0.2999994mm" height="1.1500104mm" shape="rect" />
<smtpad portHints={["pin6"]} pcbX="0.4024312mm" pcbY="1.479931mm" width="0.2999994mm" height="1.1500104mm" shape="rect" />
<smtpad portHints={["pin7"]} pcbX="0.9025572mm" pcbY="1.479931mm" width="0.2999994mm" height="1.1500104mm" shape="rect" />
<smtpad portHints={["pin8"]} pcbX="1.4024292mm" pcbY="1.479931mm" width="0.2999994mm" height="1.1500104mm" shape="rect" />
<smtpad portHints={["pin9"]} pcbX="-2.5973088mm" pcbY="-1.479931mm" width="0.2999994mm" height="1.1500104mm" shape="rect" />
<smtpad portHints={["pin10"]} pcbX="-0.0974408mm" pcbY="-1.479931mm" width="0.2999994mm" height="1.1500104mm" shape="rect" />
<smtpad portHints={["pin11"]} pcbX="-1.0974388mm" pcbY="-1.479931mm" width="0.2999994mm" height="1.1500104mm" shape="rect" />
<smtpad portHints={["pin12"]} pcbX="-0.5975668mm" pcbY="-1.479931mm" width="0.2999994mm" height="1.1500104mm" shape="rect" />
<smtpad portHints={["pin13"]} pcbX="2.9025532mm" pcbY="-1.479931mm" width="0.2999994mm" height="1.1500104mm" shape="rect" />
<smtpad portHints={["pin14"]} pcbX="0.4024312mm" pcbY="-1.479931mm" width="0.2999994mm" height="1.1500104mm" shape="rect" />
<smtpad portHints={["pin15"]} pcbX="0.9025572mm" pcbY="-1.479931mm" width="0.2999994mm" height="1.1500104mm" shape="rect" />
<smtpad portHints={["pin16"]} pcbX="1.4024292mm" pcbY="-1.479931mm" width="0.2999994mm" height="1.1500104mm" shape="rect" />
<silkscreenpath route={[{"x":-4.317498399999977,"y":0.7295895999998265},{"x":-4.317498399999977,"y":-0.7293356000001268}]} />
<silkscreenpath route={[{"x":1.7835816000001614,"y":-1.5798800000001165},{"x":2.521426200000178,"y":-1.5798800000001165}]} />
<silkscreenpath route={[{"x":-2.216156399999818,"y":-1.5798800000001165},{"x":-1.4785657999999557,"y":-1.5798800000001165}]} />
<silkscreenpath route={[{"x":4.632496400000036,"y":0.7346187999999074},{"x":4.632496400000036,"y":-0.734364800000094}]} />
<silkscreenpath route={[{"x":1.7835816000001614,"y":1.58013399999993},{"x":2.521426200000178,"y":1.58013399999993}]} />
<silkscreenpath route={[{"x":-2.2164103999999725,"y":1.58013399999993},{"x":-1.4785657999999557,"y":1.58013399999993}]} />
<silkscreentext text="{NAME}" pcbX="0.2238692mm" pcbY="3.046351mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-4.712430799999879,"y":2.2963509999999587},{"x":5.160169200000041,"y":2.2963509999999587},{"x":5.160169200000041,"y":-2.318448999999987},{"x":-4.712430799999879,"y":-2.318448999999987},{"x":-4.712430799999879,"y":2.2963509999999587}]} />
      </footprint>}
      cadModel={{
        objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C5815189.obj?uuid=f47e4721f0d7407a8fcc39dd7f361d09",
        stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C5815189.step?uuid=f47e4721f0d7407a8fcc39dd7f361d09",
        pcbRotationOffset: 0,
        modelOriginPosition: { x: -0.15501140000004598, y: 3.4270054999999795, z: -4.5927207999999995 },
      }}
      {...props}
    />
  )
}