
ESP drone
hackclub/OnBoard
💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

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.
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.
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.
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 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.
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.
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.
| Qty | Value | Footprint | References |
|---|---|---|---|
| 8 | 10K | Resistor_SMD:R_0603_1608Metric | R5, R6, R8, R9, R10, R11, R20, R26 |
| 7 | 1K | Resistor_SMD:R_0603_1608Metric | R14, R15, R21, R22, R23, R24, R25 |
| 7 | 2.2uF | Capacitor_SMD:C_0603_1608Metric | C1, C2, C9, C10, C11, C12, C16 |
| 6 | LED | LED_SMD:LED_0603_1608Metric | D2, D7, D8, D9, D10, D11 |
| 5 | Conn_01x02 | Connector_JST:JST_GH_SM02B-GHS-TB_1x02-1MP_P1.25mm_Horizontal | J2, J3, J4, J5, J6 |
| 4 | 100K | Resistor_SMD:R_0603_1608Metric | R1, R12, R13, R17 |
| 4 | 1N4148WS | Diode_SMD:D_SOD-323 | D3, D4, D5, D6 |
| 4 | SI2302CDS-T1-GE3 | DroneProject:TO-236_VIS | U6, U7, U8, U9 |
| 3 | 10uF | Capacitor_SMD:C_0603_1608Metric | C5, C13, C15 |
| 3 | 5K | Resistor_SMD:R_0603_1608Metric | R2, R3, R7 |
| 2 | 100nF | Capacitor_SMD:C_0603_1608Metric | C3, C4 |
| 2 | 100nf | Capacitor_SMD:C_0603_1608Metric | C7, C8 |
| 2 | Conn_01x06 | Connector_PinHeader_2.54mm:PinHeader_1x06_P2.54mm_Vertical | J7, J8 |
| 1 | 0.1uF | Capacitor_SMD:C_0603_1608Metric | C14 |
| 1 | 10uf | Capacitor_SMD:C_0603_1608Metric | C6 |
| 1 | 22K | Resistor_SMD:R_0603_1608Metric | R18 |
| 1 | 2N7002DW | Package_TO_SOT_SMD:SOT-23-6 | Q2 |
| 1 | 3K | Resistor_SMD:R_0603_1608Metric | R16 |
| 1 | 470 | Resistor_SMD:R_0603_1608Metric | R4 |
| 1 | 47K | Resistor_SMD:R_0603_1608Metric | R19 |
| 1 | AO3401A | Package_TO_SOT_SMD:SOT-23 | Q1 |
| 1 | CP2102N-Axx-xQFN28 | Package_DFN_QFN:QFN-28-1EP_5x5mm_P0.5mm_EP3.35x3.35mm | U1 |
| 1 | ESP32-WROOM-32 | RF_Module:ESP32-WROOM-32 | U3 |
| 1 | MIC5219-3.3YM5 | Package_TO_SOT_SMD:SOT-23-5 | U2 |
| 1 | MPU-6050 | Sensor_Motion:InvenSense_QFN-24_4x4mm_P0.5mm | U4 |
| 1 | SS34 | Diode_SMD:D_SMA | D1 |
| 1 | SW_SPDT | Button_Switch_SMD:SW_SPDT_PCM12 | SW1 |
| 1 | TP4056 | DroneProject:SOP127P600X175-9N | U5 |
| 1 | USB_C_Receptacle_USB2.0_16P | DroneProject:USB_C_Receptacle_HRO_TYPE-C-31-M-12 | J1 |
The 73 most common of 121 parts.

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







jayanta525/dual-h-bridge
Dual H-Bridge Controller with IRF3205 and IR2104 MOSFET Driver, and with ATMega328P-AU PWM Controller
It measures 100.4 × 99.2 mm and has 2 copper layers, 1.6 mm thick.
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.
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.
Its repository states no licence, so its author keeps all rights: ask sushrutchhatkuli before reusing the design.