Software
ESP-FC
From github.com/rtlopez/esp-fc (opens in a new tab)
- Drones and boats
- Firmware
- MIT
Open-source flight controller firmware for DIY multirotor drones, running on ESP32 and ESP32-S3 boards. It is built for hobbyists seeking a low-cost, high-performance controller.
Facts
- GitHub stars
- 905read on 28 Nov 2026
- Last update
- 27 Nov 2026Newest commit on master
- Maintenance
- Activea commit in the last 90 days
- Difficulty
- Intermediate
- Hardware it needs, as the project states it
- ESP32 or ESP32-S3 board, an MPU9250 SPI or MPU6050 I2C gyro, and a PDB with 5V BEC; a buzzer and electronic components are optional.
Checked on GitHub on 28 Nov 2026.
Licenses
- Code
- MIT (opens in a new tab)
Read by Robotheca from LICENSE (opens in a new tab) (MIT) at commit cd540da (opens in a new tab), on 28 Nov 2026.
- Commercial use
- Yes
At a glance
- What it is
- Runs on ESP32 and ESP32-S3 boards, with several other chips listed as experimental or obsolete.
- Supports many ESC protocols, including PWM, Oneshot, Multishot, Brushed and bidirectional Dshot.
- Accepts PPM, SBUS, IBUS and CRSF receivers, plus a built-in ESP-NOW receiver and WiFi configuration.
- Reads SPI and I2C gyro sensors such as MPU6050, MPU9250, ICM20602, ICM42688 and BMI160, reaching up to 4kHz loop rate with SPI gyro.
- Provides ACRO, ANGLE and AIRMODE flight modes, gyro filters, failsafe, blackbox logging and in-flight PID tuning.
- Mimics Betaflight 4.2 so it can be configured with the Betaflight Configurator, though it is not identical to Betaflight.
Robotheca's summary of the project's documents, not the creator's words.
- Robots on Robotheca
- No robot on Robotheca uses it yet.
- Licence
- MIT. Commercial use: Yes. Where it was read
- Install
- In the creator's words: The project's README (opens in a new tab)
- Maintenance
- Active, last commit on 27 Nov 2026.
Use it
How to install it, in the creator's words: The project's README (opens in a new tab)
Robotheca doesn't review code. Read it before running it.
Files and versions
- Repository on GitHubgithub.com/rtlopez/esp-fc (opens in a new tab)
- The version Robotheca readcd540da (opens in a new tab)
- Latest releasev0.2.1 (4 Feb 2025)
Robotheca read the repository at two versions: the summary at 07cb360 and the facts and the README at cd540da (read on 28 Nov 2026).
Robotheca never hosts the code: each link goes to the creator's own page.
The README
The creator's own README, copied as written: README.md by @rtlopez, at commit cd540da, under MIT (opens in a new tab). The original on GitHub (opens in a new tab).
Read the README here
ESP-FC Flight Controller
The mini, DIY, Low cost, ESP32 based, high performance flight controller for hobbyists.
Features
- Espressif targets (ESP32, ESP32-S3)
- ESC protocols (PWM, Oneshot125/42, Multishot, Brushed, Dshot150/300/600 bidirectional)
- PPM, SBUS, IBUS and CRSF Receivers
- Builtin ESP-NOW receiver and WiFi configuration read more... (opens in a new tab)
- SPI and I2C gyro modules support (MPU6050, MPU9250, ICM20602, ICM42688, ICM42670P, BMI160)
- Flight modes (ACRO, ANGLE, AIRMODE)
- Frames (Quad X)
- Betaflight configuration tool compatible (v10.10)
- Configurable Gyro Filters (LPF, Dynamic Notches, dTerm, RPM)
- Blackbox recording (OpenLog/OpenLager/Flash)
- Up to 4kHz gyro/loop on ESP32 with SPI gyro
- MSP and CLI protocol interface
- Resorce/Pin mapping
- In flight PID Tuning
- Buzzer, Led and voltage monitor
- Failsafe mode
Documentation
In this repository you can find firmware code that allows you to build your own flight controller. For convenience it mimics Betaflight 4.2 compability, so that it can be configured using betaflight-configurator (opens in a new tab). Also online blackbox-log-viewer (opens in a new tab) can be used to analyze blackbox logs. In most aspects it is similar to Betaflight, so that many configuration and tuning advices are helpfull here too. But you must be aware, that this software is not the same as Betaflight, there are some limitations and differences in functionality and performance.
[!IMPORTANT] Before you begin, read the following documentation carefully first!.
- Setup Guide (opens in a new tab)
- Wiring (opens in a new tab)
- CLI Commands (opens in a new tab)
- WIFI and ESP-NOW Receiver (opens in a new tab)
Join our Discord Channel (opens in a new tab) to get help
Quick Start
Requirements
Hardware:
- ESP32 or ESP32-S3 board
- MPU9250 SPI or MPU6050 I2C gyro (GY-88, GY-91, GY-521 or similar)
- PDB with 5V BEC
- Buzzer and some electronic components (optional).
Software:
- Betaflight Configurator (opens in a new tab) (v10.10)
- CH340 usb-serial converter driver (opens in a new tab)
Flashing
- Download and unpack selected firmware from Releases Page (opens in a new tab)
- Visit ESP Tool Website (opens in a new tab)
- Click "Connect" and choose device port in dialog
- Add firmware file and set Flash Address to
0x00 - Click "Program"
- After success power cycle board

Setup
After flashing you need to configure few things first:
- Configure pinout according to your wiring, especially pin functions, you can find more information in CLI Reference (opens in a new tab)
- Connect to Betaflight Configurator (opens in a new tab) and setup to your preferences,
- Test motors without propellers
- Have fun ;)
[!NOTE] Not all functions displayed in configurator are avalable in firmware. The rule of thumb is if you cannot change specific option in Betaflight Configurator, that means it is not supported. It usually rolls back to previous value after save. It is strongly recommended to follow setup guide (opens in a new tab).
Wiring diagrams
Supported Modules
- ESP32 - recommended
- ESP32-S3 - recommended
- ESP32-S2 - experimantal
- ESP32-C3 - experimantal, lack of performance, no FPU
- RP2350 - experimantal, partially works
- RP2040 - experimantal, lack of performance, no FPU
- ESP8266 - obsolete, no longer developed
Supported Sensors and Protocols
- Gyro: MPU6050, MPU6000, MPU6500, MPU9250, ICM20602, ICM42688, ICM42670P, BMI160
- Barometers: BMP180, BMP280, SPL06
- Magnetometers: HMC5883, QMC5883, AK8963, QMC5883P
- Receivers: PPM, SBUS, IBUS, CRSF/ELRS
- Esc Protocols: PWM, BRUSHED, ONESHOT125, ONESHOT42, MULTISHOT, DSHOT150, DSHOT300, DSHOT600
- GPS: M8, M9, F9 & M10(dual band, all constellations configurable by cli)
- Other protocols: MSP, CLI, BLACKBOX, ESPNOW
Issues
You can report issues using Github tracker (opens in a new tab). You can also join our Discord Channel (opens in a new tab)
Development
- Visual Studio Code
- PlatformIO (opens in a new tab) extension
- Git
Todo
- Altitude Hold
- GPS Navigation
- MS5611 barometer
- Balancing robot controller
Licence
This project is distributed under MIT Licence. Bear in mind that:
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Donations
If you like this project and you want it to be still developed, you can support me a little.
- BTC: 1Lopez7yPtbyjfLGe892JfheDFJMMt43tW
- LTC: LV3G3sJxz9AYpDMYUp8e1LCmerFYxVY3ak
Robotheca lists software as a reference: nothing is hosted or run here, and every fact links to where it was read.
