ShiboSoftwareDev/nema8-20mm-dual-usbc-stepper-controller
A compact PCB component set comprising a pushbutton, logic buffer, Schottky diodes, USB connector, resettable fuse, microcontroller, voltage regulator, and polarized capacitors.
- Version
- 1.0.35
- License
- unset
- Stars
- 0
imports/RAC104D102JCTH.tsx
import type { ChipProps } from "@tscircuit/props"
const pinLabels = {
pin1: ["R1_1"],
pin2: ["R2_1"],
pin3: ["R3_1"],
pin4: ["R4_1"],
pin5: ["R4_2"],
pin6: ["R3_2"],
pin7: ["R2_2"],
pin8: ["R1_2"]
} as const
export const RAC104D102JCTH = (props: ChipProps<typeof pinLabels>) => {
return (
<chip
pinLabels={pinLabels}
symbol={
<symbol>
<schematicpath points={[{"x":-0.5,"y":0.19},{"x":0.3,"y":0.19},{"x":0.3,"y":-0.19},{"x":-0.5,"y":-0.19},{"x":-0.5,"y":0.19}]} strokeWidth={0.02} strokeColor="#840000" isFilled fillColor="#FFFFC2" />
<port name="pin1" pinNumber={1} aliases={["R1_1"]} direction="down" schX={-0.4} schY={-0.4} schStemLength={0.2} />
<port name="pin2" pinNumber={2} aliases={["R2_1"]} direction="down" schX={-0.2} schY={-0.4} schStemLength={0.2} />
<port name="pin3" pinNumber={3} aliases={["R3_1"]} direction="down" schX={0} schY={-0.4} schStemLength={0.2} />
<port name="pin4" pinNumber={4} aliases={["R4_1"]} direction="down" schX={0.2} schY={-0.4} schStemLength={0.2} />
<port name="pin5" pinNumber={5} aliases={["R4_2"]} direction="up" schX={0.2} schY={0.4} schStemLength={0.2} />
<port name="pin6" pinNumber={6} aliases={["R3_2"]} direction="up" schX={0} schY={0.4} schStemLength={0.2} />
<port name="pin7" pinNumber={7} aliases={["R2_2"]} direction="up" schX={-0.2} schY={0.4} schStemLength={0.2} />
<port name="pin8" pinNumber={8} aliases={["R1_2"]} direction="up" schX={-0.4} schY={0.4} schStemLength={0.2} />
<schematicrect schX={-0.4} schY={0} width={0.1} height={0.3} strokeWidth={0.02} color="#840000" />
<schematicrect schX={-0.2} schY={0} width={0.1} height={0.3} strokeWidth={0.02} color="#840000" />
<schematicrect schX={0} schY={0} width={0.1} height={0.3} strokeWidth={0.02} color="#840000" />
<schematicrect schX={0.2} schY={0} width={0.1} height={0.3} strokeWidth={0.02} color="#840000" />
<schematicpath points={[{"x":-0.4,"y":-0.2},{"x":-0.4,"y":-0.15}]} strokeColor="#840000" />
<schematicpath points={[{"x":-0.4,"y":0.15},{"x":-0.4,"y":0.2}]} strokeColor="#840000" />
<schematicpath points={[{"x":-0.2,"y":-0.2},{"x":-0.2,"y":-0.15}]} strokeColor="#840000" />
<schematicpath points={[{"x":-0.2,"y":0.15},{"x":-0.2,"y":0.2}]} strokeColor="#840000" />
<schematicpath points={[{"x":0,"y":-0.2},{"x":0,"y":-0.15}]} strokeColor="#840000" />
<schematicpath points={[{"x":0,"y":0.15},{"x":0,"y":0.2}]} strokeColor="#840000" />
<schematicpath points={[{"x":0.2,"y":-0.2},{"x":0.2,"y":-0.15}]} strokeColor="#840000" />
<schematicpath points={[{"x":0.2,"y":0.15},{"x":0.2,"y":0.2}]} strokeColor="#840000" />
<schematictext schX={-0.053} schY={0.62} text="{NAME}" fontSize={0.2} anchor="bottom_center" />
</symbol>
}
supplierPartNumbers={{
"jlcpcb": [
"C340561"
]
}}
manufacturerPartNumber="RAC104D102JCTH"
footprint={<footprint>
<smtpad portHints={["pin1"]} pcbX="-0.8001mm" pcbY="-0.40005mm" width="0.3999992mm" height="0.5500116mm" shape="rect" />
<smtpad portHints={["pin5"]} pcbX="0.8001mm" pcbY="0.40005mm" width="0.3999992mm" height="0.5500116mm" shape="rect" />
<smtpad portHints={["pin4"]} pcbX="0.8001mm" pcbY="-0.40005mm" width="0.3999992mm" height="0.5500116mm" shape="rect" />
<smtpad portHints={["pin7"]} pcbX="-0.249936mm" pcbY="0.40005mm" width="0.2999994mm" height="0.5500116mm" shape="rect" />
<smtpad portHints={["pin2"]} pcbX="-0.249936mm" pcbY="-0.40005mm" width="0.2999994mm" height="0.5500116mm" shape="rect" />
<smtpad portHints={["pin6"]} pcbX="0.249936mm" pcbY="0.40005mm" width="0.2999994mm" height="0.5500116mm" shape="rect" />
<smtpad portHints={["pin3"]} pcbX="0.249936mm" pcbY="-0.40005mm" width="0.2999994mm" height="0.5500116mm" shape="rect" />
<smtpad portHints={["pin8"]} pcbX="-0.8001mm" pcbY="0.40005mm" width="0.3999992mm" height="0.5500116mm" shape="rect" />
<silkscreenpath route={[{"x":1.2144502000000017,"y":-0.17780000000001905},{"x":1.216990200000005,"y":-0.8538718000000358},{"x":-1.1924283999999972,"y":-0.8394954000000041},{"x":-1.193799999999996,"y":-0.18143220000001747}]} />
<silkscreenpath route={[{"x":1.1941302000000036,"y":0.1534667999999897},{"x":1.2016232000000002,"y":0.863599999999991},{"x":-1.1841479999999933,"y":0.8611362000000042},{"x":-1.188872400000001,"y":0.19552920000000995}]} />
<silkscreentext text="{NAME}" pcbX="0.0127mm" pcbY="1.8636mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-1.3000106000000002,"y":0.9250557999999955},{"x":1.2999852000000018,"y":0.9250557999999955},{"x":1.2999852000000018,"y":-0.925055800000024},{"x":-1.3000106000000002,"y":-0.925055800000024},{"x":-1.3000106000000002,"y":0.9250557999999955}]} />
</footprint>}
cadModel={{
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C340561.obj?uuid=27ee3ad69c2a4d7eb48fa0dc821894e7",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C340561.step?uuid=27ee3ad69c2a4d7eb48fa0dc821894e7",
pcbRotationOffset: 0,
modelOriginPosition: { x: 0.000012699999999199463, y: 0, z: -0.37 },
}}
{...props}
/>
)
}