imrishabh18/rp2040-motor-controller

An RP2040-based NEMA17 stepper-motor controller with USB-C programming and PD motor-power negotiation, DRV8825 dual H-bridge drive, current/temperature telemetry, protected power filtering, status RGB LED, buzzer alarm, and optional magnetic encoder.

Version
1.0.42
License
unset
Stars
3

imports/B4B_PH_K_S_LF__SN_.tsx

// Imported from JLCPCB C131334; native model coordinates retained below.
import type { ChipProps } from "@tscircuit/props"

const pinLabels = {
  pin1: ["pin1"],
  pin2: ["pin2"],
  pin3: ["pin3"],
  pin4: ["pin4"]
} as const

export const B4B_PH_K_S_LF__SN_ = (props: ChipProps<typeof pinLabels>) => {
  return (
    <chip
      pinLabels={pinLabels}
      supplierPartNumbers={{
  "jlcpcb": [
    "C131334"
  ]
}}
      manufacturerPartNumber="B4B-PH-K-S(LF)(SN)"
      footprint={<footprint>
        <platedhole  portHints={["pin2"]} pcbX="0.999998mm" pcbY="-0.550037mm" outerDiameter="1.5999968mm" holeDiameter="0.999998mm" shape="circle" />
<platedhole  portHints={["pin1"]} pcbX="2.999994mm" pcbY="-0.550037mm" outerDiameter="1.5999968mm" holeDiameter="0.999998mm" shape="circle" />
<platedhole  portHints={["pin3"]} pcbX="-0.999998mm" pcbY="-0.550037mm" outerDiameter="1.5999968mm" holeDiameter="0.999998mm" shape="circle" />
<platedhole  portHints={["pin4"]} pcbX="-2.999994mm" pcbY="-0.550037mm" outerDiameter="1.5999968mm" holeDiameter="0.999998mm" shape="circle" />
<silkscreencircle pcbX="4.285996mm" pcbY="-1.566037mm" radius="0.359156mm" />
<silkscreenrect pcbX="0mm" pcbY="0mm" width="9.99998mm" height="4.500118mm" strokeWidth="0.254mm" />
<silkscreentext text="{NAME}" pcbX="0.009398mm" pcbY="3.243963mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-5.244402000000036,"y":2.493963000000008},{"x":5.2631979999999885,"y":2.493963000000008},{"x":5.2631979999999885,"y":-2.5018369999999095},{"x":-5.244402000000036,"y":-2.5018369999999095},{"x":-5.244402000000036,"y":2.493963000000008}]} />
      </footprint>}
      cadModel={B4B_PH_CAD_MODEL}
      {...props}
    />
  )
}
export const B4B_PH_CAD_MODEL = {
        objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C131334.obj?uuid=3b95b8b4d5d24ff4a871a43c952e432a",
        stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C131334.step?uuid=3b95b8b4d5d24ff4a871a43c952e432a",
        pcbRotationOffset: 180,
        modelOriginPosition: { x: 2.9999872999999297, y: -0.5500383000000056, z: -0.000005999999999950489 },
      } as const