astra/nema17-stepper-motor-controller-spring-clamp-rp2040

A 4-layer RP2040 controller board that negotiates USB‑C PD motor power and drives a NEMA17 stepper via a DRV8825, with current sensing, thermal shutdown, RGB status LED, buzzer alarm, optional AS5600 encoder, protection/filtering, and test points.

Version
1.4.0
License
unset
Stars
0

imports/jlc/AP2112K_3_3TRG1.tsx

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

const pinLabels = {
  pin1: ["VIN"],
  pin2: ["GND"],
  pin3: ["EN"],
  pin4: ["NC"],
  pin5: ["VOUT"]
} as const

const pinAttributes = {
  pin1: {requiresPower: true},
  pin2: {requiresGround: true},
  pin4: {doNotConnect: true}
} as const

export const AP2112K_3_3TRG1 = (props: ChipProps<typeof pinLabels>) => {
  return (
    <chip
      pinLabels={pinLabels}
      pinAttributes={pinAttributes}
      supplierPartNumbers={{
  "jlcpcb": [
    "C23380830"
  ]
}}
      manufacturerPartNumber="AP2112K-3.3TRG1"
      footprint={<footprint>
        <smtpad portHints={["pin2"]} pcbX="1.100074mm" pcbY="-0.000127mm" width="0.999998mm" height="0.5999988mm" shape="rect" />
<smtpad portHints={["pin3"]} pcbX="1.100074mm" pcbY="0.949833mm" width="0.999998mm" height="0.5999988mm" shape="rect" />
<smtpad portHints={["pin1"]} pcbX="1.100074mm" pcbY="-0.949833mm" width="0.999998mm" height="0.5999988mm" shape="rect" />
<smtpad portHints={["pin4"]} pcbX="-1.100074mm" pcbY="0.950087mm" width="0.999998mm" height="0.5999988mm" shape="rect" />
<smtpad portHints={["pin5"]} pcbX="-1.100074mm" pcbY="-0.950087mm" width="0.999998mm" height="0.5999988mm" shape="rect" />
<silkscreenpath route={[{"x":-0.6984238000000005,"y":-1.523974599999974},{"x":0.6985507999999072,"y":-1.5240254000000277}]} />
<silkscreenpath route={[{"x":-0.42237660000012056,"y":1.3969745999999077},{"x":0.42240199999992,"y":1.3969745999999077}]} />
<silkscreenpath route={[{"x":-0.88894920000007,"y":-0.38097460000005867},{"x":-0.88894920000007,"y":0.38097460000005867}]} />
<silkscreencircle pcbX="2.0099782mm" pcbY="-0.9602216mm" radius="0.150114mm" />
<silkscreentext text="{NAME}" pcbX="0.283972mm" pcbY="2.448689mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-1.8456280000000334,"y":1.6986889999999448},{"x":2.413571999999931,"y":1.6986889999999448},{"x":2.413571999999931,"y":-1.7731110000000854},{"x":-1.8456280000000334,"y":-1.7731110000000854},{"x":-1.8456280000000334,"y":1.6986889999999448}]} />
      </footprint>}
      cadModel={{
        objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C23380830.obj?uuid=8c971aea3af54c53b74baeb1f489d393",
        stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C23380830.step?uuid=8c971aea3af54c53b74baeb1f489d393",
        pcbRotationOffset: 90,
        modelOriginPosition: { x: -0.000012699999956566899, y: 0.00006349999989652133, z: -0.7 },
      }}
      {...props}
    />
  )
}