Skip to the content
2 layers150 × 100 mmFalcon rc, the printed circuit board in 3D

[IN PROGRESS] High-performance flight controller for quadcopters, providing real-time stabilization and attitude control using FreeRTOS and C++ on STM32

Size
150 × 100 mm
Copper layers
2
Thickness
1.6 mm
Parts
78
Nets
69
Pads
331
Tracks, vias
890, 389
Pours
2
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
26 Jun 2025
Updated
20 Oct 2026

Overview

Falcon rc is an open-source printed circuit board by yedidiaSch, from the yedidiaSch/FalconDrone repository on GitHub, published under the MIT licence. It is a 2-layer board of 150 × 100 mm with 78 parts on 69 nets, routed with 890 tracks and 389 vias.

It is built around the ESP32-S3-WROOM-1-N8, NRF24L01P-R and AP2112K-3.3, with the BQ24073RGTR, DW01A and USBLC6-2SC6 among its other parts. Its parts include 25 resistors, 21 capacitors, 9 switches, 5 ICs and 4 connectors. It belongs with the robots and motor control boards and the ESP32 boards of this library.

Main components

8

README

README.md

FalconDrone - RTOS Based Flight Controller

Project Overview

FalconDrone is an ongoing development of a quadcopter flight control system built from scratch using the STM32F446RE (Nucleo) platform. The project focuses on implementing high-performance real-time estimation and control algorithms within a FreeRTOS environment.

The current milestone focuses on a "Studio-Tethered" stabilization mode, ensuring the drone maintains its attitude (Roll/Pitch) while secured to a test bench.

System Architecture

The firmware is designed with a modular, object-oriented approach in C++, emphasizing non-blocking operations and efficient resource management.

Key Features

  • Real-Time Kernel: Task management and scheduling via FreeRTOS.
  • Asynchronous I/O: MPU6050 IMU data acquisition using I2C DMA to minimize CPU overhead.
  • Thread-Safe Logging: Custom UART logging mechanism utilizing DMA and FreeRTOS Queues for non-blocking telemetry.
  • Attitude Estimation: Implementation of raw sensor data processing (Accelerometer and Gyroscope) for Roll/Pitch calculation.

Hardware Stack

  • MCU: STM32F446RE (ARM Cortex-M4 @ 180MHz)
  • IMU: MPU6050 (3-Axis Accelerometer & Gyroscope)
  • Frame: F450 Quadcopter Frame
  • Motors: A2212 1000KV Brushless Motors
  • ESCs: 30A Brushless XXD
  • Power: 3S Lipo 2200mAh 11.1V

Software Stack

  • Language: C++ / C
  • OS: FreeRTOS
  • Framework: STM32Cube HAL
  • Build System: CMake
  • Development Env: VS Code on Ubuntu

Current Status: Attitude Estimation Phase

The system currently performs the following:

  1. Initializes hardware peripherals (I2C, UART, DMA, GPIO).
  2. Starts the FreeRTOS scheduler.
  3. Continuously streams 14-byte IMU data packets via DMA.
  4. Processes raw data into Euler angles (Roll and Pitch).

Forthcoming Milestones

  • Sensor Fusion: Implementation of a Complementary Filter or Kalman Filter to reduce accelerometer noise and gyroscope drift.
  • PID Control: Development of the attitude control loop for motor speed regulation.
  • PWM Generation: Utilizing Timer peripherals to drive ESCs.

Setup and Installation

Prerequisites

  • GNU Arm Embedded Toolchain
  • CMake (minimum 3.10)
  • STM32CubeMX (for peripheral configuration)
  • OpenOCD / ST-Link Utilities

Building

bash
mkdir build
cd build
cmake ..
make

Parts

78
QtyValueFootprintReferences
11100nCapacitor_SMD:C_0603_1608MetricC4, C7, C9, C10, C11, C14, C17, C18, C19, C20, C21
61kResistor_SMD:R_0603_1608MetricR6, R7, R9, R21, R23, R25
510uCapacitor_SMD:C_0805_2012MetricC2, C5, C6, C8, C13
4100kResistor_SMD:R_0603_1608MetricR10, R11, R12, R15
4M3MountingHole:MountingHole_3.2mm_M3H1, H2, H3, H4
310kResistor_SMD:R_0603_1608MetricR5, R17, R18
21uCapacitor_SMD:C_0603_1608MetricC1, C15
2220kResistor_SMD:R_0603_1608MetricR13, R14
24.7kResistor_SMD:R_0603_1608MetricR19, R20
25.1kResistor_SMD:R_0603_1608MetricR1, R2
11.2kResistor_SMD:R_0603_1608MetricR3
11.5kResistor_SMD:R_0603_1608MetricR4
1100Resistor_SMD:R_0603_1608MetricR8
110nCapacitor_SMD:C_0603_1608MetricC12
1150kResistor_SMD:R_0603_1608MetricR16
118650Battery:BatteryHolder_Keystone_1042_1x18650BT1
122Resistor_SMD:R_0603_1608MetricR22
122uCapacitor_SMD:C_0805_2012MetricC16
14.7uCapacitor_SMD:C_0805_2012MetricC3
1600R@100MHzInductor_SMD:L_0603_1608MetricFB1
168kResistor_SMD:R_0603_1608MetricR24
17101 ARMfalcon_rc:Toggle_SPDT_P4.70mmSW8
17103 MODEfalcon_rc:Toggle_SPDT_P4.70mmSW9
1AP2112K-3.3Package_TO_SOT_SMD:SOT-23-5U4
1BACKButton_Switch_THT:SW_PUSH_6mm_H5mmSW7
1BOOTButton_Switch_SMD:SW_SPST_PTS810SW3
1BQ24073RGTPackage_DFN_QFN:VQFN-16-1EP_3x3mm_P0.5mm_EP1.6x1.6mmU2
1CPT-9019SBuzzer_Beeper:Buzzer_CUI_CPT-9019S-SMTBZ1
1DEBUG_UARTConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ2
1DOWNButton_Switch_THT:SW_PUSH_6mm_H5mmSW5
1DW01APackage_TO_SOT_SMD:SOT-23-6U3
1ESP32-S3-WROOM-1-N8RF_Module:ESP32-S3-WROOM-1U5
1FS8205APackage_SO:TSSOP-8_4.4x3mm_P0.65mmQ1
1MMBT3904Package_TO_SOT_SMD:SOT-23Q2
1OKButton_Switch_THT:SW_PUSH_6mm_H5mmSW6
1OLEDConnector_PinSocket_2.54mm:PinSocket_1x04_P2.54mm_VerticalJ4
1POWERButton_Switch_SMD:SW_SPDT_PCM12SW1
1RESETButton_Switch_SMD:SW_SPST_PTS810SW2
1STICK_LEFTfalcon_rc:Joystick_Alps_RKJXV122400xJS1
1STICK_RIGHTfalcon_rc:Joystick_Alps_RKJXV122400xJS2
1UPButton_Switch_THT:SW_PUSH_6mm_H5mmSW4
1USB-CConnector_USB:USB_C_Receptacle_HRO_TYPE-C-31-M-12J1
1USBLC6-2SC6Package_TO_SOT_SMD:SOT-23-6U1
1green PWRLED_THT:LED_D3.0mmD1
1nRF24L01+RF_Module:nRF24L01_BreakoutJ3
1red CHGLED_THT:LED_D3.0mmD2
1yellowLED_THT:LED_D3.0mmD4

More from yedidiaSch/FalconDrone

1
  • 4 layers45 × 45 mmFalcon fc, the printed circuit board in 3D

    Falcon fc

    yedidiaSch/FalconDrone

    [IN PROGRESS] High-performance flight controller for quadcopters, providing real-time stabilization and attitude control using FreeRTOS and C++ on STM32

    60 partsMIT

Similar boards

  • 2 layers64.5 × 120.5 mmX de link, the printed circuit board in 3D

    X de link

    Monacrylic/Pinscope-benchmark-circuits

    This repository contains a suite of sample KiCad circuits used as benchmarks for Pinscope.

    122 parts2
  • 2 layers62 × 6 mmTableLight, the printed circuit board in 3D

    TableLight

    jonny190/TableLight

    A 3D-printable, battery-powered, USB-C rechargeable table lamp in the classic "Poldina" shape - honeycomb disc base, thin stem, down-firing cone shade with a white top - running WLED on an ESP32, with a capacitive touch…

    72 partsMIT
  • 2 layers76.8 × 100 mmProject CV, the printed circuit board in 3D

    Project CV

    KazimGL/ESP32-PowerIoT-DevBoard

    ESP32 battery-powered IoT dev board with Li-ion charging, protection, and sensor support — designed in KiCad

    62 parts
  • 2 layers91.5 × 100 mmTrailmap, the printed circuit board in 3D

    Trailmap

    katetriestocode/trailmap

    this is the working version! (disclaimer: no antenna as it has not delivered yet, so manual gps coords insertion for now!)

    57 parts2
  • 4 layers70.9 × 75 mmFlagshep Audio Player V1, the printed circuit board in 3D

    Flagshep Audio Player V1

    HYLDAIC/Flagshep-V1_Audio-Player

    A high fidelity semi-portable audio player student project with provided PCB files, 3D files and Code

    77 parts1CERN-OHL-P-2.0
  • 2 layers51.1 × 95 mmTalk e, the printed circuit board in 3D

    Talk e

    milovanpms/talk-e

    📻 — A simple LoRa-based talkie-walkie built on ESP32, operating on the 433 MHz frequency band for long-range, low-power wireless communication.

    75 parts4
  • 2 layersSmartWatch, the printed circuit board in 3D

    SmartWatch

    AhmedOsama21998/SmartWatch-ESP32-S3-PCB

    ESP32-S3 smartwatch PCB with Li-ion battery charging, protection, and power management. Work in progress; sensor integration is planned.

    34 parts
  • 2 layers45 × 100 mmWalkiepcb, the printed circuit board in 3D

    Walkiepcb

    houseofthe051010/ESP32-Walkie-Talkie-V2

    This ESP32 Walkie Talkie is redesigned with a SX1262 radio, a PCB, and a full case redesign.

    93 parts1

Questions

How big is the Falcon rc PCB?

It measures 150 × 100 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Falcon rc use?

78 parts, built around the ESP32-S3-WROOM-1-N8, NRF24L01P-R, AP2112K-3.3 and BQ24073RGTR. 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 Falcon rc KiCad files?

From the yedidiaSch/FalconDrone repository on GitHub, at the commit this page was made from: the board is hardware/controller/falcon_rc.kicad_pcb and its schematic hardware/controller/falcon_rc.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Falcon rc design in my own project?

Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).