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

// Shared GCT land pattern retained. Generic family CAD has 0.95 mm stakes; the selected
// -060 part has 0.60 mm stakes. This conservative visual envelope is not a fit approval.
import type { ChipProps } from "@tscircuit/props"

const pinLabels = {
  pin1: ["EH1"],
  pin2: ["EH2"],
  pin3: ["EH3"],
  pin4: ["EH4"],
  pin5: ["GND1","A12"],
  pin6: ["GND2","B1"],
  pin7: ["VBUS","VBUS1","A9"],
  pin8: ["VBUS2","B4"],
  pin9: ["CC2","B5"],
  pin10: ["SBU1","A8"],
  pin11: ["DP2","B6"],
  pin12: ["DM","DN1","A7"],
  pin13: ["DP","DP1","A6"],
  pin14: ["DN2","B7"],
  pin15: ["CC1","A5"],
  pin16: ["SBU2","B8"],
  pin17: ["VBUS3","B9"],
  pin18: ["VBUS4","A4"],
  pin19: ["GND3","B12"],
  pin20: ["GND4","A1"]
} as const

export const USB4105_GF_A = (props: ChipProps<typeof pinLabels>) => {
  const { name = "J1", ...restProps } = props
  return (
    <connector
      name={name}
      standard="usb_c"
      pinLabels={pinLabels}
      
      supplierPartNumbers={{
  "jlcpcb": [
    "C3025063"
  ]
}}
      manufacturerPartNumber="USB4105-GF-A-060"
      footprint={<footprint insertionDirection="from_bottom">
        <hole pcbX="2.890012mm" pcbY="1.0646474mm" diameter="0.649986mm" />
<hole pcbX="-2.890012mm" pcbY="1.0646474mm" diameter="0.649986mm" />
<platedhole  portHints={["pin1"]} pcbX="-4.320032mm" pcbY="1.5444534mm" holeWidth="0.700024mm" holeHeight="1.6999966mm" outerWidth="1.0999978mm" outerHeight="2.0999958mm" shape="pill" />
<platedhole  portHints={["pin2"]} pcbX="4.320032mm" pcbY="1.5444534mm" holeWidth="0.700024mm" holeHeight="1.6999966mm" outerWidth="1.0999978mm" outerHeight="2.0999958mm" shape="pill" />
<platedhole  portHints={["pin3"]} pcbX="4.320032mm" pcbY="-2.6356246mm" holeWidth="0.700024mm" holeHeight="1.3999972mm" outerWidth="1.0999978mm" outerHeight="1.7999964mm" shape="pill" />
<platedhole  portHints={["pin4"]} pcbX="-4.320032mm" pcbY="-2.6356246mm" holeWidth="0.700024mm" holeHeight="1.3999972mm" outerWidth="1.0999978mm" outerHeight="1.7999964mm" shape="pill" />
<smtpad portHints={["pin5"]} pcbX="3.350006mm" pcbY="2.1096034mm" width="0.2999994mm" height="1.1500104mm" shape="rect" />
<smtpad portHints={["pin6"]} pcbX="3.050032mm" pcbY="2.1096034mm" width="0.2999994mm" height="1.1500104mm" shape="rect" />
<smtpad portHints={["pin7"]} pcbX="2.549906mm" pcbY="2.1098574mm" width="0.2999994mm" height="1.1500104mm" shape="rect" />
<smtpad portHints={["pin8"]} pcbX="2.249932mm" pcbY="2.1098574mm" width="0.2999994mm" height="1.1500104mm" shape="rect" />
<smtpad portHints={["pin9"]} pcbX="1.75006mm" pcbY="2.1096034mm" width="0.2999994mm" height="1.1500104mm" shape="rect" />
<smtpad portHints={["pin10"]} pcbX="1.24968mm" pcbY="2.1106194mm" width="0.2999994mm" height="1.1500104mm" shape="rect" />
<smtpad portHints={["pin11"]} pcbX="0.750062mm" pcbY="2.1096034mm" width="0.2999994mm" height="1.1500104mm" shape="rect" />
<smtpad portHints={["pin12"]} pcbX="0.249936mm" pcbY="2.1096034mm" width="0.2999994mm" height="1.1500104mm" shape="rect" />
<smtpad portHints={["pin13"]} pcbX="-0.249936mm" pcbY="2.1096034mm" width="0.2999994mm" height="1.1500104mm" shape="rect" />
<smtpad portHints={["pin14"]} pcbX="-0.750062mm" pcbY="2.1096034mm" width="0.2999994mm" height="1.1500104mm" shape="rect" />
<smtpad portHints={["pin15"]} pcbX="-1.249934mm" pcbY="2.1096034mm" width="0.2999994mm" height="1.1500104mm" shape="rect" />
<smtpad portHints={["pin16"]} pcbX="-1.75006mm" pcbY="2.1106194mm" width="0.2999994mm" height="1.1500104mm" shape="rect" />
<smtpad portHints={["pin17"]} pcbX="-2.249932mm" pcbY="2.1096034mm" width="0.2999994mm" height="1.1500104mm" shape="rect" />
<smtpad portHints={["pin18"]} pcbX="-2.549906mm" pcbY="2.1096034mm" width="0.2999994mm" height="1.1500104mm" shape="rect" />
<smtpad portHints={["pin19"]} pcbX="-3.050032mm" pcbY="2.1096034mm" width="0.2999994mm" height="1.1500104mm" shape="rect" />
<smtpad portHints={["pin20"]} pcbX="-3.350006mm" pcbY="2.1096034mm" width="0.2999994mm" height="1.1500104mm" shape="rect" />
<fabricationnotepath route={[{"x":4.4699935999999525,"y":-1.5190659999998388},{"x":4.4699935999999525,"y":0.2778824000001805}]} />
<fabricationnotepath route={[{"x":-4.469993600000066,"y":-3.7522085999999035},{"x":-4.469993600000066,"y":-5.254948799999966},{"x":4.4699935999999525,"y":-5.254948799999966},{"x":4.4699935999999525,"y":-3.7522085999999035}]} />
<fabricationnotepath route={[{"x":-4.469993600000066,"y":0.2778824000001805},{"x":-4.469993600000066,"y":-1.5190659999998388}]} />
<courtyardoutline outline={[{"x":-5.120030900000074,"y":2.935624599999983},{"x":5.120030900000074,"y":2.935624599999983},{"x":5.120030900000074,"y":-5.437511799999925},{"x":-5.120030900000074,"y":-5.437511799999925},{"x":-5.120030900000074,"y":2.935624599999983}]} />
      <silkscreentext text="{NAME}" pcbX="0mm" pcbY="3.94mm" anchorAlignment="center" />
      </footprint>}
      cadModel={{
        objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C3020560.obj?uuid=b568c80088e44e7787ac98e18b16aaa3",
        stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C3020560.step?uuid=b568c80088e44e7787ac98e18b16aaa3",
        pcbRotationOffset: 0,
        modelOriginPosition: { x: 0, y: 1.075092000000494, z: -0.0000020000000000575113 },
      }}
      {...restProps}
    />
  )
}