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

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

const pinLabels = {
  pin1: ["IN_NEG"],
  pin2: ["GND"],
  pin3: ["REF2"],
  pin4: ["NC"],
  pin5: ["OUT"],
  pin6: ["VS"],
  pin7: ["REF1"],
  pin8: ["IN_POS"]
} as const

// TI INA241x datasheet Table 5-1: pin 4 is reserved and MUST connect to GND.
// Override the imported EasyEDA NC attribute, which is incorrect here.
const pinAttributes = {
  pin2: {requiresGround: true},
  pin4: {requiresGround: true}
} as const

export const INA241A1IDDFR = (props: ChipProps<typeof pinLabels>) => {
  return (
    <chip
      pinLabels={pinLabels}
      pinAttributes={pinAttributes}
      supplierPartNumbers={{
  "jlcpcb": [
    "C19712054"
  ]
}}
      manufacturerPartNumber="INA241A1IDDFR"
      footprint={<footprint>
        <smtpad portHints={["pin1"]} pcbX="1.226058mm" pcbY="-0.975106mm" width="1.2519914mm" height="0.350012mm" radius="0.175006mm" shape="pill" />
<smtpad portHints={["pin2"]} pcbX="1.226058mm" pcbY="-0.32512mm" width="1.2519914mm" height="0.350012mm" radius="0.175006mm" shape="pill" />
<smtpad portHints={["pin3"]} pcbX="1.226058mm" pcbY="0.324866mm" width="1.2519914mm" height="0.350012mm" radius="0.175006mm" shape="pill" />
<smtpad portHints={["pin4"]} pcbX="1.226058mm" pcbY="0.975106mm" width="1.2519914mm" height="0.350012mm" radius="0.175006mm" shape="pill" />
<smtpad portHints={["pin8"]} pcbX="-1.226058mm" pcbY="-0.975106mm" width="1.2519914mm" height="0.350012mm" radius="0.175006mm" shape="pill" />
<smtpad portHints={["pin7"]} pcbX="-1.226058mm" pcbY="-0.32512mm" width="1.2519914mm" height="0.350012mm" radius="0.175006mm" shape="pill" />
<smtpad portHints={["pin6"]} pcbX="-1.226058mm" pcbY="0.324866mm" width="1.2519914mm" height="0.350012mm" radius="0.175006mm" shape="pill" />
<smtpad portHints={["pin5"]} pcbX="-1.226058mm" pcbY="0.975106mm" width="1.2519914mm" height="0.350012mm" radius="0.175006mm" shape="pill" />
<silkscreenpath route={[{"x":0.8099551999999903,"y":-1.3361669999999322},{"x":0.8099551999999903,"y":-1.4499590000000353},{"x":-0.8000492000001032,"y":-1.4499590000000353},{"x":-0.8000492000001032,"y":-1.3361669999999322}]} />
<silkscreenpath route={[{"x":-0.810006000000044,"y":1.3362432000001263},{"x":-0.810006000000044,"y":1.4499844000000621},{"x":0.7999984000000495,"y":1.4499844000000621},{"x":0.7999984000000495,"y":1.3362432000001263}]} />
<silkscreencircle pcbX="1.226058mm" pcbY="-1.609344mm" radius="0.150114mm" />
<silkscreentext text="{NAME}" pcbX="0.1397mm" pcbY="2.4478mm" anchorAlignment="center" fontSize="0.55mm" />
{/* TI DDF: 2.9 x 2.8 mm package. Imported pad span 3.704 x 2.3 mm; >=0.25 mm courtyard margin. */}
<courtyardrect width={4.25} height={3.6} />
      </footprint>}
      cadModel={{
        objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C19712054.obj?uuid=7304035254c941188b587adb626783d8",
        stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C19712054.step?uuid=7304035254c941188b587adb626783d8",
        pcbRotationOffset: 180,
        modelOriginPosition: { x: 0, y: -0.000012699999956566899, z: -0.049083 },
      }}
      {...props}
    />
  )
}