Skip to content

Espressif based budget flight controller

License

Notifications You must be signed in to change notification settings

Electrics-Eagles/esp-fc

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ESP-FC Flight Controller

The mini, DIY, ~$5 cost, ESP8266 based, high performance flight controller.

Features

  • Frames (Quad X)
  • Betaflight contiguration tool compatible
  • Receiver protocol (8 channel PPM)
  • ESC protocols (PWM, Oneshot125, Oneshot42, Multishot, Brushed, Dshot150, Dshot300, Dshot600)
  • Configurable Gyro Filters (LPF, Notch, dTerm)
  • Blackbox recording (OpenLog serial)
  • In flight PID Tuning
  • Flight modes (ACRO, ANGLE, AIRMODE, ARM)
  • Up to 2kHz gyro/loop in acro, 1kHz with accelerometer (level)
  • MSP protocol interface
  • Cli interface
  • Resorce mapping
  • Buzzer
  • Lipo voltage monitor
  • Failsafe

Requirements

Hardware:

  • Wemos D1 Mini board (D1 Mini Lite too, ESP-12 for experienced users)
  • MPU6050 I2C gyro (GY-88, GY-91, GY-521 or similar)
  • PDB with 5V BEC
  • Buzzer and some electronic components (optionally).

Software:

Flashing

Windows: download and unzip Espressif Flash Download Tools

ESP-FC Flashing

Configuration

After flashing you need to configure few things first:

  1. Configure pinout according to your wiring, especially pin functions, you can find more information in CLI Reference
  2. Connect to Betaflight Configurator and setup to your preferences,
  3. Test motors without propellers
  4. Have fun ;)

The rule of thumb is if you cannot change specific option in Betaflight Configurator, that means it is not supported.

Wiring diagram

ESP-FC Wemos D1 mini wiring diagram

Supported protocols

Protocol ESP8266 ESP32
UART Yes Yes
I2C Yes Yes
SPI - Yes
MSP Yes Yes
CLI Yes Yes
PPM (IN) Yes Yes
SBUS - Yes
IBUS - -
BLACKBOX Yes Yes
PWM (OUT) Yes Yes
ONESHOT125 Yes Yes
ONESHOT42 - Yes
MULTISHOT - Yes
DSHOT150 Yes Yes
DSHOT300 Yes Yes
DSHOT600 - Yes

Supported devices

Device ESP8266 ESP32
MPU6050/I2C Yes Yes
MPU6000/SPI - ?
MPU6500/I2C ? ?
MPU6500/SPI - ?
MPU9250/I2C ? ?
MPU9250/SPI - Yes
BMP280/I2C Yes Yes
BMP280/SPI - Yes
HMC5883/I2C Yes Yes
HMC5883/SPI - ?
AK8963/I2C - Yes

? - not tested

Issues

You can report issues using Github tracker

Development

Todo

  • Update documentation
  • Mixers: Quad+, Bicopter, Tricopter, Helicopter, Custom and more
  • Balancing robot
  • Serial Rx (IBUS)
  • Baro (MS5611)
  • GPS navigation
  • ESP32 board

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

About

Espressif based budget flight controller

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 72.2%
  • C 27.7%
  • Other 0.1%