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.41
License
unset
Stars
3

routing/README.md

# Saved PCB routing

`route-plan.json` contains the validated routes and the exact geometry/connectivity input for core 0.0.2032. `saved-routing.ts` supplies these routes through the local routing algorithm interface; core regenerates the copper, vias and ground pours and runs its normal checks.

The input guard rejects changed pads, placement, connectivity or rules. Regenerate and recheck routes after a PCB change; do not bypass this guard by merely replacing `expectedInput`.

The current repair shortens decoupling routes and resolves the newer checker's trace and via-clearance findings. All eleven motor-current nets remain on outer layers. `ground-pour-selection.json` retains all 28 regions in the audited four-layer ground network. The low-current Q_STATUS_B ground return uses an inner-layer link.

Run `bun run verify` and the independent copper/export audits before fabrication. The current results and exact artifact hashes are in [the routing review](../reports/routing-refresh-review.md). No checker, manufacturing rule or regression threshold was relaxed.

Use `bun run dev --port 3020` for the current CLI viewer. Its rendered copper was compared with the CLI output and matches.