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

import type { CircuitJson } from "circuit-json";
import LTST_C19HE1WTSymbol from "./symbols/LTST_C19HE1WT.json";
import { Fragment } from "react";
import { symbols, type SchSymbol } from "schematic-symbols";
import type { ChipProps } from "@tscircuit/props";
// This pinned symbols release includes led_right at runtime but declares it undefined.
const ledSymbol = symbols.led_right as unknown as SchSymbol;
if (!ledSymbol)
    throw new Error("Missing led_right schematic primitive");
const pinLabels = {
    pin1: ["R_NEG"],
    pin2: ["G_NEG"],
    pin3: ["B_NEG"],
    pin4: ["_POS"]
} as const;
export const LTST_C19HE1WT = (props: ChipProps<typeof pinLabels>) => {
    return (<chip schMarginX={0.35} schMarginY={0.7} symbol={LTST_C19HE1WTSymbol as CircuitJson} pinLabels={pinLabels} supplierPartNumbers={{
            "jlcpcb": [
                "C458749"
            ]
        }} manufacturerPartNumber="LTST-C19HE1WT" footprint={<footprint>
        <smtpad portHints={["pin4"]} pcbX="-0.450088mm" pcbY="-0.833501mm" width="0.5500116mm" height="0.9169908mm" radius="0.2750058mm" shape="pill"/>
        <smtpad portHints={["pin3"]} pcbX="0.450088mm" pcbY="-0.833501mm" width="0.5500116mm" height="0.9169908mm" radius="0.2750058mm" shape="pill"/>
        <smtpad portHints={["pin2"]} pcbX="0.450088mm" pcbY="0.833501mm" width="0.5500116mm" height="0.9169908mm" radius="0.2750058mm" shape="pill"/>
        <smtpad portHints={["pin1"]} pcbX="-0.450088mm" pcbY="0.833501mm" width="0.5500116mm" height="0.9169908mm" radius="0.2750058mm" shape="pill"/>
        <silkscreenpath route={[{ "x": -0.8761984000000211, "y": -0.876071399999887 }, { "x": -0.8761984000000211, "y": 0.8763254000000416 }]}/>
        <silkscreenpath route={[{ "x": 0.8761984000000211, "y": -0.876071399999887 }, { "x": 0.8761984000000211, "y": 0.8763254000000416 }]}/>
        <silkscreencircle pcbX="-0.508mm" pcbY="1.524127mm" radius="0.124968mm"/>
        <silkscreentext text="{NAME}" pcbX="0.0127mm" pcbY="2.651127mm" anchorAlignment="center" fontSize="0.55mm"/>
        {/* 1.6 mm LED body and 1.45 x 2.584 mm land pattern, with >=0.25 mm courtyard margin. */}
        <courtyardrect width={2.45} height={3.1}/>
      </footprint>} cadModel={{
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C458749.obj?uuid=32e1f1a4424a41c9860f9a94e64c798e",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C458749.step?uuid=32e1f1a4424a41c9860f9a94e64c798e",
            pcbRotationOffset: 0,
            modelOriginPosition: { x: 0, y: 0, z: -0.11 },
        }} {...props}/>);
};