imrishabh18/nema-23-stepper-controller
A 57 mm four-layer RP2040 NEMA23 stepper-controller PCB with USB‑C/USB‑PD power input, protected motor rail, DRV8452 dual-winding driver, bidirectional current sensing, temperature/enable interlock, optional magnetic encoder, RGB LED and buzzer status indicators, and motor/test connectors.
- Version
- 1.2.3
- License
- unset
- Stars
- 0
imports/B4B_XH_A_LF__SN_.tsx
import type { CircuitJson } from "circuit-json";
import B4B_XH_A_LF__SN_Symbol from "./symbols/B4B_XH_A_LF__SN_.json";
import type { ChipProps } from "@tscircuit/props";
const pinLabels = {
pin1: ["pin1"],
pin2: ["pin2"],
pin3: ["pin3"],
pin4: ["pin4"]
} as const;
export const B4B_XH_A_LF__SN_ = (props: ChipProps<typeof pinLabels>) => {
return (<connector symbol={B4B_XH_A_LF__SN_Symbol as CircuitJson} schMarginX={0.35} schMarginY={0.7} pinLabels={pinLabels} supplierPartNumbers={{
"jlcpcb": [
"C144395"
]
}} manufacturerPartNumber="B4B-XH-A(LF)(SN)" footprint={<footprint>
<platedhole portHints={["pin1"]} pcbX="3.750056mm" pcbY="0mm" outerDiameter="1.6999966mm" holeDiameter="0.999998mm" shape="circle"/>
<platedhole portHints={["pin2"]} pcbX="1.249934mm" pcbY="0mm" outerDiameter="1.6999966mm" holeDiameter="0.999998mm" shape="circle"/>
<platedhole portHints={["pin3"]} pcbX="-1.249934mm" pcbY="0mm" outerDiameter="1.6999966mm" holeDiameter="0.999998mm" shape="circle"/>
<platedhole portHints={["pin4"]} pcbX="-3.750056mm" pcbY="0mm" outerDiameter="1.6999966mm" holeDiameter="0.999998mm" shape="circle"/>
<silkscreenpath route={[{ "x": -6.223000000000184, "y": -2.158999999999878 }, { "x": -6.223000000000184, "y": -2.413000000000011 }, { "x": -4.9529999999999745, "y": -2.413000000000011 }]}/>
<silkscreenpath route={[{ "x": 6.222999999999956, "y": 3.4289999999999736 }, { "x": 6.222999999999956, "y": -1.0159999999999627 }]}/>
<silkscreenpath route={[{ "x": 4.698999999999955, "y": -2.413000000000011 }, { "x": 6.222999999999956, "y": -2.413000000000011 }, { "x": 6.222999999999956, "y": -2.158999999999878 }]}/>
<silkscreenpath route={[{ "x": -2.7940000000000964, "y": -2.413000000000011 }, { "x": 2.53999999999985, "y": -2.413000000000011 }]}/>
<silkscreenpath route={[{ "x": 6.222999999999956, "y": 3.4289999999999736 }, { "x": -6.223000000000184, "y": 3.4289999999999736 }, { "x": -6.223000000000184, "y": -1.0159999999999627 }]}/>
<silkscreentext text="{NAME}" pcbX="0mm" pcbY="4.556mm" anchorAlignment="center" fontSize="1mm"/>
<fabricationnotepath route={[{ "x": 2.6669999999999163, "y": -2.5399999999999636 }, { "x": 2.6669999999999163, "y": -2.2859999999999445 }, { "x": -2.921000000000049, "y": -2.2859999999999445 }, { "x": -2.921000000000049, "y": -2.5399999999999636 }, { "x": 2.6669999999999163, "y": -2.5399999999999636 }]} strokeWidth="0.254mm"/>
<fabricationnotepath route={[{ "x": 4.571999999999889, "y": -2.5399999999999636 }, { "x": 6.349999999999909, "y": -2.5399999999999636 }, { "x": 6.349999999999909, "y": -2.0319999999999254 }, { "x": 6.09599999999989, "y": -2.0319999999999254 }, { "x": 6.09599999999989, "y": -2.2859999999999445 }, { "x": 4.571999999999889, "y": -2.2859999999999445 }, { "x": 4.571999999999889, "y": -2.5399999999999636 }]} strokeWidth="0.254mm"/>
<fabricationnotepath route={[{ "x": -4.826000000000022, "y": -2.5399999999999636 }, { "x": -6.350000000000023, "y": -2.5399999999999636 }, { "x": -6.350000000000023, "y": -2.0319999999999254 }, { "x": -6.096000000000004, "y": -2.0319999999999254 }, { "x": -6.096000000000004, "y": -2.2859999999999445 }, { "x": -4.826000000000022, "y": -2.2859999999999445 }, { "x": -4.826000000000022, "y": -2.5399999999999636 }]} strokeWidth="0.254mm"/>
<fabricationnotepath route={[{ "x": -6.096000000000004, "y": -1.1429999999999154 }, { "x": -6.096000000000004, "y": 3.302000000000021 }, { "x": 6.09599999999989, "y": 3.302000000000021 }, { "x": 6.09599999999989, "y": -1.1429999999999154 }, { "x": 6.349999999999909, "y": -1.1429999999999154 }, { "x": 6.349999999999909, "y": 3.55600000000004 }, { "x": -6.350000000000023, "y": 3.55600000000004 }, { "x": -6.350000000000023, "y": -1.1429999999999154 }, { "x": -6.096000000000004, "y": -1.1429999999999154 }]} strokeWidth="0.254mm"/>
<courtyardoutline outline={[{ "x": -6.600000000000136, "y": 3.80600000000004 }, { "x": 6.599999999999909, "y": 3.80600000000004 }, { "x": 6.599999999999909, "y": -2.7899999999999636 }, { "x": -6.600000000000136, "y": -2.7899999999999636 }, { "x": -6.600000000000136, "y": 3.80600000000004 }]}/>
</footprint>} cadModel={{
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C144395.obj?uuid=3dc2be3da48b4d969f321a0c2c608d12",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C144395.step?uuid=3dc2be3da48b4d969f321a0c2c608d12",
pcbRotationOffset: 180,
modelOriginPosition: { x: 3.7499872999999297, y: 2.700499100000014, z: -1.800005 },
}} {...props}/>);
};