Coder Social home page Coder Social logo

esp-fc's Introduction

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

esp-fc's People

Contributors

rtlopez avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.