-motor driver
AYUSH-pro-grammer·-motor-driver·kicad/motor-driver.kicad_pcb
About the -motor driver PCB
-motor driver is an open source STM32 PCB design by AYUSH-pro-grammer, published on GitHub. It is a 4-layer board measuring 162.5 × 57.4 mm, with 113 components from 25 distinct parts.
Its main chip is the STM32G431CBUx, from the STM32 family. Other key parts include the BTS7960B, SN74ACT08D and AMS1117-3.3. By type, the board carries 51 resistors, 21 capacitors, 15 diodes, 14 connectors and 12 ICs.
It belongs with the robotics & motion and power & battery designs in this gallery.
From the project
In my motor driver board, there is an STM32G431CBU6 with eight BTS7960B ICs to drive the four brushed DC motors. I designed the circuit schematic and 4-layer PCB in KiCad, put artwork on both sides and wrote a simple Arduino sketch to check the hardware for the first time.
In my motor driver board, there is an STM32G431CBU6 with eight BTS7960B ICs to drive the four brushed DC motors. I designed the circuit schematic and 4-layer PCB in KiCad, put artwork on both sides and wrote a simple Arduino sketch to check the hardware for the first time.
The repository contains the circuit schematic, PCB layout, Gerber files, parts list and demo firmware. The board is currently in the design phase and needs to be assembled and tested.

Main components on the -motor driver
-motor driver bill of materials (BOM)
113 components, 25 distinct parts — part numbers from the project's BOM.
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 8 | BTS7960B | TO-263-7_TabPin8 | U1, U2, U3, U4, U5, U6, U7, U8 |
| 2 | SN74ACT08D | SOIC-14_3.9x8.7mm_P1.27mm | U9, U10 |
| 1 | STM32G431CBUx | QFN-48-1EP_7x7mm_P0.5mm_EP5.6x5.6mm | U11 |
| 1 | AMS1117-3.3 | SOT-223-3_TabPin2 | U12 |
| 1 | MTR_A | TerminalBlock_Phoenix_MKDS-3-2-5.08_1x02_P5.08mm_Horizontal | J1 |
| 1 | MTR_B | TerminalBlock_Phoenix_MKDS-3-2-5.08_1x02_P5.08mm_Horizontal | J2 |
| 1 | MTR_C | TerminalBlock_Phoenix_MKDS-3-2-5.08_1x02_P5.08mm_Horizontal | J3 |
| 1 | MTR_D | TerminalBlock_Phoenix_MKDS-3-2-5.08_1x02_P5.08mm_Horizontal | J4 |
| 1 | Conn_01x02 | AMASS_XT60PW-M_1x02_P7.20mm_Horizontal | J5 |
| 6 | Conn_01x04 | PinHeader_1x04_P2.54mm_Vertical | J6, J7, J8, J9, J10, J11 |
| 1 | Conn_01x03 | PinHeader_1x03_P2.54mm_Vertical | J12 |
| 1 | Conn_01x06 | PinHeader_1x06_P2.54mm_Vertical | J13 |
| 1 | Conn_01x02 | TerminalBlock_Phoenix_MKDS-1,5-2-5.08_1x02_P5.08mm_Horizontal | J14 |
| 13 | LED | LED_0805_2012Metric | D1, D2, D3, D4, D5, D6, D7, D8 +5 |
| 2 | D_Zener | D_SMB | D12, D14 |
| 11 | 100nF | C_0805_2012Metric | C1, C4, C6, C8, C9, C10, C11, C12 +3 |
| 4 | 1000uF | CP_Elec_10x10.5 | C2, C3, C5, C7 |
| 1 | 10nF | C_0805_2012Metric | C14 |
| 2 | 1uF | C_0805_2012Metric | C15, C17 |
| 1 | 4.7uF | C_0805_2012Metric | C18 |
Show 5 more
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 2 | 22uF | C_0805_2012Metric | C20, C21 |
| 25 | 1K | R_0805_2012Metric | R1, R3, R5, R7, R9, R10, R13, R15 +17 |
| 22 | 10K | R_0805_2012Metric | R2, R4, R6, R8, R11, R12, R14, R17 +14 |
| 3 | 220 | R_0805_2012Metric | R45, R46, R47 |
| 1 | 39K | R_0805_2012Metric | R50 |
-motor driver design files
The KiCad project lives in the AYUSH-pro-grammer/-motor-driver repository on GitHub; these links point at the commit this page was built from.
- Layoutkicad/motor-driver.kicad_pcb
- Schematickicad/motor-driver.kicad_sch
- BOMbom.csv
-motor driver: common questions
What microcontroller does the -motor driver use?
The -motor driver is built around the STM32G431CBUx, from the STM32 family.
How big is the -motor driver PCB?
The -motor driver measures 162.5 × 57.4 mm, has 4 copper layers and is 1.6 mm thick.
How many components are on the -motor driver?
113 components, from 25 distinct parts, with part numbers taken from the project's own BOM. The full bill of materials is listed on this page.
Where can I download the -motor driver design files?
From the AYUSH-pro-grammer/-motor-driver repository on GitHub, which has the KiCad layout, the schematic and the BOM; the links under Design files point to each one.
Can I use the -motor driver design in my own project?
The repository has no license, so all rights stay with AYUSH-pro-grammer. Use it as a reference, and ask the author before reusing the design.
Can I test firmware for the -motor driver without the hardware?
Yes. HardLabs builds a simulation of the board from its netlist and BOM, so you can run and debug STM32 firmware against it before you order a PCB.
Similar boards
STM32
LumenPnP Motherboard
opulo-inc
149 × 95 mm296 parts4LCC-BY-SA-4.03.7kSTM32
Type g
google
169 × 30 mm24 parts2LApache-2.02.9kSTM32
Base
google
52.3 × 52.3 mm36 parts2LApache-2.02.9kSTM32
Main panel
google
234 × 84 mm26 parts4LApache-2.02.9kSTM32
Type a
google
150 × 30 mm14 parts2LApache-2.02.9kSTM32
Type c
google
188 × 30 mm17 parts2LApache-2.02.9k