GithubHelp home page GithubHelp logo

akleshsiingh / esp32-flight-controller- Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pratikphadte/esp32-flight-controller-

0.0 0.0 0.0 6.55 MB

Hi all, this a flight controller code for ESP32, there are test files as well for each sensor.

C++ 100.00%

esp32-flight-controller-'s Introduction

ESP32 flight controller

I have chosen ESP32 as a flight controller mainly because of its cost, wifi & BLE capabilities, and 80MHz clock speed which is 5 times faster than Arduino.

Code files

  1. Anglemode_flightcontroller_ver3 - This is the complete code for the ESP32 flight controller, you may have to upload additional libraries in your Arduino ide. when the code is uploaded in the ESP32, Make sure to give an initial 10s calibration time for the quadcopter to calibrate Gyro on a spirit level, now after 2 led blinks on the pin15 the quadcopter is ready for flight.
  2. receiver_pwm_esp32 - This code is independently to test the receiver & transmitter signals on serial monitor. connect the receiver to the esp32 board as mentioned in the schematic.
  3. measure_angles_mpu - IMU angle checker, connect the imu to the esp32 via the i2c protocal as mentioned in the schematic.
  4. Motors calibration - The motor's ESCs have to be calibrated before flight, such that they start simultaneously, run this code first and callibrate your ESC as per the proper procedure.
  5. Voltage measurement esp32 - this code will measure the voltage level of the Lipo 11v battery, you may have to adjust the code values of the resistors as per your -actual resistor values used in the circuit.

Safety First

The quadcopter motors & propellers have a lot of destructive energy, please test the code outdoors initially. make sure all propellers are in the correct direction as per the schematic. Recheck motor rotations before uploading the main code.

Youtube Video link

https://youtu.be/BcPTe-hTJGc?si=5ig9wEDCqvCX-sgO

esp32-flight-controller-'s People

Contributors

pratikphadte 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.