Parts

  1. Quadcopter kit QAV250 (ZMR250)
  2. Arduino Mega 2560
  3. ESP32 Dev Board (with power source)
  4. 3S LI-PO battery 11.1v 1300mAh 25C
  5. SP RACING F3 ACRO

Source code

  1. Arduino
  2. ESP32

Schema