
Fc f405 2026-10-16 1025
ara-mkr/f405-flight-controller
This is a flight controller I designed as a side project. It was fun and pretty challenging, and I'm planning to build a drone with it at some point!

A fully custom, low-level embedded hardware and firmware platform designed for autonomous multi drone swarms. The system integrates custom STM32-based flight controller PCBs, coreless DC motor drive arrays for a micro…
Swarm drone is an open-source printed circuit board by aniranaway, from the aniranaway/Drone_Swarm repository on GitHub. It is a 4-layer board of 45 × 49 mm with 108 parts on 94 nets, routed with 1,282 tracks and 166 vias.
It is built around the STM32F405RGT7, NRF24L01P-R and DWM3000, with the BMP581, GD25Q128ESIGR and ICM-42688-P among its other parts. Its parts include 38 capacitors, 25 resistors, 10 diodes, 7 ICs and 7 connectors. It belongs with the robots and motor control boards and the STM32 boards of this library.
A fully custom, low-level embedded hardware and firmware platform designed for autonomous multi drone swarms. The system integrates custom STM32-based flight controller PCBs, coreless DC motor drive arrays for a micro quadcopter form factor, Ultra-Wideband (UWB) 3D spatial localization, and custom control stacks built entirely from first principles—bypassing off-the-shelf flight controllers and third-party firmware stacks like PX4 or Betaflight.
Detailed engineering decisions and specifications are broken down in the docs/ directory:
This project follows a structured hardware-software co-design lifecycle, progressing from systems engineering and hardware fabrication to low-level control, state estimation, and multi-agent coordination:
Phase 1: Requirements & Component Selection (Completed)
Establish System Requirements Documents (SRD), execute trade studies for core components (MCU, IMU, UWB, Power), and calculate mass/power budgets.
Phase 2: Schematic Capture & Circuit Design (Completed) Design power regulation, coreless motor MOSFET drive arrays, RF layout rules for radio, SWD interfaces, sensor layouts, and dedicated test pads.
Phase 3: PCB Layout, Manufacturing & Board Bring-Up (In Progress) Perform 4-layer PCB layout with impedance matching, manage fabrication/assembly, and execute board bring-up (power rail verification, current draw checks, and SWD flashing).
Phase 4: Low-Level Drivers & Telemetry Baseline
Develop register-level/HAL SPI drivers for the IMU, I2C drivers for the barometer, PWM timer outputs for motor control, UART telemetry output, and status LED error handlers.
Phase 5: Airframe Assembly & Hardware Integration
Mount flight controllers to micro frames, wire motor connections, calibrate motor spin directions, and verify physical center of mass.
Phase 6: Advanced State Estimation & Flight Control
Implement digital low-pass filtering, build a custom Extended Kalman Filter (EKF) pipeline for IMU/Baro/UWB fusion, write cascaded PID controllers, and perform tethered flight tuning.
Phase 7: Swarm Simulation & Waypoint Planning
Develop simulation frameworks and Ground Control Station (GCS) telemetry interfaces to validate trajectory generation and collision avoidance prior to physical swarm deployment.
Phase 8: UWB Infrastructure & Multi-Agent Setup
Deploy and calibrate fixed indoor UWB anchors, assemble secondary flight hardware, and establish inter-node wireless communications.
Phase 9: Swarm Coordination & Autonomous Flight
Execute decentralized/centralized swarm algorithms for coordinated formation flight, multi-agent pathing, and real-time telemetry tracking.
arm-none-eabi-gcc) — Cross-compiler toolchain used to compile bare-metal C/C++ application logic into ARM Cortex-M machine code..ld), and hardware macros in a clean, maintainable structure..elf/.hex) to the STM32 MCU and provide a live GDB server over Serial Wire Debug (SWD) via ST-LINK.(Instructions for cloning, compiling with CMake, and flashing the STM32 will go here).
| Qty | Value | Footprint | References |
|---|---|---|---|
| 13 | 100n | Capacitor_SMD:C_0402_1005Metric | C1, C2, C3, C4, C5, C10, C14, C17, C20, C21, C24, C26, C38 |
| 8 | 10k | Resistor_SMD:R_0402_1005Metric | R1, R2, R5, R7, R16, R17, R18, R19 |
| 8 | 2k2 | Resistor_SMD:R_0402_1005Metric | R8, R9, R22, R23, R24, R25, R26, R27 |
| 6 | LED | LED_SMD:LED_0603_1608Metric | D5, D6, D7, D8, D9, D10 |
| 5 | 2u2 | Capacitor_SMD:C_0402_1005Metric | C8, C9, C11, C12, C18 |
| 5 | 4k7 | Resistor_SMD:R_0402_1005Metric | R3, R12, R13, R14, R15 |
| 4 | 10n | Capacitor_SMD:C_0402_1005Metric | C7, C16, C19, C29 |
| 4 | AO3400A | Package_TO_SOT_SMD:SOT-23 | Q1, Q2, Q3, Q4 |
| 4 | Conn_01x02_Socket | MotorJST:JST_S2B-ZR-3.4_LF__SN_ | J5, J6, J7, J8 |
| 4 | D_Schottky (C22452) | Diode_SMD:D_SMA | D1, D2, D3, D4 |
| 3 | 10u | Capacitor_SMD:C_0603_1608Metric | C6, C13, C15 |
| 2 | 1p | Capacitor_SMD:C_0402_1005Metric | C34, C37 |
| 2 | 27p | Capacitor_SMD:C_0402_1005Metric | C22, C23 |
| 2 | 4u7 | Capacitor_SMD:C_0603_1608Metric | C25, C27 |
| 2 | 8p2 | Capacitor_SMD:C_0402_1005Metric | C35, C36 |
| 2 | SM03B-SRSS-TB_LF__SN_ (C160403) | header:JST_SM03B-SRSS-TB_LF__SN_ | J4, J9 |
| 1 | +3v3 | TestPoint:TestPoint_Pad_1.0x1.0mm | TP7 |
| 1 | 100k | Resistor_SMD:R_0402_1005Metric | R21 |
| 1 | 120R | Inductor_SMD:L_0603_1608Metric | FB1 |
| 1 | 16MHz (C13738) | Crystal:Crystal_SMD_3225-4Pin_3.2x2.5mm | Y1 |
| 1 | 1k5 | Resistor_SMD:R_0402_1005Metric | R4 |
| 1 | 1n | Capacitor_SMD:C_0402_1005Metric | C30 |
| 1 | 1p5 | Capacitor_SMD:C_0402_1005Metric | C33 |
| 1 | 22K | Resistor_SMD:R_0402_1005Metric | R20 |
| 1 | 2n2 | Capacitor_SMD:C_0603_1608Metric | C31 |
| 1 | 2n7 | Inductor_SMD:L_0402_1005Metric | L1 |
| 1 | 33k | Resistor_SMD:R_0402_1005Metric | R6 |
| 1 | 33n | Capacitor_SMD:C_0603_1608Metric | C28 |
| 1 | 3n9 | Inductor_SMD:L_0402_1005Metric | L2 |
| 1 | 4p7 | Capacitor_SMD:C_0402_1005Metric | C32 |
| 1 | 8MHz | abm:ABM3B_ABR | X1 |
| 1 | 8n2 | Inductor_SMD:L_0402_1005Metric | L3 |
| 1 | ANT016008LCS2442MA1 | Antenna:ANT_ANT016008LCS2442MA1 | ANT1 |
| 1 | BMP581 | footprints:QFN10_BMP581_BOS | U4 |
| 1 | CE | TestPoint:TestPoint_Pad_1.0x1.0mm | TP4 |
| 1 | CS | TestPoint:TestPoint_Pad_1.0x1.0mm | TP5 |
| 1 | Conn_01x02_Pin | Connector_JST:JST_PH_S2B-PH-K_1x02_P2.00mm_Horizontal | J1 |
| 1 | DWM3000 | RF_Module:DWM1000 | DWM1 |
| 1 | GD25Q128ESIGR | GD25Q128:SOP8_208MIL_GDV | U6 |
| 1 | GND | TestPoint:TestPoint_Pad_1.0x1.0mm | TP8 |
| 1 | ICM-42688-P | ICM-42688-P:PQFN50P300X250X97-14N | U3 |
| 1 | INT | TestPoint:TestPoint_Pad_1.0x1.0mm | TP6 |
| 1 | MISO | TestPoint:TestPoint_Pad_1.0x1.0mm | TP1 |
| 1 | MOSI | TestPoint:TestPoint_Pad_1.0x1.0mm | TP2 |
| 1 | SCK | TestPoint:TestPoint_Pad_1.0x1.0mm | TP3 |
| 1 | STM32F405RGT7 | Package_QFP:LQFP-64_10x10mm_P0.5mm | U1 |
| 1 | SW_Push | Button_Switch_SMD:SW_SPST_TS-1088-xR020 | SW1 |
| 1 | TPS7A91 | Package_DFN_QFN:Texas_S-PDSO-N10_EP1.2x2mm_ThermalVias | U2 |
| 1 | VL53L1CXV0FY1 | Sensor_Distance:ST_VL53L1x | U5 |
| 1 | nRF24L01P | Package_DFN_QFN:QFN-20-1EP_4x4mm_P0.5mm_EP2.5x2.5mm | U7 |

ara-mkr/f405-flight-controller
This is a flight controller I designed as a side project. It was fun and pretty challenging, and I'm planning to build a drone with it at some point!

timex-sinclair-projects/TS-2068-Megabank
Battery-backed 4 MB expansion-bank RAM board for the Timex Sinclair 2068 (TS-Pico v3)

dan-stefanov/locatof-hw
Open-source localization project based on UWB Time-of-Flight ranging



ShifatHossain/AFE4404-tri-PPG
An AFE4404 and ESP32 PICO D4/V3 based device to acquire three wavelength PPG signal.


It measures 45 × 49 mm and has 4 copper layers, 0.79 mm thick.
108 parts, built around the STM32F405RGT7, NRF24L01P-R, DWM3000 and BMP581. 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 aniranaway/Drone_Swarm repository on GitHub, at the commit this page was made from: the board is hardware/swarm_drone.kicad_pcb and its schematic hardware/barometer.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 aniranaway before reusing the design.