Skip to the content
4 layers66 × 61.8 mmSTM32F051-ESC, the printed circuit board in 3D

Open-source three-phase ESC hardware designed in KiCad to study ESC operation

Size
66 × 61.8 mm
Copper layers
4
Thickness
1.6 mm
Parts
94
Nets
68
Pads
260
Tracks, vias
407, 507
Pours
42
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
21 Oct 2026
Updated
21 Oct 2026

Overview

STM32F051-ESC is an open-source printed circuit board by Datnewlevel, from the Datnewlevel/STM32F051-ESC repository on GitHub. It is a 4-layer board of 66 × 61.8 mm with 94 parts on 68 nets, routed with 407 tracks and 507 vias.

It is built around the STM32F051K8U7, DRV8300DPWR-MS and SM05B-GHS-TB(LF)(SN), with the PSMN1R4-40YLDX-VB, MDA7030-150M and PSPMAA0603-8R2M-ANF among its other parts. Its parts include 34 capacitors, 29 resistors, 6 ICs, 6 transistors and 2 inductors. It belongs with the robots and motor control boards and the STM32 boards of this library.

Main components

6

README

README.md

Single ESC

An open-source hardware learning project for a three-phase electronic speed controller (ESC), designed in KiCad. I created this schematic and PCB while studying existing ESC circuits shared online to understand how their power supply, gate driver, motor bridge, and sensing stages work together.

This is the first PCB revision. I am currently ordering the board for fabrication; the hardware has not yet been assembled or tested.


1. Overview

The design combines a microcontroller, a three-phase gate driver, six power MOSFETs, and voltage and current sensing on a four-layer PCB. The schematic labels the intended battery input range as 14-25 V. This range is a design target, not a verified operating specification.

The main parts are:

FunctionComponent
MicrocontrollerSTM32F051K8U7
Three-phase gate driverDRV8300DPWR
Motor bridgeSix PSMN1R4-40YLDX-VB MOSFETs
3.3 V and 12 V suppliesTwo TPS62932DRLR buck converters
Current measurementINA180B2IDBVT amplifier and a 1 mΩ shunt

The schematic also includes back-EMF sensing for the three motor phases, SWD programming pads, a signal input, telemetry connections, and test pads.


2. Schematic

The full schematic is available as a PDF. It is divided into the power supplies, microcontroller, gate driver, back-EMF sensing, MOSFET bridge, connectors, and current-sensing sections.


3. PCB Design

The board is approximately 66.05 × 61.80 mm, with four copper layers and a 1.6 mm board thickness in the KiCad project.

Top Layer

Top copper layer

GND Plane (Inner Layer 1)

Ground plane

PWR Plane (Inner Layer 2)

Power plane

Bottom Layer

Bottom copper layer

3D View

PCB 3D view


4. Project Files

File / FolderDescription
test.kicad_proMain KiCad project settings
test.kicad_schSingle ESC schematic source
test.kicad_pcbFour-layer PCB layout source
ESC_PCB/Schematic PDF and PCB images
production/bom.csvGenerated bill of materials
production/positions.csvGenerated component placement data
production/designators.csvGenerated designator list
production/netlist.ipcGenerated IPC netlist
production/test.zipGenerated Gerber and drill files
test/A separate KiCad experiment; it is not part of the ESC design

5. Current Status

The PCB is being ordered for the first prototype. Assembly, power-up checks, firmware, and motor testing are still pending. The design and fabrication files are shared for study and review, but the board should not be treated as a tested ESC.


6. References and Open Source

I drew this circuit while referring to existing ESC schematics and other circuits available on the internet. Those references helped me learn the operating principles of an ESC. I do not claim that every circuit idea in this design is original. Specific source links have not yet been collected; I will add attribution for identifiable references.

I intend to release the complete hardware project as open-source hardware. A formal license has not yet been selected and will be added before the public release.

Parts

94
QtyValueFootprintReferences
12100nCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC1, C3, C4, C6, C7, C8, C12, C16, C18, C21, C32, C34
1110KResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR1, R3, R7, R8, R9, R10, R12, R13, R14, R22, R27
810uCapacitor_SMD:C_1210_3225Metric_Pad1.33x2.70mm_HandSolderC24, C25, C26, C27, C28, C29, C30, C31
620Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR18, R19, R20, R23, R24, R25
6PSMN1R4-40YLDX-VBESC:LFPAK56-4_L4.9-W4.2-P1.27-LS6.2-BLQ1, Q2, Q3, Q4, Q5, Q6
510uCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC2, C5, C11, C20, C33
51KResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR4, R15, R16, R17, R29
4MountingHole_PadMountingHole:MountingHole_3.2mm_M3_PadH1, H2, H3, H4
31uCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC13, C15, C17
233Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR5, R6
233nCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC14, C22
247uCapacitor_SMD:C_1210_3225Metric_Pad1.33x2.70mm_HandSolderC10, C19
2TPS62932DRLRESC:SMD-8_L2.1-W1.2-P0.50-LS1.6-BLU1, U4
1
1100KResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR21
1100nCapacitor_SMD:C_1210_3225Metric_Pad1.33x2.70mm_HandSolderC23
1140KResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR11
115pCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC9
115uHESC:IND-SMD_L7.1-W6.6L2
11K5Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR26
11mESC:R2725R28
13.3V REFTam:Flightcontroller_Solder_PadTP4
130K9Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR2
1600 Ohm - 100MHzESC:L0603FB1
18.2uHESC:IND-SMD_L7.1-W6.6L1
1CURRENTTam:Flightcontroller_Solder_PadTP6
1DRV8300DPWRESC:TSSOP-20_L6.5-W4.4-P0.65-LS6.4-BLU2
1GNDTam:Flightcontroller_Solder_PadTP5
1INA180B2IDBVTESC:SOT-23-5_L2.9-W1.6-P0.95-LS2.8-BRU6
1LEDLED_SMD:LED_0805_2012Metric_Pad1.15x1.40mm_HandSolderD1
1NRSTTam:Flightcontroller_Solder_PadTP3
1SIGNAL_INPUTTam:Flightcontroller_Solder_PadTP7
1SM05B-GHS-TBESC:CONN-SMD_5P-P1.25_SM05B-GHS-TB-LF-SNU5
1STM32F051K8U7ESC:UFQFPN-32_L5.0-W5.0-P0.50-TL-EP3.5U3
1SWDCLKTam:Flightcontroller_Solder_PadTP2
1SWDIOTam:Flightcontroller_Solder_PadTP1
1TELEMETRYTam:Flightcontroller_Solder_PadTP8
1TELEMRXTam:Flightcontroller_Solder_PadTP9

The 93 most common of 94 parts.

Similar boards

  • 4 layers44.5 × 44.5 mmQUT Autopilot Pixracer, the printed circuit board in 3D

    QUT Autopilot Pixracer

    Heckus/QUT-OpenFCU

    The primary objective is to create an alternative to the difficult-to-source off-the-shelf Pixhawk 6. This work builds upon a edited pixracer version produced by KAI (Wesley) in 2022.

    145 parts
  • 4 layers252 × 92 mmCooksense, the printed circuit board in 3D

    Cooksense

    misko/prompt2device

    The separate vNext PCB skill and orchestrator package is available alongside the reference workflow below; existing projects keep their accepted toolchain until an explicit migration.

    195 parts3MIT
  • 4 layers50.8 × 22.9 mmBench stim wing, the printed circuit board in 3D

    Bench stim wing

    ThatguyCplus/throttleECU

    STM32F411CE Throttle ECU — PID position control with AS5048A encoder, H-bridge motor, safety module

    114 parts1
  • 4 layers66 × 61.8 mm10X ESC V1, the printed circuit board in 3D

    10X ESC V1

    10x-Aero/ESC-Development-Board

    A 6S AM32-compatible ESC built as a proof of concept for learning how to design an ESC from scratch

    98 parts77
  • 4 layers64.9 × 39.2 mmHOLY ESC, the printed circuit board in 3D

    HOLY ESC

    0BAB1/HOLY_ESC

    An open-source closed loop ESC PCB / Hardware platform. Based on a STM32F051 (Cortex M0 based) MCU. Tested using AM32 ESC software.

    81 parts8
  • 2 layers40 × 40 mmCurcuitV4, the printed circuit board in 3D

    CurcuitV4

    banbatakumi/BLDC

    97 parts1
  • 4 layers88 × 80 mmVetroplach board, the printed circuit board in 3D

    Vetroplach board

    jankrejci/vetroplach

    An ultrasonic anemometer: KiCad PCB designs and ESP32-S3 firmware.

    132 parts1

Questions

How big is the STM32F051-ESC PCB?

It measures 66 × 61.8 mm and has 4 copper layers, 1.6 mm thick.

What parts does the STM32F051-ESC use?

94 parts, built around the STM32F051K8U7, DRV8300DPWR-MS, SM05B-GHS-TB(LF)(SN) and PSMN1R4-40YLDX-VB. 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 STM32F051-ESC KiCad files?

From the Datnewlevel/STM32F051-ESC repository on GitHub, at the commit this page was made from: the board is test.kicad_pcb and its schematic test.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the STM32F051-ESC design in my own project?

Its repository states no licence, so its author keeps all rights: ask Datnewlevel before reusing the design.