Open-source flight controller library for ESP32, RP2040, and STM32 microcontrollers, enabling DIY drone and aircraft builds.
Madflight is an open-source flight controller library designed for building DIY drones and aircraft using affordable microcontroller boards like ESP32, RP2040, and STM32. It provides a high-performance toolbox that handles low-level sensor and I/O management, allowing developers to focus on flight logic with minimal code. The project includes flight-tested examples for quadcopters and airplanes, enabling functional builds for under $10.
Hobbyists, makers, and developers interested in building custom drones or aircraft with microcontrollers, particularly those using ESP32, RP2040, or STM32 boards with Arduino IDE or PlatformIO.
Madflight offers a cost-effective, modular alternative to commercial flight controllers, with simplicity and extensive hardware compatibility as key advantages. Its open-source nature allows full customization, while the minimal code examples lower the barrier to entry for DIY flight controller development.
Flight Controller for ESP32 / Raspberry Pico / STM32
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Supports ESP32-S3, ESP32, RP2350, RP2040, and STM32 microcontrollers, allowing flexibility with affordable development boards like Raspberry Pi Pico.
Flight-tested example programs are only a couple hundred lines long, abstracting low-level sensor and I/O management so developers focus on core logic.
Enables functional DIY flight controllers for under $10 using readily available sensor breakout boards, as emphasized in the documentation.
Works with various IMUs (e.g., MPU6000, BMI270), RC receivers (e.g., ELRS, SBUS), and optional modules like GPS and barometers for customization.
The dev version is labeled 'bleeding edge' and not flight-tested, forcing users to rely on release versions for any semblance of stability.
Requires programming in Arduino IDE or PlatformIO with no GUI tools, which can be daunting for those accustomed to plug-and-play flight controllers.
Focuses on basic flight control; lacks built-in support for features like autonomous navigation or extensive telemetry compared to mature alternatives like Betaflight.