A 60×45 mm dual-motor controller board built around an RP2040 MCU with QSPI flash, USB‑C, encoder inputs, dual DRV8871 H‑bridge drivers, protected power input, 5 V buck and 3.3 V LDO rails, connectors, filtering, and status LEDs.
Version
1.0.0
License
unset
Stars
0
Use with the tscircuit CLI
tsci is the tscircuit CLI. Install it with npm install -g tscircuit.
tsci clone aj0070/dual-motor-encoder # download the package files into ./dual-motor-encoder
tsci add aj0070/dual-motor-encoder # add it to your project as @tsci/aj0070.dual-motor-encoder
In a cloned or new (tsci init) project: tsci dev starts a local preview, tsci build outputs Circuit JSON, and tsci push publishes to tscircuit.com.
# Dual motor controller with encoders
Small robot motor controller, 60 x 45 mm, 2 layers.
## On the board
- RP2040 with crystal and USB-C (5.1k CC pulldowns)
- Two DRV8871 brushed DC motor drivers with current-limit resistors
- Two 6-pin encoder headers (5 V, GND, A, B) with pull-ups and RC filters
- 7-12 V screw terminal input with reverse polarity protection, MP3098L 5 V buck, AMS1117 3.3 V LDO, Schottky OR from USB VBUS so the board also runs from USB alone
- Two 2-pin motor screw terminals, JST-SH 4-pin I2C (Qwiic-style) connector for an IMU, status LEDs
- Four 3.2 mm mounting holes
## Notes
- The DRV8871 current limit is set by its ILIM resistor; size it for your motors.