imrishabh18/nema-23-stepper-controller

A curved NEMA23 rear-mount PCB combining an RP2040 controller, USB-C/USB-PD power input and protection, DRV8452 dual-winding stepper driver, current sensing, thermal interlock, status RGB LED, buzzer, and optional I²C encoder interface.

Version
1.3.3
License
unset
Stars
1

engineering/easyeda/C2864391.imported.tsx

import type { ChipProps } from "@tscircuit/props"

const pinLabels = {
  pin1: ["IN1"],
  pin2: ["IN2"],
  pin3: ["B_GATE"],
  pin4: ["DRV"],
  pin5: ["IN_SYS"],
  pin6: ["UVLO"],
  pin7: ["OVP"],
  pin8: ["GND"],
  pin9: ["dVdT"],
  pin10: ["ILIM"],
  pin11: ["MODE"],
  pin12: ["N_SHDN"],
  pin13: ["IMON"],
  pin14: ["N_FLT"],
  pin15: ["PGTH"],
  pin16: ["PGOOD"],
  pin17: ["OUT1"],
  pin18: ["OUT2"],
  pin19: ["N_C_1"],
  pin20: ["N_C_2"],
  pin21: ["N_C_3"],
  pin22: ["N_C_4"],
  pin23: ["N_C_5"],
  pin24: ["N_C_6"],
  pin25: ["EP"]
} as const

const pinAttributes = {
  pin8: {requiresGround: true}
} as const

export const TPS26630RGET = (props: ChipProps<typeof pinLabels>) => {
  return (
    <chip
      pinLabels={pinLabels}
      pinAttributes={pinAttributes}
      supplierPartNumbers={{
  "jlcpcb": [
    "C2864391"
  ]
}}
      manufacturerPartNumber="TPS26630RGET"
      footprint={<footprint>
        <smtpad portHints={["pin1"]} pcbX="-1.249934mm" pcbY="-1.999996mm" width="0.2800096mm" height="0.7999984mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin2"]} pcbX="-0.750062mm" pcbY="-1.999996mm" width="0.2800096mm" height="0.7999984mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin3"]} pcbX="-0.249936mm" pcbY="-1.999996mm" width="0.2800096mm" height="0.7999984mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin4"]} pcbX="0.249936mm" pcbY="-1.999996mm" width="0.2800096mm" height="0.7999984mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin5"]} pcbX="0.750062mm" pcbY="-1.999996mm" width="0.2800096mm" height="0.7999984mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin6"]} pcbX="1.249934mm" pcbY="-1.999996mm" width="0.2800096mm" height="0.7999984mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin7"]} pcbX="1.999996mm" pcbY="-1.249934mm" width="0.7999984mm" height="0.2800096mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin8"]} pcbX="1.999996mm" pcbY="-0.750062mm" width="0.7999984mm" height="0.2800096mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin9"]} pcbX="1.999996mm" pcbY="-0.249936mm" width="0.7999984mm" height="0.2800096mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin10"]} pcbX="1.999996mm" pcbY="0.249936mm" width="0.7999984mm" height="0.2800096mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin11"]} pcbX="1.999996mm" pcbY="0.750062mm" width="0.7999984mm" height="0.2800096mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin12"]} pcbX="1.999996mm" pcbY="1.249934mm" width="0.7999984mm" height="0.2800096mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin13"]} pcbX="1.249934mm" pcbY="1.999996mm" width="0.2800096mm" height="0.7999984mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin14"]} pcbX="0.750062mm" pcbY="1.999996mm" width="0.2800096mm" height="0.7999984mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin15"]} pcbX="0.249936mm" pcbY="1.999996mm" width="0.2800096mm" height="0.7999984mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin16"]} pcbX="-0.249936mm" pcbY="1.999996mm" width="0.2800096mm" height="0.7999984mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin17"]} pcbX="-0.750062mm" pcbY="1.999996mm" width="0.2800096mm" height="0.7999984mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin18"]} pcbX="-1.24206mm" pcbY="1.999996mm" width="0.2800096mm" height="0.7999984mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin19"]} pcbX="-1.999996mm" pcbY="1.249934mm" width="0.7999984mm" height="0.2800096mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin20"]} pcbX="-1.999996mm" pcbY="0.750062mm" width="0.7999984mm" height="0.2800096mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin21"]} pcbX="-1.999996mm" pcbY="0.249936mm" width="0.7999984mm" height="0.2800096mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin22"]} pcbX="-1.999996mm" pcbY="-0.249936mm" width="0.7999984mm" height="0.2800096mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin23"]} pcbX="-1.999996mm" pcbY="-0.750062mm" width="0.7999984mm" height="0.2800096mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin24"]} pcbX="-1.999996mm" pcbY="-1.249934mm" width="0.7999984mm" height="0.2800096mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin25"]} pcbX="0.012446mm" pcbY="0mm" width="2.6999946mm" height="2.6999946mm" shape="rect" />
<silkscreenpath route={[{"x":2.162530599999968,"y":-1.7500599999998485},{"x":2.162530599999968,"y":-2.150160799999867},{"x":1.7625060000000303,"y":-2.150160799999867}]} />
<silkscreenpath route={[{"x":-1.7376394000000346,"y":-2.150160799999867},{"x":-2.1376132000000325,"y":-2.150160799999867},{"x":-2.1376132000000325,"y":-1.7500599999998485}]} />
<silkscreenpath route={[{"x":-2.1376132000000325,"y":1.7500092000000222},{"x":-2.1376132000000325,"y":2.1501100000000406},{"x":-1.7376394000000346,"y":2.1501100000000406}]} />
<silkscreenpath route={[{"x":2.162530599999968,"y":1.7500092000000222},{"x":2.162530599999968,"y":2.1501100000000406},{"x":1.7625060000000303,"y":2.1501100000000406}]} />
<silkscreentext text="{NAME}" pcbX="-0.000254mm" pcbY="3.394458mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-2.649995200000035,"y":2.649995200000035},{"x":2.649995200000035,"y":2.649995200000035},{"x":2.649995200000035,"y":-2.649995200000035},{"x":-2.649995200000035,"y":-2.649995200000035},{"x":-2.649995200000035,"y":2.649995200000035}]} />
      </footprint>}
      cadModel={{
        objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2864391.obj?uuid=78358972877945cb927aaf48cb6c1c63",
        stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2864391.step?uuid=78358972877945cb927aaf48cb6c1c63",
        pcbRotationOffset: 0,
        modelOriginPosition: { x: 0, y: 0, z: 0 },
      }}
      {...props}
    />
  )
}