How to make ESP 32 DIY FLIGHT CONTROLLER PROTOTYPE #2 | Part 2

Sdílet
Vložit
  • čas přidán 11. 12. 2023
  • So I have learnt from my past mistakes and made this newer version of ESP32 flight controller. The code and setup remain the same.
    github.com/pratikPhadte/ESP32...
    Disclaimer- this is a basic code to help people understand the flight computation of a quadcopter using inexpensive development boards. It is not meant for professional purpose. Please verify all the information before taking a flight, please test the code outdoors and take necessary safety precautions, the quadcopter has lot of destructive energy.
    I have referred below giants for the code and overall understanding of the flight controller.
    Joop Brokking YT- / @joop_brokking
    Carbon Aeronautics YT- / @carbonaeronautics
  • Věda a technologie

Komentáře • 83

  • @keshavraina8829
    @keshavraina8829 Před 7 měsíci +3

    It is truly great work done by you.

  • @explorerpragun431
    @explorerpragun431 Před 7 měsíci +4

    Great waiting for final testing

    • @pratikphadte
      @pratikphadte  Před 7 měsíci

      Thank you Pragun!, I’ll be uploading soon.

  • @JonathanSvennerstam
    @JonathanSvennerstam Před 7 měsíci +4

    looks awesome man! would love to see this fly in action outside!🎉❤

    • @pratikphadte
      @pratikphadte  Před 7 měsíci +3

      Thanks a lot Jonathan 😊, I have flown it outside, this was my first prototype. It’s in this below video.
      czcams.com/video/BcPTe-hTJGc/video.htmlsi=qvFZg2ruszViY3Q4

  • @pratiknaikplt2
    @pratiknaikplt2 Před 2 měsíci +2

    Nice work bro!

  • @MrI8igmac
    @MrI8igmac Před 16 dny +1

    I started my esp32 build last weekend. I hope to start mpu6050 programming soon. This is a lot of fun. 😊 i posted a short vid, it starts as a hotspot and a web server for motor control

    • @pratikphadte
      @pratikphadte  Před 16 dny

      @@MrI8igmac this is good work! Interested to see what’s more to come. I subscribed and liked! Best of luck!!

  • @mind6861
    @mind6861 Před 6 měsíci +4

    Great work bud , what's up with the frog in the end 😂😂

  • @tsshadowff
    @tsshadowff Před 7 měsíci +2

    Pratik bro thanks for your help
    And I am waiting for your weaked video!
    (Sunday)

  • @ornithopterindia
    @ornithopterindia Před 7 měsíci

    👍great work.

  • @Fr3ddieNicholson
    @Fr3ddieNicholson Před 7 měsíci

    Very cool!

  • @uav.project8022
    @uav.project8022 Před 7 měsíci

    flysky ia6b is 5v logic. Did u use logic converter to connect 3.3v esp32. u can easily use ibus protocol to connect ia6b to esp32 via 1 wire. there is a pre made library for that

    • @pratikphadte
      @pratikphadte  Před 7 měsíci

      I used the supply from the esc to power the receiver, so directly it’s getting 5v.
      Yeah I should have used ibus, I wasn’t aware at that time I’ll test it out for the upcoming projects, thanks for letting me know.

  • @sashanksasi4837
    @sashanksasi4837 Před 7 měsíci +2

    Hello bro..... The project idea is awesome..... Is it possible to control that esp 32 module Using IOT...? Like using mobile as RC... Connecting esp 32 module and mobile to same wifi...?

    • @pratikphadte
      @pratikphadte  Před 7 měsíci +2

      Thank you! And yes absolutely, thats one of the best advantages of esp32. I will show how it’s very helpful in PiD tuning of the quad, in the upcoming videos.

  • @tsshadowff
    @tsshadowff Před 7 měsíci

    Can you make a video of connections and codding full Prossizor of making

    • @pratikphadte
      @pratikphadte  Před 7 měsíci +1

      Yes I’ll make one , if this video of mine receives good response and if there is good demand, I will make one.

  • @nischalnaik230
    @nischalnaik230 Před 7 měsíci

    Are you running multiwii on the software or own firmware?

    • @pratikphadte
      @pratikphadte  Před 7 měsíci +1

      I’m running my own code via Arduino ide

  • @priyanshuwaghdhare5458
    @priyanshuwaghdhare5458 Před 5 měsíci

    Bro i need help whenever i try to liftoff my drone it keeps tilting backwards on the ground and how we can simply tune the pid

    • @pratikphadte
      @pratikphadte  Před 5 měsíci

      Hello, seems like the issue with imu sensor placement or calibration.,make sure it is firmly fixed on the board, also ensure that initially when u plug in power, the quadcopter is kept on a Perfect flat surface, now , after 10s the led will blink twice and your drone is calibrated and try flying again. You can refer my startup guide video.
      For pic tuning u can refer my WiFi pid tuning video, if u have same f450 frame then my pid values will work fine

    • @priyanshuwaghdhare5458
      @priyanshuwaghdhare5458 Před 5 měsíci +1

      @pratikphadte Thank you so much, bro

    • @pratikphadte
      @pratikphadte  Před 5 měsíci

      @@priyanshuwaghdhare5458 best of luck 🤞

    • @priyanshuwaghdhare5458
      @priyanshuwaghdhare5458 Před 5 měsíci

      @pratikphadte Hello bro I wanted to ask if the drone flips upside down the motors will stop spinning automatically??? And does the code works on Arduino mega or stm32 microcontroller after I change pin configuration in the code

    • @pratikphadte
      @pratikphadte  Před 5 měsíci

      @@priyanshuwaghdhare5458 no the blades won’t stop unless and until you lower the throttle. Code might work, you have to replace the esp32servo library with the respective one

  • @tsshadowff
    @tsshadowff Před 7 měsíci

    Bro i need your help Please
    In my school there has Science exhibition at 3 January and I am making these prototype of drone with esp32 flight controller
    So please help me by making full explanation, Prossizor of making, codding and etc.
    I don't know anything about these but I am making drone with your videos only!
    I have purchased every thing that mention in these video, but problem is I don't know the connection and codes?

    • @pratikphadte
      @pratikphadte  Před 7 měsíci +1

      Hello bro, so I will make the video in this weekend, but you can refer my GitHub for the same, I’m putting some steps here which will help you.
      1. Download the .zip repository from my GitHub
      2. Open the repository and open the schematic pdf and do connection and soldering as per that schematic diagram. Make sure you keep the mpu6050 in the centre.
      3. Upload the receiver motor throttle code in the ESP32 , turn on your RC transmitter and confirm and make the motor directions and propeller directions with those mentioned in the schematic.
      4.now once all motor directions are okay and verified, fix the propellers as per the diagram.
      5. Upload anglemode flight controller code in the ESP32 , now place the quadcopter on a plane surface (very important) and give it power via battery, the led will blink fast and then it will stop, DO NOT touch the quadcopter now , after like 12 seconds the led will blink twice, now your mpu6050 calibration is done.
      Now slowly increase the throttle command on your receiver and fly your quadcopter.
      If it’s flipping suddenly, recheck your motor directions.
      If it’s very much wobly, it’s either due to PID values or the initial mpu6050 calibration. For Pid values you have to trial and error and for mpu6050 you have to place quadcopter on a spirit level plane and wait for 12 seconds till the led blinks twice and then run your quadcopter.
      Let me know if any help is required ✌️

  • @user-pb7pk2fq4e
    @user-pb7pk2fq4e Před 4 měsíci +2

    Where can i find your github .

    • @pratikphadte
      @pratikphadte  Před 4 měsíci

      My bad, i was a little busy. i have added the link in the description.

  • @GeraMF
    @GeraMF Před 6 měsíci +2

    the code is based on the carbon automatics

    • @pratikphadte
      @pratikphadte  Před 6 měsíci +2

      yes, it is. thanks to him i was able to incorporate it for esp32

  • @g.p.7880
    @g.p.7880 Před 6 měsíci +1

    Bro how to download programing code of this esp drone please tel me. Please reply bro..

    • @pratikphadte
      @pratikphadte  Před 6 měsíci

      Hello man, the code is on my GitHub, it’s in the video description.

    • @g.p.7880
      @g.p.7880 Před 6 měsíci +1

      @@pratikphadte what is the programing procedure of this esp drone bro. Can you please make a detailed video on this.

    • @pratikphadte
      @pratikphadte  Před 6 měsíci

      @@g.p.7880 ill make one later but for now you can refer these steps(quickstart)
      1. Download files from github
      2. Open the schematic and make circuit as per the shematic, refer the photos pdf as well for reference.(keep mpu in the centre of the board)
      3. load Anglemode_flightcontroller_ver3 code in the esp32 and get the quadcopter running.

  • @Paberu85
    @Paberu85 Před 7 měsíci +1

    What's the point considering there's no FPU in this controller? Basically all adequate flight controllers are built on STM for a reason.

    • @pratikphadte
      @pratikphadte  Před 7 měsíci

      I was not aware of this, thank you so much for mentioning it to me. I’m keen to know more shortcomings, can we connect on LinkedIn or some other platform to discuss on the same?
      I had chosen esp32 based on this article and the capabilities of the WiFi for further development.
      www.utmel.com/components/esp32-vs-stm32-which-one-is-better?id=1383#cat3

    • @P0K0
      @P0K0 Před 7 měsíci

      There is FPU in ESP32 but it only do addition 😂 and that too sooo much slow . So basically it's useless .
      Have to go with any arm32 based processor . "Raspberry Pi pico w" isn't an option beacuse Cortex M0 doesn't support fpu

    • @pratikphadte
      @pratikphadte  Před 7 měsíci

      @@P0K0 can you refer me to any source, that would be helpful.

    • @Paberu85
      @Paberu85 Před 7 měsíci

      STM have affordable options equipped with FPU starting from Cortex-M4 cores, not all of them, and only single precision floats AFAIK (doubles are done programmatically = extremely slow). Enough for FPV use cases in general.

  • @tsshadowff
    @tsshadowff Před 7 měsíci

    Please make a full making video of esp32 flight controller and these drone
    Please 🙏🙏🙏

  • @tsshadowff
    @tsshadowff Před 7 měsíci

    Bro, I want to make this flight controller
    Can you make a making video of it??

    • @pratikphadte
      @pratikphadte  Před 7 měsíci

      Yes I have told it briefly in this video, if you follow my GitHub and download the repository, you will find all the stuff there to use and make your own quadcopter

  • @tsshadowff
    @tsshadowff Před 6 měsíci +1

    When you will reach home?

    • @pratikphadte
      @pratikphadte  Před 6 měsíci

      😅Sorry bro will be a while till I make the new video, any problem you face, just message me on LinkedIn
      You can refer any diy f450 quadcopter built video and then refer my schematic in the GitHub.

  • @Jeevan.k143
    @Jeevan.k143 Před 7 měsíci

    bro can u make a pcb for this project

    • @pratikphadte
      @pratikphadte  Před 7 měsíci +2

      Making a PCB for this should be easy, you can refer my schematic on GitHub and start with any PCB making software like proteus.

    • @Jeevan.k143
      @Jeevan.k143 Před 7 měsíci

      @@pratikphadte ok bro

  • @tsshadowff
    @tsshadowff Před 6 měsíci

    Bro please make your weekend video
    🙏🙏

    • @pratikphadte
      @pratikphadte  Před 6 měsíci

      Hello, sorry I won’t be able to make the video this week, as I am not at home due to some matter. Till then please refer my GitHub and below video link for the build.
      czcams.com/video/PZzsBIlAQK8/video.htmlsi=GupEtOQOTVQ0fXl2

  • @tsshadowff
    @tsshadowff Před 6 měsíci

    Bro when you will make video?
    🥺

    • @pratikphadte
      @pratikphadte  Před 6 měsíci

      It will be a while bro, might be months😅 I’ll upload once I’m free

  • @user-uq4ly2lk1n
    @user-uq4ly2lk1n Před 6 měsíci +1

    good!

  • @Creativeprai
    @Creativeprai Před 5 měsíci

    This project edited bro perfectly udne banao

    • @pratikphadte
      @pratikphadte  Před 5 měsíci

      Sorry, what is edited? I didn’t get you

  • @GlowShow5113
    @GlowShow5113 Před 7 měsíci

    That would have been the end of your day if you didn’t hit that just right lol. The end of that quad at least.

    • @pratikphadte
      @pratikphadte  Před 7 měsíci +1

      I had plenty of fails 😅🤣 but somehow it worked

  • @sandiptobose2160
    @sandiptobose2160 Před 7 měsíci

    Bro what was the last image xdd

  • @deone-entity3935
    @deone-entity3935 Před 13 dny

    Hw you uploaded please make videos. Nice drone tho

    • @pratikphadte
      @pratikphadte  Před 12 dny

      Please Check the full start up guide

    • @deone-entity3935
      @deone-entity3935 Před 12 dny

      @@pratikphadte thanks 😊 can i add flight controller. Code stm32??

    • @deone-entity3935
      @deone-entity3935 Před 12 dny

      Stm cide in esp32 possible?

    • @pratikphadte
      @pratikphadte  Před 12 dny

      @@deone-entity3935 you have to check the pin mapping and, the thing is in the esp32 code I have used libraries that are specifically for esp32 like the WiFi library, esp32 servo library.
      I think it should work for normal flight controller easier than compared to WiFi pid tuning code, so give it a shot. With minimal changes you could get it working.

  • @tsshadowff
    @tsshadowff Před 6 měsíci

    Making video ????
    Waiting

  • @AnmolSrivastavVloggingTv
    @AnmolSrivastavVloggingTv Před 5 měsíci +1

    bro need help stuck in codes

  • @cyclerider5118
    @cyclerider5118 Před 7 měsíci

    Add gps in this flight controller

    • @pratikphadte
      @pratikphadte  Před 7 měsíci

      Yes I’m working on that, having trouble with altitude sensor for now

  • @mind6861
    @mind6861 Před 6 měsíci

    Great work bud , what's up with the frog in the end 😂😂

    • @pratikphadte
      @pratikphadte  Před 6 měsíci +1

      He’s just there to give moral support 😂