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/SMAJ16A.tsx
import type { ChipProps } from "@tscircuit/props"
const pinLabels = {
pin1: ["pin1", "cathode", "neg"],
pin2: ["pin2", "anode", "pos"]
} as const
export const SMAJ16A = (props: ChipProps<typeof pinLabels>) => {
return (
<chip
pinLabels={pinLabels}
symbol={
<symbol>
<schematicpath points={[{"x":-0.14,"y":0.14},{"x":-0.1,"y":0.1},{"x":-0.1,"y":-0.1},{"x":-0.06,"y":-0.14}]} strokeColor="#880000" />
<schematicpath svgPath="M 0.1 0.14 L -0.1 0 L 0.1 -0.14 Z" strokeColor="#880000" isFilled fillColor="#880000" />
<port name="pin1" pinNumber={1} aliases={["1"]} direction="left" schX={-0.3} schY={0} schStemLength={0.2} />
<port name="pin2" pinNumber={2} aliases={["2"]} direction="right" schX={0.3} schY={0} schStemLength={0.2} />
<schematictext schX={0} schY={0.34} text="{NAME}" fontSize={0.2} anchor="bottom_center" />
</symbol>
}
supplierPartNumbers={{
"jlcpcb": [
"C20419815"
]
}}
manufacturerPartNumber="SMAJ16A"
footprint={<footprint>
<smtpad portHints={["pin1"]} pcbX="-2.16916mm" pcbY="0mm" width="2.0463764mm" height="1.620012mm" shape="rect" />
<smtpad portHints={["pin2"]} pcbX="2.16916mm" pcbY="0mm" width="2.0463764mm" height="1.620012mm" shape="rect" />
<silkscreenpath route={[{"x":-0.8745473999998694,"y":1.363726000000156},{"x":-0.8745473999998694,"y":-1.3636751999999888}]} />
<silkscreenpath route={[{"x":-2.7367483999998967,"y":1.363726000000156},{"x":2.665577600000006,"y":1.363726000000156}]} />
<silkscreenpath route={[{"x":-2.7367483999998967,"y":-1.3636751999999888},{"x":2.665577600000006,"y":-1.3636751999999888}]} />
<silkscreenpath route={[{"x":2.665577600000006,"y":1.363726000000156},{"x":2.665577600000006,"y":1.0132313999999951}]} />
<silkscreenpath route={[{"x":2.665577600000006,"y":-1.3636751999999888},{"x":2.665577600000006,"y":-1.0131805999998278}]} />
<silkscreentext text="{NAME}" pcbX="0.00254mm" pcbY="2.4478mm" anchorAlignment="center" fontSize="1mm" />
<fabricationnotepath route={[{"x":2.1066251999999395,"y":-0.6437376000000086},{"x":2.1066251999999395,"y":0.6437376000000086},{"x":1.91350900000009,"y":0.6437376000000086},{"x":1.91350900000009,"y":-0.6437376000000086},{"x":2.1066251999999395,"y":-0.6437376000000086}]} strokeWidth="0mm" isFilled hasStroke={false} />
<fabricationnotepath route={[{"x":2.396312200000125,"y":-0.09657079999999496},{"x":2.396312200000125,"y":0.09657079999999496},{"x":1.623822000000132,"y":0.09657079999999496},{"x":1.623822000000132,"y":-0.09657079999999496},{"x":2.396312200000125,"y":-0.09657079999999496}]} strokeWidth="0mm" isFilled hasStroke={false} />
<fabricationnotepath route={[{"x":-2.467432199999962,"y":-0.09657079999999496},{"x":-2.467432199999962,"y":0.09657079999999496},{"x":-1.694941999999969,"y":0.09657079999999496},{"x":-1.694941999999969,"y":-0.09657079999999496},{"x":-2.467432199999962,"y":-0.09657079999999496}]} strokeWidth="0mm" isFilled hasStroke={false} />
<courtyardoutline outline={[
{ x: -3.2424, y: -0.8601 },
{ x: 3.2424, y: -0.8601 },
{ x: 3.2424, y: 0.8601 },
{ x: -3.2424, y: 0.8601 },
{ x: -3.2424, y: -0.8601 },
]} />
</footprint>}
cadModel={{
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C20419815.obj?uuid=d97f74ae762a4a9ea2346cb246f4c588",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C20419815.step?uuid=d97f74ae762a4a9ea2346cb246f4c588",
pcbRotationOffset: 0,
modelOriginPosition: { x: 0.000012699999956566899, y: -0.000025400000026820635, z: -1.175 },
}}
{...props}
/>
)
}