imrishabh18/rp2040-motor-controller
This circuit module provides a microcontroller-based NEMA17 stepper motor driver with integrated USB-C Power Delivery, temperature sensing, and safety interlocks.
- Version
- 1.0.16
- License
- unset
- Stars
- 0
routing/README.md
# Fixed PCB routing
`route-plan.json` stores the complete four-layer NEMA 17 routing solution and the exact input geometry, connectivity and design rules used to validate it. `saved-routing.ts` supplies this geometry through tscircuit's local `algorithmFn` interface. Core recreates copper, vias and pours and performs its normal checks.
The whole board, including the RP2040 group and four grounded mounting rings, is routed together. Pipeline 7 produced the initial topology. Its power/signal expansion phases widened the copper; local geometry corrections removed a reset/signal crossing and a gate-pad clearance violation. A missing layer transition was represented by a physical through via. The motor header uses a round pin-1 pad to avoid a rotated rectangular-pad inconsistency between pour generation and Gerber export.
The saved plan rejects input changes. After changing placement, nets, footprints or routing rules, regenerate and validate the routes; do not merely replace `expectedInput`. Run `bun run verify` and inspect the placement/short-check reports before sharing fabrication files. See `../verification.md` for the exact checked artifact.