Skip to the content
4 layers71.4 × 80.3 mmEx2, the printed circuit board in 3D

Designed a custom flight controller board from schematic to layout: STM32F407VGTx MCU, MPU6050 IMU, BMP280 barometer, MicroSD logging, 6 servo/ESC outputs, and dual-stage power regulation. Full design cycle in KiCad — schematic capture, 4-layer routing, 3D verification pre-fabrication.

Size
71.4 × 80.3 mm
Copper layers
4
Thickness
1.6 mm
Parts
93
Nets
143
Pads
423
Tracks, vias
856, 58
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
20 Aug 2026
Updated
20 Aug 2026

Overview

Ex2 is an open-source printed circuit board by zaidhajji, from the zaidhajji/Custom-Flight-Controller-Design-STM32F407-KiCad repository on GitHub. It is a 4-layer board of 71.4 × 80.3 mm with 93 parts on 143 nets, routed with 856 tracks and 58 vias.

It is built around the BMP280, TPS54336ADDA and AMS1117, with the MPU-6050, USBLC6-2P6 and BAT54C among its other parts. Its parts include 36 capacitors, 17 resistors, 16 connectors, 6 ICs and 6 diodes. It belongs with the robots and motor control boards and the STM32 boards of this library.

Main components

7

README

README.md

Flight Controller — STM32F407VGTx

A custom-designed flight controller PCB built around the STM32F407VGTx (Cortex-M4, 168 MHz).

Overview

This board handles sensor fusion, motor/servo control, and telemetry for a multirotor or fixed-wing UAV platform.

Key Components

FunctionComponent
MCUSTM32F407VGTx (LQFP100)
IMUMPU6050 (6-axis, I2C)
BarometerBMP280
StorageMicroSD
Power regulationTPS54xx buck + AMS1117 LDO
DebugSWD/JTAG
ConnectivityUSB-C, UART x4, I2C, SPI

Outputs

  • 6x Servo/ESC channels
  • Dedicated PWM outputs
  • SPI bus reserved for radio telemetry

Tools

Designed entirely in KiCad (schematic capture + 4-layer PCB layout).

Status

🔧 Hardware design complete — firmware in progress.

Parts

93
QtyValueFootprintReferences
15100nFCapacitor_SMD:C_0402_1005MetricC1, C2, C3, C4, C5, C6, C7, C8, C9, C14, C15, C16, C17, C18, C19
11RResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR1, R2, R3, R4, R12, R13, R14, R15, R16, R17, R31
64KResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR25, R26, R27, R28, R29, R30
6Conn_01x04Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ2, J33, J34, J35, J36, J37
50.1uFCapacitor_SMD:C_0402_1005MetricC44, C46, C48, C49, C50
4MountingHoleMountingHole:MountingHole_2.5mm_PadH9, H10, H11, H12
310nFCapacitor_SMD:C_0402_1005MetricC13, C27, C30
3Conn_01x02Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ38, J41, J42
3FerriteBeadInductor_SMD:L_Eaton_MCL2012V1FB1, FB2, FB3
21nFCapacitor_SMD:C_0402_1005MetricC11, C12
222uFCapacitor_SMD:C_0402_1005MetricC20, C21
24.7uFCapacitor_SMD:C_0402_1005MetricC28, C29
247uFCapacitor_SMD:C_0402_1005MetricC22, C23
2Conn_01x06Connector_PinHeader_2.54mm:PinHeader_1x06_P2.54mm_VerticalJ39, J40
110uFCapacitor_SMD:C_0402_1005MetricC10
12.2nFCapacitor_SMD:C_0402_1005MetricC26
1220pFCapacitor_SMD:C_0402_1005MetricC51
122pFCapacitor_SMD:C_0402_1005MetricC25
14.7uHInductor_SMD:L_Neosid_Ms42L1
1AMS1117Package_TO_SOT_SMD:SOT-223-3_TabPin2U2
1BAT54CPackage_TO_SOT_SMD:SOT-23D5
1BMP280Package_LGA:Bosch_LGA-8_2x2.5mm_P0.65mm_ClockwisePinNumberingU10
1CCapacitor_SMD:C_0402_1005MetricC24
1Conn_01x09Connector_PinHeader_2.54mm:PinHeader_1x09_P2.54mm_VerticalJ30
1Conn_02x04_Odd_EvenConnector_PinHeader_2.54mm:PinHeader_2x04_P2.54mm_VerticalJ31
1Conn_02x09_Top_BottomConnector_PinHeader_2.54mm:PinHeader_2x09_P2.54mm_VerticalJ32
1Crystal_GND23Crystal:Crystal_SMD_3225-4Pin_3.2x2.5mmY1
1D_Schottky_FilledDiode_SMD:D_0603_1608MetricD6
1LEDLED_SMD:LED_0402_1005MetricD4
1LED_BLED_SMD:LED_0402_1005MetricD2
1LED_RLED_SMD:LED_0402_1005MetricD3
1MPU-6050Sensor_Motion:InvenSense_QFN-24_4x4mm_P0.5mmU11
1Micro_SD_CardConnector_Card:microSD_HC_Hirose_DM3AT-SF-PEJM5J3
1SD103ATWPackage_TO_SOT_SMD:SOT-363_SC-70-6D1
1STM32F407VGTxPackage_QFP:LQFP-100_14x14mm_P0.5mmU1
1SW_DIP_x01Button_Switch_SMD:SW_DIP_SPSTx01_Slide_Omron_A6S-110x_W8.9mm_P2.54mmSW2
1SW_DPDT_x2Button_Switch_SMD:SW_DPDT_CK_JS202011JCQNSW1
1TPS54336ADDAPackage_SO:TI_SO-PowerPAD-8_ThermalViasU3
1TestPointTestPoint:TestPoint_Bridge_Pitch2.54mm_Drill0.7mmTP1
1USBLC6-2P6Package_TO_SOT_SMD:SOT-666U6
1USB_C_Plug_USB2.0Connector_USB:USB_C_Receptacle_GCT_USB4105-xx-A_16P_TopMnt_HorizontalP1

Similar boards

  • 4 layers81 × 53 mmPratham, the printed circuit board in 3D

    Pratham

    PeriwalPratham/FlightController

    A basic PCB design which contains all components for a solo yet affordable basic drone controller

    102 partsMIT
  • 4 layers26 × 19.1 mmCanSat, the printed circuit board in 3D

    CanSat

    TanujRai14/Sat_pcb_design

    This repository contains the PCB design files and documentation for a Can Satellite, featuring multiple environmental and orientation sensors, power management, and wireless communication capabilities.

    35 partsCERN-OHL-S-2.0
  • 2 layers50 × 63 mmZenith Development Board, the printed circuit board in 3D

    Zenith Development Board

    zenitheesc/Zenith-Development-Board

    The Zenith Development Board was developed to serve as a first project for the new members of the group.

    69 parts3MIT
  • 2 layers50 × 50 mmFlight Controller, the printed circuit board in 3D

    Flight Controller

    sushs0305-arch/Flight-Controller-PCB-Design-using-STM32

    Custom 2-layer flight controller PCB designed using KiCad based on the STM32F405RGTx microcontroller for drone and embedded robotics applications.

    44 parts1
  • 4 layers49.5 × 29 mmXESC2, the printed circuit board in 3D

    XESC2

    ClemensElflein/xESC

    The xESC is an easy to use, low cost electronic speed controller (ESC) design for sensored brushless DC (BLDC) motors.

    114 parts378
  • 2 layers66.9 × 18 mmVoltage Regulator, the printed circuit board in 3D

    Voltage Regulator

    AnshS-2002/Voltage-Regulator---PCB-Design

    Welcome to the Voltage Regulator PCB Design repository! Here, we explore efficient and reliable ways to regulate voltage for various electronic applications.

    8 parts
  • 4 layers50 × 50 mmFlightController Drone, the printed circuit board in 3D

    FlightController Drone

    damnitzhemanth-oss/Flight_Controller

    Custom STM based flightcontroller designed from scratch.

    157 parts
  • 2 layers68 × 98 mmSpindle driver, the printed circuit board in 3D

    Spindle driver

    dougsthenri/spindle_driver_v1

    PCB project for a BLDC motor driver tailored for CNC spindle motors

    97 parts

Questions

How big is the Ex2 PCB?

It measures 71.4 × 80.3 mm and has 4 copper layers, 1.6 mm thick.

What parts does the Ex2 use?

93 parts, built around the BMP280, TPS54336ADDA, AMS1117 and MPU-6050. 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 Ex2 KiCad files?

From the zaidhajji/Custom-Flight-Controller-Design-STM32F407-KiCad repository on GitHub, at the commit this page was made from: the board is ex2.kicad_pcb and its schematic 2.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Ex2 design in my own project?

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