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

scripts/render-placement.tsx

import { Circuit } from "tscircuit";
import Board from "../index.circuit";
import { mkdirSync, writeFileSync } from "node:fs";
const c=new Circuit(); c.add(<Board routingDisabled />); await c.renderUntilSettled();
mkdirSync('dist/placement',{recursive:true});writeFileSync('dist/placement/circuit.json',JSON.stringify(c.getCircuitJson(),null,2));
console.log(c.getCircuitJson().filter(x=>x.type.endsWith('_error')));