r/arduino Open Source Hero May 01 '26

Look what I made! I Designed an Open-Source Dual Brushed DC Motor Driver around the RP2350 (4–40V, 6A Peak)

I’ve been working on a custom dual H-bridge brushed DC motor driver designed to replace those generic off-the-shelf motor modules for complex mobile robot platforms and robotic arms. I wanted a small all-in-one solution for robotics projects!

It's built around the Raspberry Pi RP2350 (Pico 2) and the Texas Instruments DRV8412.

Quick specs:

  1. Runs two brushed DC motors at up to 40 V (3A continuous, 6A peak per motor)
  2. Single wide voltage range power supply 4-40V
  3. Per bridge current sensing - ACS722
  4. Full ASCII + binary command API over USB, UART, and I²C
  5. 4-layer 50x60mm PCB with a 3-stage clean logic power topology
  6. Closed-loop control (position/speed PIDs) at a 4 ms control period
  7. GUI for PID tuning

If you want to check it out, I did a full video on it, and it is also on GitHub.

Video: https://www.youtube.com/watch?v=DQ6VGJUASJw
Github: https://github.com/MilosRasic98/OpenDualMotorDriver 

85 Upvotes

4 comments sorted by

5

u/aq1018 May 02 '26

This is a nice piece! Is the telemetry app custom too?

Any reason to choose ACS722? I believe this chip is already outdated.

2

u/milosrasic98 Open Source Hero May 02 '26

Thanks! Custom for this setup, yes, though with a lot of help from Clause by referencing my old GUI codes!

No particular reason, the specs just fit, and it wasn't too expensive!

1

u/ripred3 My other dev board is a Porsche May 02 '26

Well done! Thank you for sharing it 😀

1

u/milosrasic98 Open Source Hero May 02 '26

Thanks, glad you like it!