ShiboSoftwareDev/nema8-20mm-pd-mini-controller

A 20 mm four-layer USB‑C PD 9 V NEMA8 stepper-driver board using CH224K power negotiation/protection and a TMC2209 with current sensing, motor connector, and STEP/DIR/UART control test points.

Version
1.0.2
License
unset
Stars
0

imports/DSHP02TSGER.tsx

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

const pinLabels = {
  pin1: ["pin1"],
  pin2: ["pin2"],
  pin3: ["pin3"],
  pin4: ["pin4"]
} as const

export const DSHP02TSGER = (props: ChipProps<typeof pinLabels>) => {
  return (
    <chip
      pinLabels={pinLabels}
      symbol={
        <symbol>
          <port name="pin1" pinNumber={1} aliases={["1"]} direction="down" schX={-0.2} schY={-0.6} schStemLength={0.2} />
          <port name="pin2" pinNumber={2} aliases={["2"]} direction="down" schX={0} schY={-0.6} schStemLength={0.2} />
          <schematicpath points={[{"x":0,"y":0.2},{"x":-0.08,"y":-0.02}]} strokeColor="#880000" />
          <schematicpath points={[{"x":-0.2,"y":0.2},{"x":-0.28,"y":-0.02}]} strokeColor="#880000" />
          <schematicpath points={[{"x":0,"y":-0.2},{"x":0,"y":0}]} strokeColor="#880000" />
          <schematicpath points={[{"x":-0.2,"y":-0.2},{"x":-0.2,"y":0}]} strokeColor="#880000" />
          <schematicpath points={[{"x":0,"y":-0.2},{"x":0,"y":-0.4}]} strokeColor="#880000" />
          <schematicpath points={[{"x":-0.2,"y":-0.2},{"x":-0.2,"y":-0.4}]} strokeColor="#880000" />
          <schematicpath points={[{"x":0,"y":0.4},{"x":0,"y":0.2}]} strokeColor="#880000" />
          <schematicpath points={[{"x":-0.2,"y":0.4},{"x":-0.2,"y":0.2}]} strokeColor="#880000" />
          <schematicrect schX={-0.1} schY={0} width={0.6} height={0.8} strokeWidth={0.02} color="#880000" />
          <port name="pin3" pinNumber={3} aliases={["3"]} direction="up" schX={0} schY={0.6} schStemLength={0.2} />
          <port name="pin4" pinNumber={4} aliases={["4"]} direction="up" schX={-0.2} schY={0.6} schStemLength={0.2} />
        </symbol>
      }
      supplierPartNumbers={{
  "jlcpcb": [
    "C3293142"
  ]
}}
      manufacturerPartNumber="DSHP02TSGER"
      footprint="soic4_w9.14mm_pw0.76mm_pl1.52mm_pin1location(leftside,bottom)"
      cadModel={{
        objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C3293142.obj?uuid=921bef200170404098bbdbc133690c4f",
        stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C3293142.step?uuid=921bef200170404098bbdbc133690c4f",
        pcbRotationOffset: 180,
        modelOriginPosition: { x: -0.6299962000000596, y: 0, z: 0 },
      }}
      {...props}
    />
  )
}