How pratikphadte/esp32-flight-controller- works
This repository is an ESP32 quadcopter flight controller. Its documented workflow is to calibrate the IMU, copy the resulting values into the angle-mode flight sketch, tune PID gains over WiFi, then prepare and fly the quadcopter. Separate sketches support receiver, IMU, ESC/motor, and voltage checks. The source excerpts were unavailable, so relationships below rely on the README; implementation details and unmentioned runtime calls are omitted.
Main entry points: Anglemode_flightcontroller_ver3.1.ino Angle-mode controller · Gyro_accelerometer_calibration.ino IMU calibration · reciever_pwm_esp32.ino Receiver signal check · measure_angles_from_mpu.ino IMU angle check
Components 14
Flight Control
- Angle-mode controller
src/Anglemode_flightcontroller_ver3.1.ino
Calibration & Tuning
- IMU calibration
src/Gyro_accelerometer_calibration.ino - WiFi PID tuning
test/anglemode_flightcontroller_ver3.1_PID_values_tuning_webserver/anglemode_flightcontroller_ver3.1_PID_values_tuning_webserver.ino
Bench Checks
- Receiver signal check
test/reciever_pwm_esp32/reciever_pwm_esp32.ino - IMU angle check
test/measure_angles_from_mpu/measure_angles_from_mpu.ino - ESC calibration
test/motor_calibration_esp32/motor_calibration_esp32.ino - Voltage check
test/Voltage_measurement_esp32/Voltage_measurement_esp32.ino - Complementary filter demo
test/complementry_filter_webserver/complementry_filter_webserver.ino
Other components
- Pilot
- ESP32
- IMU
- Receiver & transmitter
- ESCs & motors
- Voltage circuit
Connections 16
- Pilot → IMU calibration: runs calibration
README.md - IMU calibration → IMU: calibrates
README.md - IMU calibration → Angle-mode controller: supplies values
README.md - Pilot → WiFi PID tuning: tunes gains
README.md - Pilot → Angle-mode controller: uploads and flies
README.md - Angle-mode controller → ESP32: runs on
README.md - Angle-mode controller → ESCs & motors: controls in flight
README.md - Pilot → Receiver signal check: runs to verify
README.md - Receiver signal check → Receiver & transmitter: checks signals
README.md - Pilot → IMU angle check: runs to verify
README.md - IMU angle check → IMU: checks angles
README.md - Pilot → ESC calibration: runs to calibrate
README.md - ESC calibration → ESCs & motors: calibrates
README.md - Pilot → Voltage check: runs to validate
README.md - Voltage check → Voltage circuit: validates sensing
README.md - Pilot → Complementary filter demo: runs demo