Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Flight controller software for hobbyist - build your own flight controller.

License

NotificationsYou must be signed in to change notification settings

rtlopez/esp-fc

Repository files navigation

The mini, DIY, Low cost, ESP32 based, high performance flight controller for hobbyists.

Features

  • Espressif targets (ESP32, ESP8266, ESP32-S3, ESP32-S2, ESP32-C3)
  • ESC protocols (PWM, Oneshot125/42, Multishot, Brushed, Dshot150/300/600 bidirectional)
  • PPM, SBUS and CRSF Receivers
  • Builtin ESP-NOW receiver and WiFi configurationread more...
  • SPI and I2C gyro modules support (MPU6050, MPU9250, ICM20602, BMI160)
  • Flight modes (ACRO, ANGLE, AIRMODE)
  • Frames (Quad X)
  • Betaflight configuration tool compatible (v10.8-v10.10)
  • Configurable Gyro Filters (LPF, Notch, dTerm, RPM)
  • Blackbox recording (OpenLog/OpenLager/Flash)
  • Up to 4kHz gyro/loop on ESP32 with SPI gyro
  • MSP protocol interface
  • CLI Interface
  • Resorce/Pin mapping
  • In flight PID Tuning
  • Buzzer
  • Lipo voltage monitor
  • Failsafe mode

Requirements

Hardware:

  • ESP32 mini board or ESP8266 Wemos D1 mini or similar
  • 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:

Flashing

  1. Download and unzip selected firmware fromReleases Page
  2. VisitESP Tool Website
  3. Click "Connect" and choose device port in dialog
  4. Add firmware file and set Flash Address to0x00
  5. Click "Program"
  6. After success power cycle board

Note: only ESP32 and ESP8266 can be flashed in this way.

ESP-FC Flashing

Setup

After flashing you need to configure few things first:

  1. Configure pinout according to your wiring, especially pin functions, you can find more information inCLI Reference
  2. Connect toBetaflight Configurator and setup to your preferences,
  3. Test motors without propellers
  4. 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.

Here are more details abouthow to setup.

Wiring diagrams

ESP-FC example wiring diagrams

Supported chips

  • ESP32 - recommended
  • ESP32-S2 - experimantal
  • ESP32-S3 - experimantal
  • ESP32-C3 - experimantal, lack of performance, no FPU
  • RP2040 - experimantal, lack of performance, no FPU
  • ESP8266 - deprecated, may stop being developed

Supported Interfaces

InterfaceESP8266ESP32RP2040
UARTYesYesYes
I2CYesYesYes
SPI-YesYes

Supported Receiver Protocols

ProtocolESP8266ESP32RP2040
PPMYesYesYes
SBUSYesYesYes
CRSF (ELRS)YesYesYes

Supported Motor Protocols

ProtocolESP8266ESP32RP2040
PWMYesYesYes
BRUSHEDYesYesYes
ONESHOT125YesYesYes
ONESHOT42-YesYes
MULTISHOT-YesYes
DSHOT150YesYesYes
DSHOT300YesYesYes
DSHOT600-YesYes

Other Protocols

ProtocolESP8266ESP32RP2040
MSPYesYesYes
CLIYesYesYes
BLACKBOXYesYesYes
ESPNOWYesYes-

Supported Gyro devices

DeviceESP8266ESP32RP2040
MPU6050YesYesYes
MPU6000-YesYes
MPU6500YesYesYes
MPU9250YesYesYes
ICM20602YesYesYes
BMI160YesYesYes

Supported Baro devices

DeviceESP8266ESP32RP2040
BMP180YesYesYes
BMP280YesYesYes
SPL06YesYesYes

Supported Compass devices

DeviceESP8266ESP32RP2040
HMC5883YesYesYes
QMC5883YesYesYes
AK8963YesYesYes

Issues

You can report issues using GithubtrackerYou can also join to ourDiscord Channel

Development

Todo

  • Balancing robot
  • Serial Rx (IBUS)
  • ELRS telemetry
  • ESP32-S2/S3/C3 targets
  • Baro (MS5611)
  • GPS navigation

Licence

This project is distributed under MIT Licence. Bear in mind that:

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS ORIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THEAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHERLIABILITY, 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 THESOFTWARE.

Donations

If you like this project and you want it to be still developed, you can support me a little.

  • BTC: 1Lopez7yPtbyjfLGe892JfheDFJMMt43tW
  • LTC: LV3G3sJxz9AYpDMYUp8e1LCmerFYxVY3ak

[8]ページ先頭

©2009-2025 Movatter.jp