Skip to the content
2 layers100.4 × 99.2 mmEspdroneea, the printed circuit board in 3D

Designed a custom ESP32-WROOM-32–based drone flight controller PCB featuring USB-C charging, regulated 3.3 V power delivery, and onboard IMU sensing using the MPU-6050. Currently fabricating the PCB and developing automatic stabilization firmware for attitude control.

Size
100.4 × 99.2 mm
Copper layers
2
Thickness
1.6 mm
Parts
121
Nets
101
Pads
374
Tracks, vias
946, 126
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
13 Jan 2026
Updated
17 Jan 2026

Overview

Espdroneea is an open-source printed circuit board by sushrutchhatkuli, from the sushrutchhatkuli/Custom-ESP32-drone-PCB repository on GitHub. It is a 2-layer board of 100.4 × 99.2 mm with 121 parts on 101 nets, routed with 946 tracks and 126 vias.

It is built around the ESP32-WROOM-32, SI2302CDS-T1-GE3-ES and MIC5219-3.3YM5, with the MPU-6050, TP4056 and 1N4148WS among its other parts. Its parts include 26 resistors, 16 capacitors, 11 diodes, 9 ICs and 8 connectors. It belongs with the robots and motor control and power boards and the ESP32 boards of this library.

Main components

9

README

README.md

Cheap Drone

I designed a custom drone flight controller PCB based on the ESP32-WROOM-32. The board uses USB-C charging, regulated 3.3 V power delivery, and onboard IMU sensing using the MPU-6050. The PCB is currently being fabricated, and I am actively working on automatic stabilization code for my motors.

Overview

The goal of this project was to design a low-cost, custom flight controller PCB for a quadcopter drone while gaining hands-on experience with power management, embedded hardware design, and PCB layout. Instead of using a real controller, I wanted to use a free app that can be downloaded from the App store since ESP32 supports Wifi and Bluetooth.

The design is organized into three main parts:

  • Power management
  • ESP32 control and programming
  • Motors and sensors

Power Management

Power management was a major focus of this design. The board uses a battery charging circuit along with a voltage regulator to safely power all components. The incoming voltage is regulated to 3.3 V using the MIC5219-3.3YM5, which supplies power to both the ESP32 and the MPU-6050.

When the board is connected to USB-C, the voltage passes through a Schottky diode (SS34) and reaches the gate of an AO3401A P-channel MOSFET. This turns the MOSFET off and disconnects the battery (+VBatt) from the system, allowing the drone to run directly from USB power while the battery is charging.

Battery charging is handled by the TP4056, which safely manages the LiPo charging process. Two LEDs connected to the TP4056 indicate whether the battery is charging or fully charged. When the USB cable is unplugged, the MOSFET automatically turns on, reconnecting the battery so it can power the system. Decoupling capacitors are placed throughout the power rails to reduce noise and improve voltage stability.

ESP32 Control and Programming

The +VBUS line is routed before the voltage regulator so it can supply 5 V power to the CP2102 USB-to-UART converter, which requires a higher voltage than the ESP32.

The USB data lines (D+ and D−) carry compiled code from the computer to the CP2102. The CP2102 converts this USB data into UART signals (TX and RX) that are sent to the ESP32. The RTS and DTR signals from the CP2102 pass through a 2N7002DW MOSFET, which automatically controls the EN and BOOT pins of the ESP32 during programming. This allows the ESP32 to enter firmware upload mode automatically and return to normal operation later without manual button presses.

The ESP32 acts as the main controller of the drone. It processes sensor data, controls motor outputs, and manages the overall behavior of the system. Orientation data from the MPU-6050 is used to adjust motor speeds for stabilization. I also added a UART2 (RXD2/TXD2) connector for future expansion and a four-channel SRV connector for motor control signals. Decoupling capacitors here on the 3.3 V rail help minimize noise from switching components.

Motors and Sensors

The MPU-6050 is used as a 6-axis IMU to measure acceleration and angular velocity. It communicates with the ESP32 over I²C using the SDA and SCL lines, with pull-up resistors included to ensure reliable communication. The sensor operates at 3.3 V and is powered from the regulated supply.

The MPU-6050 does not control the motors directly. Instead, it sends motion data to the ESP32, which determines how each motor should respond to keep the drone stable. The motors are powered directly from the battery (+VBatt) because they require higher current than the logic circuitry.

Each motor is driven using an SI2302 N-channel MOSFET, allowing low-power control signals from the ESP32 to switch high-current motor loads. The MOSFET gates are driven by the ESP32, the sources are connected to ground, and the drains connect to the motors and battery supply. Since motors generate voltage spikes when switching, flyback diodes are included to protect the MOSFETs and surrounding components.

Current Status

  • Schematic and PCB design completed
  • All ERC and DRC checks passed
  • PCB fabrication and soldering the components in progress
  • Automatic stabilization firmware under development

Future Work

  • Adding object-tracking cameras
  • 3D Mapping using SLAM
  • Perform flight testing and tuning
  • Rev B PCB improvements based on test results

Parts

121
QtyValueFootprintReferences
810KResistor_SMD:R_0603_1608MetricR5, R6, R8, R9, R10, R11, R20, R26
71KResistor_SMD:R_0603_1608MetricR14, R15, R21, R22, R23, R24, R25
72.2uFCapacitor_SMD:C_0603_1608MetricC1, C2, C9, C10, C11, C12, C16
6LEDLED_SMD:LED_0603_1608MetricD2, D7, D8, D9, D10, D11
5Conn_01x02Connector_JST:JST_GH_SM02B-GHS-TB_1x02-1MP_P1.25mm_HorizontalJ2, J3, J4, J5, J6
4100KResistor_SMD:R_0603_1608MetricR1, R12, R13, R17
41N4148WSDiode_SMD:D_SOD-323D3, D4, D5, D6
4SI2302CDS-T1-GE3DroneProject:TO-236_VISU6, U7, U8, U9
310uFCapacitor_SMD:C_0603_1608MetricC5, C13, C15
35KResistor_SMD:R_0603_1608MetricR2, R3, R7
2100nFCapacitor_SMD:C_0603_1608MetricC3, C4
2100nfCapacitor_SMD:C_0603_1608MetricC7, C8
2Conn_01x06Connector_PinHeader_2.54mm:PinHeader_1x06_P2.54mm_VerticalJ7, J8
10.1uFCapacitor_SMD:C_0603_1608MetricC14
110ufCapacitor_SMD:C_0603_1608MetricC6
122KResistor_SMD:R_0603_1608MetricR18
12N7002DWPackage_TO_SOT_SMD:SOT-23-6Q2
13KResistor_SMD:R_0603_1608MetricR16
1470Resistor_SMD:R_0603_1608MetricR4
147KResistor_SMD:R_0603_1608MetricR19
1AO3401APackage_TO_SOT_SMD:SOT-23Q1
1CP2102N-Axx-xQFN28Package_DFN_QFN:QFN-28-1EP_5x5mm_P0.5mm_EP3.35x3.35mmU1
1ESP32-WROOM-32RF_Module:ESP32-WROOM-32U3
1MIC5219-3.3YM5Package_TO_SOT_SMD:SOT-23-5U2
1MPU-6050Sensor_Motion:InvenSense_QFN-24_4x4mm_P0.5mmU4
1SS34Diode_SMD:D_SMAD1
1SW_SPDTButton_Switch_SMD:SW_SPDT_PCM12SW1
1TP4056DroneProject:SOP127P600X175-9NU5
1USB_C_Receptacle_USB2.0_16PDroneProject:USB_C_Receptacle_HRO_TYPE-C-31-M-12J1

The 73 most common of 121 parts.

Similar boards

  • 2 layers100 × 100 mmESP drone, the printed circuit board in 3D

    ESP drone

    hackclub/OnBoard

    💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

    130 parts915
  • 2 layers106.3 × 105.3 mmESPDrone OG, the printed circuit board in 3D

    ESPDrone OG

    judsonantu/KICADprojects

    This repo hols all the opensource projects i work with

    116 parts
  • 2 layers50 × 50 mmEsp32 drone, the printed circuit board in 3D

    Esp32 drone

    saravanan-x/esp32-drone-pcb_design

    61 parts
  • 2 layers102.4 × 102.4 mmMini drone, the printed circuit board in 3D

    Mini drone

    harris8099/Kicad-projects

    77 parts
  • 2 layers150 × 40 mmBicopter, the printed circuit board in 3D

    Bicopter

    InputBlackBoxOutput/Bicopter

    Design files for a PCB Bicopter

    79 parts1MIT
  • 2 layers96 × 63 mmDice, the printed circuit board in 3D

    Dice

    jobitjoseph/BLE-Dice

    An electronics dice with BluetoothLE connectivity.

    76 parts2
  • 2 layers98.8 × 55.1 mmH bridge controller, the printed circuit board in 3D

    H bridge controller

    jayanta525/dual-h-bridge

    Dual H-Bridge Controller with IRF3205 and IR2104 MOSFET Driver, and with ATMega328P-AU PWM Controller

    104 parts5MIT

Questions

How big is the Espdroneea PCB?

It measures 100.4 × 99.2 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Espdroneea use?

121 parts, built around the ESP32-WROOM-32, SI2302CDS-T1-GE3-ES, MIC5219-3.3YM5 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 Espdroneea KiCad files?

From the sushrutchhatkuli/Custom-ESP32-drone-PCB repository on GitHub, at the commit this page was made from: the board is Hardware/PCB/espdroneea.kicad_pcb and its schematic Hardware/PCB/espdroneea.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Espdroneea design in my own project?

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