BLDC-Driver
clawntl·BLDC-Driver·Hardware/v0.2_Custom_Motor_Driver_DRV8316_STM32G4.kicad_pcb
About the BLDC-Driver PCB
BLDC-Driver is an open source STM32 PCB design by clawntl, published on GitHub under the AGPL-3.0 license. It is a 4-layer board measuring 36 × 54.5 mm, with 75 components from 34 distinct parts.
Its main chip is the STM32G431CBUX, from the STM32 family. Other key parts include the DRV8316CRRGFR, TJA1051T-3, XC6206P332MR-G and AS5048A. By type, the board carries 33 capacitors, 19 resistors, 6 connectors, 5 ICs, 4 diodes and 3 switches.
It belongs with the robotics & motion and test & measurement designs in this gallery.
From the project
BLDC Driver with STM32G431 and DRV8316
BLDC-Driver is an integrated brushless motor driver built around an STM32G431 microcontroller and a TI DRV8316 three-phase gate driver with integrated MOSFETs. It runs field-oriented control (FOC) with SimpleFOC and takes current (torque) commands over CAN. It suits gimbal motors and small direct-drive wheels.
The board includes an optional AS5048A magnetic encoder on a break-away tab. With the tab removed, the board measures just 39 mm × 36 mm.
Main components on the BLDC-Driver
BLDC-Driver bill of materials (BOM)
75 components, 34 distinct parts — part numbers from the project's BOM.
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | DRV8316CRRGFR | QFN50P500X700X100-41N-D | IC2 |
| 1 | STM32G431CBUX STM32G431CBUx | QFN-48-1EP_7x7mm_P0.5mm_EP5.6x5.6mm | U1 |
| 1 | TJA1051T-3 | SOIC-8_3.9x4.9mm_P1.27mm | U2 |
| 1 | XC6206P332MR-G | SOT-23-3 | U4 |
| 1 | AS5048A | TSSOP-14_4.4x5mm_P0.65mm | U5 |
| 1 | AO3401A | SOT-23 | Q1 |
| 1 | SMD3225-4 | Crystal_SMD_3225-4Pin_3.2x2.5mm | X1 |
| 1 | USB_C_RECEPTACLE_USB2.0_16P USB_C_Receptacle_USB2.0_16P | USB_C_Receptacle_GCT_USB4105-xx-A_16P_TopMnt_Horizontal | J1 |
| 1 | Screw_Terminal_01x03 | TerminalBlock_Xinya_XY308-2.54-3P_1x03_P2.54mm_Horizontal | J2 |
| 2 | CONN_01X03 Conn_01x03 | JST_PH_S3B-PH-K_1x03_P2.00mm_Horizontal | J3, J4 |
| 1 | Conn_01x05 | PinHeader_1x05_P2.54mm_Vertical | J6 |
| 1 | Conn_01x02 | PinHeader_1x02_P2.54mm_Vertical SLIM | J10 |
| 2 | Jumper_2_Bridged | PinHeader_1x02_P2.54mm_Vertical | JP1, JP2 |
| 3 | TS-1088-AR02016 | TS-1088-AR02016 | SW1, SW2, SW3 |
| 1 | 1N4148WS | D_SOD-323 | D1 |
| 1 | BZT52B5V1S | D_SOD-323_Zener | D2 |
| 1 | C2286 Red LED | LED_0603_1608Metric | D3 |
| 1 | C2290 White LED | LED_0603_1608Metric | D4 |
| 1 | 47UH 47uH | L_Changjiang_FNR3015S | L1 |
| 9 | 100NF 100nF | C_0402_1005Metric | C1, C13, C14, C15, C17, C27, C29, C31 +1 |
Show 14 more
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 2 | 47NF 47nF | C_0603_1608Metric | C2, C5 |
| 7 | 1UF 1uF | C_0402_1005Metric | C3, C6, C10, C11, C26, C28, C30 |
| 1 | 22UF 22uF | C_0603_1608Metric | C4 |
| 1 | 4.7UF 4.7uF | C_0805_2012Metric | C7 |
| 2 | 100PF 100pF | C_0402_1005Metric | C8, C9 |
| 5 | 10UF 10uF | C_0805_2012Metric | C12, C21, C22, C23, C24 |
| 1 | 10UF 10uF | C_0603_1608Metric | C16 |
| 3 | 22PF 22pF | C_0402_1005Metric | C18, C19, C20 |
| 2 | 10PF 10pF | C_0402_1005Metric | C33, C34 |
| 2 | 60.4R | R_0805_2012Metric | R1, R2 |
| 3 | 5.1K 5.1k | R_0402_1005Metric | R3, R4, R5 |
| 7 | 330R | R_0402_1005Metric | R6, R11, R12, R14, R15, R18, R19 |
| 5 | 10K 10k | R_0402_1005Metric | R7, R9, R10, R13, R16 |
| 2 | 100K 100k | R_0402_1005Metric | R8, R17 |
BLDC-Driver design files
The KiCad project lives in the clawntl/BLDC-Driver repository on GitHub; these links point at the commit this page was built from.
BLDC-Driver: common questions
What microcontroller does the BLDC-Driver use?
The BLDC-Driver is built around the STM32G431CBUX, from the STM32 family.
How big is the BLDC-Driver PCB?
The BLDC-Driver measures 36 × 54.5 mm, has 4 copper layers and is 1.6062 mm thick.
How many components are on the BLDC-Driver?
75 components, from 34 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 BLDC-Driver design files?
From the clawntl/BLDC-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 BLDC-Driver design in my own project?
Yes, under the terms of its AGPL-3.0 license, which clawntl chose for the repository.
Can I test firmware for the BLDC-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
Main panel
google
234 × 84 mm26 parts4LApache-2.02.9kSTM32
Type g
google
169 × 30 mm24 parts2LApache-2.02.9kSTM32
Base
google
52.3 × 52.3 mm36 parts2LApache-2.02.9kSTM32
Type a
google
150 × 30 mm14 parts2LApache-2.02.9kSTM32
Type c
google
188 × 30 mm17 parts2LApache-2.02.9k