MIT License

项目介绍

rtlopez/esp-fc 是一个托管在 GitHub 上的开源项目,主要使用 C++ 编写,采用 MIT License 许可证,目前获得 887 个 Star、208 次 Fork。

仓库全名
rtlopez/esp-fc
开源许可证
MIT License
Star 数
887
Fork 数
208
未关闭 Issue
27

README 摘要

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... SPI and I2C gyro modules support (MPU6050, MPU9250, ICM20602, ICM42688,…

完整内容见 GitHub 原始 README 或本页 。

常见问题

esp-fc 用什么语言开发?

主要使用 C++ 编写,采用 MIT License 许可证,目前有 887 个 Star。

esp-fc 可以免费商用吗?

仓库采用 MIT License 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 esp-fc 的源码?

可以直接克隆仓库:git clone https://github.com/rtlopez/esp-fc.git,默认分支为 master;安装与运行步骤见仓库 README。

esp-fc 最近还在维护吗?

仓库最近一次更新为 8 小时前,当前有 27 个未关闭 Issue;Star 数为 887,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

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

描述取自 GitHub 官方 API,保持仓库作者书写的原文。

简要分析

热度分
1331
价值分
596
活跃状态
活跃

语言占比

C
C++
Dockerfile
Python
Shell

Release

README

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…
  • SPI and I2C gyro modules support (MPU6050, MPU9250, ICM20602, ICM42688, 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. Also online blackbox-log-viewer 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!.

Join our Discord Channel 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:

Flashing

  1. Download and unpack selected firmware from Releases Page
  2. Visit ESP Tool Website
  3. Click “Connect” and choose device port in dialog
  4. Add firmware file and set Flash Address to 0x00
  5. Click “Program”
  6. After success power cycle board

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 in CLI Reference
  2. Connect to Betaflight 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. It is strongly recommended to follow setup guide.

Wiring diagrams

ESP-FC example 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, 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. You can also join our Discord Channel

Development

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

评论

暂无评论