

Reciever
STM32F405 Flight Controller and NRF24 Transmitter
- Size
- 52.7 × 52 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 56
- Nets
- 79
- Pads
- 219
- Tracks, vias
- 975, 129
- Pours
- 2
- Routed
- Yes
- KiCad
- KiCad 10.0 (file 20260206)
- Created
- 28 Aug 2026
- Updated
- 30 Aug 2026
Overview
Reciever is an open-source printed circuit board by Harshil200619, from the Harshil200619/STM32-Custom-Drone repository on GitHub. It is a 2-layer board of 52.7 × 52 mm with 56 parts on 79 nets, routed with 975 tracks and 129 vias.
It is built around the AP2112K-3.3 and AO3400A. Its parts include 17 capacitors, 15 resistors, 9 connectors, 7 diodes and 4 transistors. It belongs with the robots and motor control boards and the STM32 boards of this library.
Main components
2README
README.mdCustom STM32F405 Quadcopter & NRF24 Transmitter
This repository contains the complete hardware schematics (KiCad) and flight firmware (C++/Arduino) for a custom-designed drone system. This project bypasses off-the-shelf flight controllers by using a scratch-built STM32F405 receiver board paired with a custom NRF24L01+ remote transmitter.
🌟 Project Highlights
- Custom Receiver PCB: An STM32F405RGT6-based flight controller designed in KiCad, integrating brushed motor MOSFETs, an MPU6050 IMU, and an NRF24L01+ radio.
- Rock-Solid RF Link: High-speed 250kbps NRF24L01+ communication with
Auto-ACKenabled for guaranteed packet delivery and real-time telemetry/LED connection status. - Advanced Firmware: Custom 250Hz non-blocking PID loop, dual-slope hover throttle mapping, and hardware-specific workarounds to eliminate timer and I2C/SPI bus collisions.
The Receiver (STM32 Flight Controller)
The receiver board is a custom PCB designed to handle RF decoding, IMU processing, and high-frequency motor driving simultaneously without hardware locking.
Hardware Architecture & Pinout:
- MCU: STMicroelectronics STM32F405RGT6 (Arm Cortex-M4, 168 MHz).
- Radio (Hardware SPI2): NRF24L01+ explicitly wired to
PB13(SCK),PB14(MISO), andPB15(MOSI) to prevent clock collisions with motor timers. - IMU (Custom I2C): MPU6050 gyro/accelerometer mapped to
PA5(SCL) andPA7(SDA) running at 100kHz for reliable boot-up calibration. - Power Delivery: AP2112K-3.3 LDO regulator with low-ESR bulk capacitors to prevent gate-drive voltage collapse during heavy motor loads.
- Motor Drivers: 4x N-Channel MOSFETs (AO3400A / IRLML6344) driving coreless brushed motors on standard timer pins
PA0,PA1,PA2, andPA3.
Firmware Features:
- Non-Blocking 250Hz Control Loop: A strict 4000µs flight timer ensures the PID loop runs consistently without starving the NRF24 radio of polling time.
- Thermal Mitigation: PWM frequency is lowered to 8kHz to cut MOSFET switching losses by 50%.
- Slew-Rate Limiting: Software throttle ramping prevents massive inrush current spikes that cause 3.3V LDO brownouts and resets.
- Dual-Slope Throttle Curve: Mid-stick (50%) on the remote is mathematically anchored to the drone's exact Hover PWM limit for smooth, predictable altitude control.
- Anti-Windup on Ground: I-term accumulation is mathematically locked to
0while the drone is idling on the ground, preventing it from flipping on takeoff.
The Transmitter (Remote Controller)
The transmitter reads raw analog inputs from joystick gimbals and securely transmits them to the drone.
Features:
- Fast ADC Reading: Uses 12-bit analog reads with bit-shifting to smooth out joystick noise.
- Payload Structuring: Packages Throttle, Yaw, Pitch, and Roll into a tight, lightweight
DataPacketstruct. - Real-Time Link Validation: The transmitter enforces
setAutoAck(true). If a packet fails to reach the drone, the onboard LED flashes rapidly to warn the pilot of signal degradation.
Repository Structure
├── Firmware/
│ ├── Receiver_Code/ # Flight controller code (PID, IMU, NRF24 RX)
│ └── Transmitter_Code/ # Joystick controller code (ADC, NRF24 TX)
│
├── Hardware/ # KiCad schematics, board layout (.kicad_pcb), and Netlists
│
└── README.mdParts
56| Qty | Value | Footprint | References |
|---|---|---|---|
| 6 | D_Schottky | Diode_SMD:D_SOD-123 | D1, D3, D4, D5, D6, D7 |
| 5 | 100nf | Capacitor_SMD:C_0805_2012Metric | C1, C2, C3, C4, C6 |
| 5 | 10k | Resistor_SMD:R_0805_2012Metric | R3, R8, R9, R10, R11 |
| 5 | Conn_01x02 | Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical | J3, J4, J5, J6, J7 |
| 4 | 100ohm | Resistor_SMD:R_0805_2012Metric | R4, R5, R6, R7 |
| 4 | AO3400A | Package_TO_SOT_SMD:SOT-23 | Q1, Q2, Q3, Q4 |
| 3 | 10uf | Capacitor_SMD:C_0805_2012Metric | C8, C9, C10 |
| 2 | 100nF | Capacitor_SMD:C_0805_2012Metric | C5, C16 |
| 2 | 2.2uf | Capacitor_SMD:C_0805_2012Metric | C7, C13 |
| 2 | 22pF | Capacitor_SMD:C_0805_2012Metric | C11, C12 |
| 2 | 5.1k | Resistor_SMD:R_0805_2012Metric | R1, R2 |
| 1 | 10 | Resistor_SMD:R_0805_2012Metric | R15 |
| 1 | 100k | Resistor_SMD:R_0805_2012Metric | R13 |
| 1 | 10uF | Capacitor_SMD:C_0805_2012Metric | C14 |
| 1 | 1uF | Capacitor_SMD:C_0805_2012Metric | C19 |
| 1 | 330 | Resistor_SMD:R_0805_2012Metric | R12 |
| 1 | 470uF | Capacitor_SMD:C_Elec_8x10.2 | C15 |
| 1 | 47k | Resistor_SMD:R_0805_2012Metric | R14 |
| 1 | AP2112K-3.3 | Package_TO_SOT_SMD:SOT-23-5 | U2 |
| 1 | Conn_01x04 | Connector_PinSocket_2.54mm:PinSocket_1x04_P2.54mm_Vertical | J9 |
| 1 | Crystal_GND24_Small | Crystal:Crystal_SMD_5032-4Pin_5.0x3.2mm | Y1 |
| 1 | GYRO MODULE | Connector_PinSocket_2.54mm:PinSocket_1x10_P2.54mm_Vertical | J8 |
| 1 | LED | LED_SMD:LED_0805_2012Metric | D2 |
| 1 | NRF MODULE | Connector_PinHeader_2.54mm:PinHeader_2x04_P2.54mm_Vertical | J2 |
| 1 | STM32F405RGTx | Package_QFP:LQFP-64_10x10mm_P0.5mm | U1 |
| 1 | SW_Push | Button_Switch_SMD:SW_SPST_FSMSM | SW1 |
| 1 | USB_C_Receptacle_USB2.0_16P | Connector_USB:USB_C_Receptacle_HRO_TYPE-C-31-M-12 | J1 |
More from Harshil200619/STM32-Custom-Drone
1- 2 layers120.8 × 59.4 mm

Similar boards
- 2 layers61 × 61 mm

- 8 layers50 × 50 mm

USB C PSU
LeoDJ/USB-C_PD_PSU
A 5-60V bidirectional buck-boost-converter, also capable of 240W USB PD EPR (48V 5A)
149 parts29 - 2 layers58 × 20 mm

CCCCPPPS MkII
BogdanTheGeek/CCCCPPPS
Cheap Crappy Constant Current Portable Programmable Power Supply
30 parts12MIT - 4 layers98 × 124.4 mm

Piberry.beepy
CarbonComputers/Piberry-12
PiBerry v12 marks the final and most refined revision of the PiBerry handheld Linux terminal. Designed with both form and function in mind, this version brings together the best elements of previous iterations while…
132 parts9MIT - 2 layers100 × 100 mm

- 4 layers60 × 56.1 mm

- 4 layers80.4 × 49.3 mm

- 2 layers84 × 98 mm

Questions
How big is the Reciever PCB?
It measures 52.7 × 52 mm and has 2 copper layers, 1.6 mm thick.
What parts does the Reciever use?
56 parts, built around the AP2112K-3.3 and AO3400A. 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 Reciever KiCad files?
From the Harshil200619/STM32-Custom-Drone repository on GitHub, at the commit this page was made from: the board is Hardware/Receiver/Reciever.kicad_pcb and its schematic Hardware/Receiver/Reciever.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the Reciever design in my own project?
Its repository states no licence, so its author keeps all rights: ask Harshil200619 before reusing the design.