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

import type { ChipProps } from "@tscircuit/props";
const pinLabels = {
    pin1: ["VHV"],
    pin2: ["CFG2_SCL"],
    pin3: ["CFG3_SDA"],
    pin4: ["DP"],
    pin5: ["DM"],
    pin6: ["CC2"],
    pin7: ["CC1"],
    pin8: ["VBUS"],
    pin9: ["CFG1"],
    pin10: ["PG"],
    pin11: ["EP"]
} as const;
export const CH224Q = (props: ChipProps<typeof pinLabels>) => {
    return (<chip schMarginX={0.35} schMarginY={0.7} pinLabels={pinLabels} supplierPartNumbers={{
            "jlcpcb": [
                "C46061833"
            ]
        }} manufacturerPartNumber="CH224Q" footprint={<footprint>
        <smtpad portHints={["pin1"]} pcbX="-0.7999984mm" pcbY="-0.9275064mm" width="0.2240026mm" height="0.5050028mm" shape="rect"/>
        <smtpad portHints={["pin2"]} pcbX="-0.3999992mm" pcbY="-0.9275064mm" width="0.2240026mm" height="0.5050028mm" shape="rect"/>
        <smtpad portHints={["pin3"]} pcbX="0mm" pcbY="-0.9275064mm" width="0.2240026mm" height="0.5050028mm" shape="rect"/>
        <smtpad portHints={["pin4"]} pcbX="0.3999992mm" pcbY="-0.9275064mm" width="0.2240026mm" height="0.5050028mm" shape="rect"/>
        <smtpad portHints={["pin5"]} pcbX="0.7999984mm" pcbY="-0.9275064mm" width="0.2240026mm" height="0.5050028mm" shape="rect"/>
        <smtpad portHints={["pin6"]} pcbX="0.7999984mm" pcbY="0.9275064mm" width="0.2240026mm" height="0.5050028mm" shape="rect"/>
        <smtpad portHints={["pin7"]} pcbX="0.3999992mm" pcbY="0.9275064mm" width="0.2240026mm" height="0.5050028mm" shape="rect"/>
        <smtpad portHints={["pin8"]} pcbX="0mm" pcbY="0.9275064mm" width="0.2240026mm" height="0.5050028mm" shape="rect"/>
        <smtpad portHints={["pin9"]} pcbX="-0.3999992mm" pcbY="0.9275064mm" width="0.2240026mm" height="0.5050028mm" shape="rect"/>
        <smtpad portHints={["pin10"]} pcbX="-0.7999984mm" pcbY="0.9275064mm" width="0.2240026mm" height="0.5050028mm" shape="rect"/>
        <smtpad portHints={["pin11"]} pcbX="0mm" pcbY="0mm" width="1.3999972mm" height="0.8999982mm" shape="rect"/>
        <silkscreenpath route={[{ "x": -1.0761979999999767, "y": -1.0761979999999767 }, { "x": -1.0761979999999767, "y": 1.0761980000000904 }]}/>
        <silkscreenpath route={[{ "x": 1.0761979999999767, "y": -1.0761979999999767 }, { "x": 1.0761979999999767, "y": 1.0761980000000904 }]}/>
        <silkscreencircle pcbX="-0.7999984mm" pcbY="-1.4800072mm" radius="0.0750062mm"/>
        <silkscreentext text="{NAME}" pcbX="-0.0889mm" pcbY="2.1938mm" anchorAlignment="center" fontSize="1mm"/>
        <courtyardoutline outline={[{ "x": -1.570799999999963, "y": 1.4438000000000102 }, { "x": 1.3929999999999154, "y": 1.4438000000000102 }, { "x": 1.3929999999999154, "y": -1.5961999999999534 }, { "x": -1.570799999999963, "y": -1.5961999999999534 }, { "x": -1.570799999999963, "y": 1.4438000000000102 }]}/>
      </footprint>} cadModel={{
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C46061833.obj?uuid=72ad3e42af6e43b3be1d6cae4e699053",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C46061833.step?uuid=72ad3e42af6e43b3be1d6cae4e699053",
            pcbRotationOffset: 0,
            modelOriginPosition: { x: 0, y: -0.000012700000070253736, z: 0 },
        }} {...props}/>);
};