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

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

export const MMBT5551LT1G = (props: Omit<TransistorProps, "type">) => {
  const { name = "Q1", ...restProps } = props
  return (
    <transistor
      name={name}
      type="npn"
      symbol={
        <symbol>
          <schematictext text={name} schX={0} schY={0.7} fontSize={0.22} color="#006464" anchor="bottom_center" />
          <port name="pin3" pinNumber={3} aliases={["C", "collector"]} direction="up" schX={0.635} schY={1.27} schStemLength={0.635} />
          <port name="pin1" pinNumber={1} aliases={["B", "base"]} direction="left" schX={-0.635} schY={0} schStemLength={0.635} />
          <port name="pin2" pinNumber={2} aliases={["E", "emitter"]} direction="down" schX={0.635} schY={-1.27} schStemLength={0.635} />
          <schematicpath points={[{ x: 0.635, y: 0.635 }, { x: 0, y: 0.1905 }]} strokeWidth={0.035} strokeColor="#880000" />
          <schematicpath points={[{ x: 0, y: -0.1905 }, { x: 0.635, y: -0.635 }]} strokeWidth={0.035} strokeColor="#880000" />
          <schematicpath points={[{ x: 0, y: 0.5715 }, { x: 0, y: -0.5715 }]} strokeWidth={0.035} strokeColor="#880000" />
          <schematicpath points={[{ x: 0.635, y: -0.635 }, { x: 0.4445, y: -0.3175 }, { x: 0.254, y: -0.5715 }, { x: 0.635, y: -0.635 }]} strokeWidth={0.035} strokeColor="#880000" isFilled fillColor="#880000" />
        </symbol>
      }
      supplierPartNumbers={{
  "jlcpcb": [
    "C41095"
  ]
}}
      manufacturerPartNumber="MMBT5551LT1G"
      footprint={<footprint>
        <smtpad portHints={["pin1"]} pcbX="0.999998mm" pcbY="-0.94996mm" width="1.2500102mm" height="0.6999986mm" shape="rect" />
<smtpad portHints={["pin2"]} pcbX="0.999998mm" pcbY="0.94996mm" width="1.2500102mm" height="0.6999986mm" shape="rect" />
<smtpad portHints={["pin3"]} pcbX="-0.999998mm" pcbY="0mm" width="1.2500102mm" height="0.6999986mm" shape="rect" />
<fabricationnotepath route={[{"x":0.726211400000011,"y":1.5262098000000606},{"x":-0.726211400000011,"y":1.5262098000000606},{"x":-0.726211400000011,"y":0.49458879999997407}]} />
<fabricationnotepath route={[{"x":0.726211400000011,"y":-1.5262097999999469},{"x":-0.726211400000011,"y":-1.5262097999999469},{"x":-0.726211400000011,"y":-0.49458879999997407}]} />
<fabricationnotepath route={[{"x":0.726211400000011,"y":0.45539659999997184},{"x":0.726211400000011,"y":-0.45539659999985815}]} />
<courtyardoutline outline={[{"x":-1.8750030999998444,"y":1.6999844000000621},{"x":1.8750030999998444,"y":1.6999844000000621},{"x":1.8750030999998444,"y":-1.7000097999999753},{"x":-1.8750030999998444,"y":-1.7000097999999753},{"x":-1.8750030999998444,"y":1.6999844000000621}]} />
      <silkscreentext text="{NAME}" pcbX="0mm" pcbY="2.7mm" anchorAlignment="center" />
      </footprint>}
      cadModel={{
        objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C41095.obj?uuid=d777607a152f4f3aac9bb0d0c14ed6fd",
        stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C41095.step?uuid=d777607a152f4f3aac9bb0d0c14ed6fd",
        pcbRotationOffset: 180,
        modelOriginPosition: { x: 0.000012700000070253736, y: -0.000012699999956566899, z: 0.050795 },
      }}
      {...restProps}
    />
  )
}