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

import type { ChipProps } from "tscircuit"

const pinLabels = {
  pin101: ["1"],
  pin102: ["2"],
} as const

export const A_1TS026A_2400_0553_CT = (
  props: ChipProps<typeof pinLabels>,
) => {
  const { name = "SW1", ...restProps } = props
  return (
    <chip
      name={name}
      pinLabels={pinLabels}
      pinAttributes={{ pin101: { isPassive: true }, pin102: { isPassive: true } }}
      symbol={
        <symbol name="{REFDES}">
          <schematictext text="{REF}" schX={0} schY={0.04} anchor="bottom_center" fontSize={0.16} />
          <schematicpath points={[{ x: -0.2, y: 0 }, { x: 0.14, y: 0.1 }]} strokeColor="#880000" />
          <schematiccircle center={{ x: 0.18, y: 0 }} radius={0.02} strokeWidth={0.02} color="#880000" />
          <port name="pin102" pinNumber={102} aliases={["2"]} direction="right" schX={0.6} schY={0} schStemLength={0.4} />
          <port name="pin101" pinNumber={101} aliases={["1"]} direction="left" schX={-0.6} schY={0} schStemLength={0.4} />
        </symbol>
      }
      supplierPartNumbers={{ jlcpcb: ["C913792"] }}
      manufacturerPartNumber="1TS026A-2400-0553-CT"
      footprint={
        <footprint>
          <smtpad portHints={["pin101"]} pcbX="-1.324991mm" pcbY="0.375031mm"
            width="0.5500116mm" height="0.5500116mm" shape="rect" />
          <smtpad portHints={["pin102"]} pcbX="1.324991mm" pcbY="0.375031mm"
            width="0.5500116mm" height="0.5500116mm" shape="rect" />
          <smtpad pcbX="-1.324991mm" pcbY="-0.375031mm"
            width="0.5500116mm" height="0.5500116mm" shape="rect" />
          <smtpad pcbX="1.324991mm" pcbY="-0.375031mm"
            width="0.5500116mm" height="0.5500116mm" shape="rect" />
          <silkscreenpath route={[
            { x: -0.8749284, y: 0.8000492 }, { x: 0.8749538, y: 0.8000492 },
          ]} />
          <silkscreenpath route={[
            { x: -0.8749284, y: -0.7999476 }, { x: 0.8749538, y: -0.7999476 },
          ]} />
          <silkscreencircle pcbX="0.000127mm" pcbY="0.000127mm" radius="0.381mm" />
          <silkscreentext text="{NAME}" pcbX="0.004191mm" pcbY="1.832231mm"
            anchorAlignment="center" fontSize="1mm" />
          <courtyardoutline outline={[
            { x: -1.8499968, y: 1.0499984 }, { x: 1.8499968, y: 1.0499984 },
            { x: 1.8499968, y: -1.0499984 }, { x: -1.8499968, y: -1.0499984 },
            { x: -1.8499968, y: 1.0499984 },
          ]} />
        </footprint>
      }
      cadModel={{
        objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C913792.obj?uuid=df61dab2ec6b48a78c606e3739a9ccb7",
        stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C913792.step?uuid=df61dab2ec6b48a78c606e3739a9ccb7",
        pcbRotationOffset: 0,
        modelOriginPosition: { x: 0, y: 0, z: -0.05 },
      }}
      {...restProps}
    />
  )
}