

2xBLDCPicoV3
One RP2040 Pico drives two brushless motors! SimpleFOC + Halls + 2304 drivers + TO-220 mosfets or IGBTs. Plugs directly into 450x automower motors. Trying for low cost + lots of flexibility + solder it at home + repairable. Works as a 3x DC motor controller as well.
- Size
- 147.8 × 77 mm
- Copper layers
- 4
- Thickness
- 1.6 mm
- Parts
- 135
- Nets
- 97
- Pads
- 438
- Tracks, vias
- 1,946, 74
- Routed
- Yes
- KiCad
- KiCad 7 (file 20221018)
- Created
- 4 Apr 2024
- Updated
- 5 Apr 2025
Overview
2xBLDCPicoV3 is an open-source printed circuit board by AmericanRework, from the AmericanRework/Pico-2x-BLDC repository on GitHub. It is a 4-layer board of 147.8 × 77 mm with 135 parts on 97 nets, routed with 1,946 tracks and 74 vias.
It is built around the STGP10NC60H, IRS2304PBF and XC6220B331MR, with the C3D10060A, IRF540N and UF4007 among its other parts. Its parts include 28 capacitors, 26 resistors, 23 connectors, 19 diodes and 12 transistors. It belongs with the robots and motor control boards and the RP2040 boards of this library.
Main components
6STGP10NC60H
TO-220-55℃~+150℃@(Tj) 14.2ns 19.2nC 2.5V@15V,5A 20A 600V 60W 72ns TO-220 IGBT Transistors / Modules ROHSSTMicroelectronicsIGBT Transistors / ModulesIRS2304PBF
PDIP-8-40℃~+150℃ 10V~20V 120uA 130mA 150ns 150ns 2 35ns 60mA 70ns Half-Bridge IGBT、MOSFET Under Voltage Protection PDIP-8 Gate Drivers ROHSInfineon TechnologiesGate DriversXC6220B331MR
SOT-23-5-40℃~+85℃@(Ta) 1 25uA 3.3V 400mV@(800mA) 5.5V 50dB@(10kHz) 900mA Fixed Over Current Protection、Over Temperature Protection Positive SOT-23-5 Voltage Regulators - Linear, Low Drop Out (LDO) Regulators ROHSTECH PUBLICVoltage Regulators - Linear, Low Drop Out (LDO) RegulatorsC3D10060A
TO-220-2TO-220-2 SiC Diodes ROHSWolfspeedSiC DiodesIRF540N
TO-2201 N-channel 1.35nF 100V 130W 280pF 33A 35mΩ@10V 4V 52nC@10V 85pF N-Channel TO-220 MOSFETs ROHSOSENMOSFETsUF4007
DO-41-50℃~+150℃ 1.7V@1A 1A 1kV 30A 5uA@1kV 75ns DO-41 Fast Recovery / High Efficiency Diodes ROHSMDDFast Recovery / High Efficiency Diodes
README
README.mdDual BLDC Controller
One RP2040 Pico drives two brushless motors! Uses SimpleFOC + Halls + TO-220 mosfets or IGBTs. Trying for low cost + lots of flexibility + solder it yourself at home + repairable. Works as a 3x DC motor controller as well.

Features:
RP2040 Pico running Simplefoc (https://simplefoc.com/) and using halls (or -untested but should be possible- encoders) for motor commutation. (No FOC - RP2040 doesn't have enough A/D channels for 2x motor FOC.) Current sensing: 1 A/D channel and shunt resistor per motor. Uses 2304 half-H drivers. Can assemble only half the board if you only want one servo amp / want more pico I/O's. Spot for big diodes if you want 'em - Big motors seem to eat my mosfet body diodes rather quickly and IGBT's don't have body diodes.
Control via usb serial or hardware serial. I2C, SPI, and software CAN might work but are untested. Serial is Human readable, following the simplefoc commander schema: AE1 enables motor, A10 sets motor A to 10 rev/sec, A0 stops motor A. AE0 quickly drops power to motor a. etc... B10 sets motor B to 10 rev/sec... etc... This allows you to control, test, and modify this servo amp right from the Arduino IDE or pretty much anything with a USB port or serial port.
Boards have a spot for molex plugs that are pin compatible with Husqvarna 450x automower drive motors. (NOT the cut motor - it's a different pinout but you can re-pin the cut motor - see additionalNotes.txt)
Board requires your motor power DC source, and ~12vdc@ say 50mA. The board can either make 3.3v for the RP2040 pico, or you can provide external 3.3v.
There's a very simple heartbeat signal in the code - if the amp doesn't get an instruction from serial it'll shut down, or delete that line to go forever!
Assembly/Setup:
Boards require SMD paste soldering and normal soldering to build:
- SMD: It's not bad, order a solder mask when you order the board, place components, toaster oven for 3 mins. All SMD components are on the same side of the board. No tiny SMD stuff like the rp2040 chip itself - that's why we use a pico. All diodes are NOT SMD so you can tell which direction they go. (I can never see the tiny lines.)
- Normal Soldering: in particular the mosfets. They are TO-220 because you are a hacker. You can solder in mosfets you have laying around and then de-solder them yourself to put better ones in. Or put in 3x0.1" pin headers so you can just plug in mosfets when you inevitably dead short them after trying to roll your own 3 phase driver. Basically you might want to 1. swap mosfets lots as you scratch write a 3phase driver. 2. use whatever mosfets are around. 3. repair it yourself. All of these would wreck a normal board but here you can just break out your trusty soldering iron and fix this board instead of throwing it in the trash!
- Make sure you order 2oz copper board so you get thick traces and can use higher current.
Assembled board:

If you don't want to use the A/D (or want to repurpose any other inputs/outputs after you get a board) you can cut the trace to that pin(ehhh. update. not all the traces can be cut. is on hit list for next version), and there's a tinned hole for you to take over. And again, you don't have to build both servo amps if you want more IO's.
'Firmware' for the rp2040 has some basic configuration and setup instructions in comments at the top of the code. It's pretty well tested and has been running on 2 boards for months without failing on an automower. Open up Arduino ide, install libraries: SimpleFOC, SimpleFOC drivers, and the Earle Philhower rp2040 core, compile and upload to your pico, good to go. Check top of the firmware file (RP2040SFocAmp.ino) for various additional documentation that might help you get started.
There are two other firmware versions - one example for 3x DC motors, and one old version based on (https://github.com/ClemensElflein/xESC2040/tree/main/firmware/src) that does not use simplefoc. Both 'other' firmware versions need their pins.h file checked to be sure they follow the current board pico pin assignments, but should be somewhat functional other than that afaik. Let's call them good starting points.
Tested
Tested using velocity control and torque control up to 10A/21v. You'll want heatsinks and low rdson mosfets to get to 10A. Tested the half-h drivers with igbts and better mosfets on a big inductive load to 60V, will update as we test more. Two boards are running in a Husqvarna 450x Automower as I write this. Maybe 10 hours of operation so far. Will update if/when anything fails. Update: ~100hrs of mowing, 0 servo amp faults/problems. Will still update if/when anything fails.
2 amps, 3 motors. One board has both drive motors, one has the cut motor.

Tested with 3x brushed (non 3 phase) motors using https://github.com/simplefoc/Arduino-FOC-dcmotor - worked great but I did not test feedback, just that it could spin the motors. Off the top of my head there's only enough pico pins for 2x quadrature encoders.
Thank you:
Big thank you to https://github.com/ClemensElflein/ for creating the Open Mower project and his very well thought out 3 phase rp2040 servo amp code. His project inspired me to take the leap and make this happen. The original plan was use the openmower framework to control this servo amp, again - the amp plugs right into 450X automower drive motors, no hacking required. This board could(at least used to!) run (a version of?) the Xesc2040 servo amp code. Creating a firmware for this board that allows it to connect to openmower would be cool but I ended up writing a very simple mower controller instead.
SimpleFOC is absolutely brilliant. Can't recommend enough. If you are making bldc controllers they are a great place to start! (https://simplefoc.com/)
RP2040 / Pi Pico + Earle Philhower core (https://github.com/earlephilhower/arduino-pico) has been rock solid and a joy to work on.
Thanks to everyone who open sources their work - makes the world a better place. Hope my code helps you!
Plans/Stuff that's broken, rough order:
- Current sense is at best not super calibrated, at worst needs work. Functions well enough to shut down the amp if current limit is hit.
- Test both DC and BLDC motors with an encoder instead of halls.
- Build more robots using this amp.
- Test it up to 240vdc/10A. Should work?
- When you disable a moving simplefoc motor with an 'AE0', it'll try to jump back to that velocity when you re-enable it. Might be fixed in newest simplefoc version or maybe it's something I did. Low priority 'cause it just spins a wheel a bit when you re-enable. Could be much a bigger problem on say a robot arm or CNC with a hard stop.
- Connect JUST the 2304's to a Mesa FPGA board running linuxCNC. Yep. Dump the pico and put your own brain on these drivers.
- I2C should work via pico pins GP17 and GP16. I think there is also now software CAN for the 2040 - loose 25% or so of one core but get CAN. Should be able to get it working. SPI is also exposed on pins 16/17/18/19 but again is untested.
Next board iteration:
- Going to be a while. I've got enough of these boards for my next couple years of planned projects. Maybe...2027 or so we'll fix this stuff and anything else that shows up. Only thing that will trigger a sooner update is if high voltage or DC motor mode doesn't work.
- Heat sinks: Mosfet locations are not in a nice line. We've got 1 sink per mosfet, and once we start using more power we might want some real cooling here not just tiny heat sinks to air. Is it worth the pain of moving everything? Eh... Maybe. Might be easier to just machine the right pockets/holes into an aluminum block.
- Delete the onboard 3.3v - Turns out you're not supposed to use linear regulators as DC-DC converters. Oops. It works but wastes 40mA+. Delete it 'cause 3.3v or 5v can come from RPi or BBB or pretty much any other board you use to drive this. AND if you have external 3.3v you can dump power to the pico even if you leave the DC main power connected.
- Redo pico io mapping so that each half-H is on it's own PWM slice.
- Motor 1 half-h cutable-traces: if you cut the top side trace between the pico and the tinned hole, remain connected to their half-h because traces went straight to the pico pins.
- Make the power input and GND holes large enough to accommodate 12Ga wire.
- Fix various labels on the board. FID2 looking at you. Also most of the Motor 2 labels.
Cheers! -American Rework
Parts
135| Qty | Value | Footprint | References |
|---|---|---|---|
| 18 | 010 | Resistor_SMD:R_0603_1608Metric | R1, R2, R3, R7, R10, R11, R12, R13, R15, R16, R17, R19, R23, R24, R25, R26 +2 |
| 12 | C3D10060A | Package_TO_SOT_THT:TO-220-2_Vertical | D7, D8, D9, D10, D11, D12, D13, D14, D15, D16, D17, D18 |
| 11 | Conn_01x02 | Connector_PinSocket_2.54mm:PinSocket_1x02_P2.54mm_Vertical | J6, J8, J9, J10, J11, J12, J13, J15, J16, J17, J18 |
| 8 | .1uF | Capacitor_SMD:C_0603_1608Metric | C2, C3, C4, C9, C15, C16, C17, C20 |
| 8 | Conn_01x01_Pin | Connector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_Vertical | J4, J5, J7, J19, J20, J23, J24, J25 |
| 8 | IRF540N | Package_TO_SOT_THT:TO-220-3_Vertical | Q1, Q2, Q3, Q4, Q5, Q6, Q11, Q12 |
| 6 | 100nF | Capacitor_SMD:C_0603_1608Metric | C1, C5, C6, C7, C19, C27 |
| 6 | 2k2 | Resistor_SMD:R_0603_1608Metric | R4, R5, R6, R20, R21, R22 |
| 6 | 470nF/16V | Capacitor_SMD:C_0603_1608Metric | C8, C10, C11, C18, C21, C23 |
| 6 | IRS2304 | Package_SO:SO-8_5.3x6.2mm_P1.27mm | U1, U2, U3, U6, U7, U9 |
| 6 | MTG Hole | MountingHole:MountingHole_2.2mm_M2 | FID2, FID2, FID2, FID2, FID2, FID2 |
| 6 | UF4007 | Diode_THT:D_DO-41_SOD81_P10.16mm_Horizontal | D1, D2, D3, D4, D5, D6 |
| 4 | 2.2uF/400v | Capacitor_THT:CP_Radial_D6.3mm_P2.50mm | C13, C14, C22, C28 |
| 4 | STGP10NC60H | Package_TO_SOT_THT:TO-220-3_Vertical | Q7, Q8, Q9, Q10 |
| 2 | 10uF/16V | Capacitor_SMD:C_0603_1608Metric | C24, C25 |
| 2 | 1mR | Resistor_SMD:R_2512_6332Metric | R14, R18 |
| 2 | 2.2uF/400V | Capacitor_THT:CP_Radial_D6.3mm_P2.50mm | C12, C26 |
| 2 | 874270842 | molex:CON_874270842 | J1, J22 |
| 2 | Conn_01x20_Pin | Connector_PinSocket_2.54mm:PinSocket_1x20_P2.54mm_Vertical | J2, J3 |
| 2 | INA180A4 | INA180:SOT95P280X145-5N | U4, U10 |
| 1 | 1N5817 | Diode_THT:D_DO-41_SOD81_P10.16mm_Horizontal | D20 |
| 1 | Pico | MCU_RaspberryPi_and_Boards:RPi_Pico_SMD_TH | U8 |
| 1 | XC6220B331MR | Package_TO_SOT_SMD:SOT-23-5 | U5 |
The 124 most common of 135 parts.
Similar boards
- 2 layers220.1 × 98 mm

- 2 layers120 × 90 mm

- 2 layers101.6 × 114.3 mm

- 2 layers147.3 × 76.2 mm

- 2 layers68 × 89 mm

ParanoiaBox
profdc9/ParanoiaBox
A standalone elliptic curve/AES file encryption and decryption device
60 parts17 - 2 layers96.3 × 98 mm

Aquarium
baranovskiykonstantin/aquarium
Control the lighting and the heating of the aquarium.
73 parts11 - 2 layers100 × 70 mm

MotorDriver
JeyRunner/actonator
3D printable robot actuator with belt-driven gearbox and custom FOC driver board.
177 parts10MIT - 2 layers156.5 × 67.5 mm

NixieScanDisplay
profdc9/NixieClock
A Nixie clock that uses IN-14 tubes and very generic components that can be easily sourced.
106 parts10
Questions
How big is the 2xBLDCPicoV3 PCB?
It measures 147.8 × 77 mm and has 4 copper layers, 1.6 mm thick.
What parts does the 2xBLDCPicoV3 use?
135 parts, built around the STGP10NC60H, IRS2304PBF, XC6220B331MR and C3D10060A. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
Where can I download the 2xBLDCPicoV3 KiCad files?
From the AmericanRework/Pico-2x-BLDC repository on GitHub, at the commit this page was made from: the board is PCB/2xBLDCPicoV3.kicad_pcb and its schematic PCB/2xBLDCPicoV3.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the 2xBLDCPicoV3 design in my own project?
Its repository states no licence, so its author keeps all rights: ask AmericanRework before reusing the design.