techmannih/nema34-mounted-stepper-controller

A 48 V USB‑C PD 3.1 EPR NEMA‑34 stepper controller PCB combining STM32/TMC5160 control, external MOSFET motor bridges, protected power and regenerative braking, USB data, telemetry, diagnostics, status LEDs, and buzzer alarms.

Version
0.3.92
License
unset
Stars
1

imports/MAX3232ESE_T.tsx

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

const pinLabels = {
  pin1: ["C1_POS"],
  pin2: ["V_POS"],
  pin3: ["C1_NEG"],
  pin4: ["C2_POS"],
  pin5: ["C2_NEG"],
  pin6: ["V_NEG"],
  pin7: ["T2OUT"],
  pin8: ["R2IN"],
  pin9: ["R2OUT"],
  pin10: ["T2IN"],
  pin11: ["T1IN"],
  pin12: ["R1OUT"],
  pin13: ["R1IN"],
  pin14: ["T1OUT"],
  pin15: ["GND"],
  pin16: ["VCC"]
} as const

const pinAttributes = {
  pin15: {requiresGround: true},
  pin16: {requiresPower: true}
} as const

export const MAX3232ESE_T = (props: ChipProps<typeof pinLabels>) => {
  return (
    <chip
      pinLabels={pinLabels}
      pinAttributes={pinAttributes}
      supplierPartNumbers={{
  "jlcpcb": [
    "C15846"
  ]
}}
      manufacturerPartNumber="MAX3232ESE+T"
      footprint={<footprint>
        <smtpad portHints={["pin1"]} pcbX="-4.445mm" pcbY="-2.73558mm" width="0.6020054mm" height="1.9709892mm" radius="0.3010027mm" shape="pill" />
<smtpad portHints={["pin2"]} pcbX="-3.175mm" pcbY="-2.73558mm" width="0.6020054mm" height="1.9709892mm" radius="0.3010027mm" shape="pill" />
<smtpad portHints={["pin3"]} pcbX="-1.905mm" pcbY="-2.73558mm" width="0.6020054mm" height="1.9709892mm" radius="0.3010027mm" shape="pill" />
<smtpad portHints={["pin4"]} pcbX="-0.635mm" pcbY="-2.73558mm" width="0.6020054mm" height="1.9709892mm" radius="0.3010027mm" shape="pill" />
<smtpad portHints={["pin5"]} pcbX="0.635mm" pcbY="-2.73558mm" width="0.6020054mm" height="1.9709892mm" radius="0.3010027mm" shape="pill" />
<smtpad portHints={["pin6"]} pcbX="1.905mm" pcbY="-2.73558mm" width="0.6020054mm" height="1.9709892mm" radius="0.3010027mm" shape="pill" />
<smtpad portHints={["pin7"]} pcbX="3.175mm" pcbY="-2.73558mm" width="0.6020054mm" height="1.9709892mm" radius="0.3010027mm" shape="pill" />
<smtpad portHints={["pin8"]} pcbX="4.445mm" pcbY="-2.73558mm" width="0.6020054mm" height="1.9709892mm" radius="0.3010027mm" shape="pill" />
<smtpad portHints={["pin16"]} pcbX="-4.445mm" pcbY="2.73558mm" width="0.6020054mm" height="1.9709892mm" radius="0.3010027mm" shape="pill" />
<smtpad portHints={["pin15"]} pcbX="-3.175mm" pcbY="2.73558mm" width="0.6020054mm" height="1.9709892mm" radius="0.3010027mm" shape="pill" />
<smtpad portHints={["pin14"]} pcbX="-1.905mm" pcbY="2.73558mm" width="0.6020054mm" height="1.9709892mm" radius="0.3010027mm" shape="pill" />
<smtpad portHints={["pin13"]} pcbX="-0.635mm" pcbY="2.73558mm" width="0.6020054mm" height="1.9709892mm" radius="0.3010027mm" shape="pill" />
<smtpad portHints={["pin12"]} pcbX="0.635mm" pcbY="2.73558mm" width="0.6020054mm" height="1.9709892mm" radius="0.3010027mm" shape="pill" />
<smtpad portHints={["pin11"]} pcbX="1.905mm" pcbY="2.73558mm" width="0.6020054mm" height="1.9709892mm" radius="0.3010027mm" shape="pill" />
<smtpad portHints={["pin10"]} pcbX="3.175mm" pcbY="2.73558mm" width="0.6020054mm" height="1.9709892mm" radius="0.3010027mm" shape="pill" />
<smtpad portHints={["pin9"]} pcbX="4.445mm" pcbY="2.73558mm" width="0.6020054mm" height="1.9709892mm" radius="0.3010027mm" shape="pill" />
<fabricationnotepath route={[{"x":-5.026202800000078,"y":-1.5214091999999937},{"x":-5.026202800000078,"y":1.5214092000001074},{"x":5.0262027999999646,"y":1.5214092000001074},{"x":5.0262027999999646,"y":-1.5214091999999937},{"x":-5.026202800000078,"y":-1.5214091999999937}]} />
<silkscreencircle pcbX="-4.445mm" pcbY="-0.769112mm" radius="0.150114mm" />
<silkscreencircle pcbX="-5.207mm" pcbY="-2.667mm" radius="0.150114mm" />
<courtyardoutline outline={[{"x":-5.19997740000008,"y":3.9710746000000654},{"x":5.200002799999993,"y":3.9710746000000654},{"x":5.200002799999993,"y":-3.9710746000000654},{"x":-5.19997740000008,"y":-3.9710746000000654},{"x":-5.19997740000008,"y":3.9710746000000654}]} />
      </footprint>}
      cadModel={{
        objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C15846.obj?uuid=9adfdf34b7774b23880141fd3e8b4dbb",
        stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C15846.step?uuid=9adfdf34b7774b23880141fd3e8b4dbb",
        pcbRotationOffset: 0,
        modelOriginPosition: { x: -0.000012699999842880061, y: 0, z: 0.000575 },
      }}
      {...props}
    />
  )
}