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

แชร์
ฝัง
  • เผยแพร่เมื่อ 6 ก.ย. 2024
  • 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/pra...
    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

ความคิดเห็น • 84

  • @MrI8igmac
    @MrI8igmac 2 หลายเดือนก่อน +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  หลายเดือนก่อน

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

  • @explorerpragun431
    @explorerpragun431 8 หลายเดือนก่อน +4

    Great waiting for final testing

    • @pratikphadte
      @pratikphadte  8 หลายเดือนก่อน

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

  • @nikolaskupnjak7248
    @nikolaskupnjak7248 2 วันที่ผ่านมา

    Hi everyone. I have a problem with using IBusBM library with the ESP32 to get the transmitter values. I get an error code and it says that, for example, "timerAlarmEnable" was not declared in this scope. There is more error messages. Can someone help me because I can't find anywhere about my problem. Thanks in advance!

  • @keshavraina8829
    @keshavraina8829 8 หลายเดือนก่อน +3

    It is truly great work done by you.

    • @pratikphadte
      @pratikphadte  8 หลายเดือนก่อน

      Thank you Keshav!

  • @mind6861
    @mind6861 7 หลายเดือนก่อน +4

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

    • @pratikphadte
      @pratikphadte  หลายเดือนก่อน

      🤣 intrusive thoughts

  • @JonathanSvennerstam
    @JonathanSvennerstam 8 หลายเดือนก่อน +4

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

    • @pratikphadte
      @pratikphadte  8 หลายเดือนก่อน +3

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

  • @tsshadowff
    @tsshadowff 8 หลายเดือนก่อน +2

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

  • @pratiknaikplt2
    @pratiknaikplt2 4 หลายเดือนก่อน +2

    Nice work bro!

    • @pratikphadte
      @pratikphadte  4 หลายเดือนก่อน

      Thank you bro 🫡

  • @GeraMF
    @GeraMF 7 หลายเดือนก่อน +2

    the code is based on the carbon automatics

    • @pratikphadte
      @pratikphadte  7 หลายเดือนก่อน +2

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

  • @sashanksasi4837
    @sashanksasi4837 8 หลายเดือนก่อน +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  8 หลายเดือนก่อน +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.

  • @eraydurakk
    @eraydurakk 8 หลายเดือนก่อน

    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  8 หลายเดือนก่อน

      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.

  • @g.p.7880
    @g.p.7880 8 หลายเดือนก่อน +1

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

    • @pratikphadte
      @pratikphadte  8 หลายเดือนก่อน

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

    • @g.p.7880
      @g.p.7880 8 หลายเดือนก่อน +1

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

    • @pratikphadte
      @pratikphadte  8 หลายเดือนก่อน

      @@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 8 หลายเดือนก่อน +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  8 หลายเดือนก่อน

      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 8 หลายเดือนก่อน

      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  8 หลายเดือนก่อน

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

    • @Paberu85
      @Paberu85 8 หลายเดือนก่อน

      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 8 หลายเดือนก่อน

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

    • @pratikphadte
      @pratikphadte  8 หลายเดือนก่อน +1

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

  • @user-pb7pk2fq4e
    @user-pb7pk2fq4e 6 หลายเดือนก่อน +2

    Where can i find your github .

    • @pratikphadte
      @pratikphadte  5 หลายเดือนก่อน

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

  • @tsshadowff
    @tsshadowff 8 หลายเดือนก่อน

    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  8 หลายเดือนก่อน +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 ✌️

  • @priyanshuwaghdhare5458
    @priyanshuwaghdhare5458 6 หลายเดือนก่อน

    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  6 หลายเดือนก่อน

      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 6 หลายเดือนก่อน +1

      @pratikphadte Thank you so much, bro

    • @pratikphadte
      @pratikphadte  6 หลายเดือนก่อน

      @@priyanshuwaghdhare5458 best of luck 🤞

    • @priyanshuwaghdhare5458
      @priyanshuwaghdhare5458 6 หลายเดือนก่อน

      @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  6 หลายเดือนก่อน

      @@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 8 หลายเดือนก่อน

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

  • @deone-entity3935
    @deone-entity3935 หลายเดือนก่อน

    Hw you uploaded please make videos. Nice drone tho

    • @pratikphadte
      @pratikphadte  หลายเดือนก่อน

      Please Check the full start up guide

    • @deone-entity3935
      @deone-entity3935 หลายเดือนก่อน

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

    • @deone-entity3935
      @deone-entity3935 หลายเดือนก่อน

      Stm cide in esp32 possible?

    • @pratikphadte
      @pratikphadte  หลายเดือนก่อน

      @@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 8 หลายเดือนก่อน

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

    • @pratikphadte
      @pratikphadte  8 หลายเดือนก่อน

      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

  • @GlowShow5113
    @GlowShow5113 8 หลายเดือนก่อน

    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  8 หลายเดือนก่อน +1

      I had plenty of fails 😅🤣 but somehow it worked

  • @ornithopterindia
    @ornithopterindia 8 หลายเดือนก่อน

    👍great work.

  • @nischalnaik230
    @nischalnaik230 8 หลายเดือนก่อน

    Are you running multiwii on the software or own firmware?

    • @pratikphadte
      @pratikphadte  8 หลายเดือนก่อน +1

      I’m running my own code via Arduino ide

  • @tsshadowff
    @tsshadowff 8 หลายเดือนก่อน

    Bro please make your weekend video
    🙏🙏

    • @pratikphadte
      @pratikphadte  8 หลายเดือนก่อน

      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.
      th-cam.com/video/PZzsBIlAQK8/w-d-xo.htmlsi=GupEtOQOTVQ0fXl2

  • @tsshadowff
    @tsshadowff 8 หลายเดือนก่อน

    Bro when you will make video?
    🥺

    • @pratikphadte
      @pratikphadte  8 หลายเดือนก่อน

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

  • @Fr3ddieNicholson
    @Fr3ddieNicholson 8 หลายเดือนก่อน

    Very cool!

  • @tsshadowff
    @tsshadowff 8 หลายเดือนก่อน +1

    When you will reach home?

    • @pratikphadte
      @pratikphadte  8 หลายเดือนก่อน

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

  • @Prakashsunuwar-10
    @Prakashsunuwar-10 7 หลายเดือนก่อน

    This project edited bro perfectly udne banao

    • @pratikphadte
      @pratikphadte  7 หลายเดือนก่อน

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

  • @AnmolSrivastavVloggingTv
    @AnmolSrivastavVloggingTv 6 หลายเดือนก่อน +1

    bro need help stuck in codes

    • @pratikphadte
      @pratikphadte  6 หลายเดือนก่อน

      Yes , elaborate

  • @user-uq4ly2lk1n
    @user-uq4ly2lk1n 7 หลายเดือนก่อน +1

    good!

  • @Jeevan.k143
    @Jeevan.k143 8 หลายเดือนก่อน

    bro can u make a pcb for this project

    • @pratikphadte
      @pratikphadte  8 หลายเดือนก่อน +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 8 หลายเดือนก่อน

      @@pratikphadte ok bro

  • @tsshadowff
    @tsshadowff 7 หลายเดือนก่อน

    Making video ????
    Waiting

    • @pratikphadte
      @pratikphadte  7 หลายเดือนก่อน +1

      Yes i will release by this week

  • @sandiptobose2160
    @sandiptobose2160 8 หลายเดือนก่อน

    Bro what was the last image xdd

    • @pratikphadte
      @pratikphadte  8 หลายเดือนก่อน +1

      Editing effects 😂

  • @cyclerider5118
    @cyclerider5118 8 หลายเดือนก่อน

    Add gps in this flight controller

    • @pratikphadte
      @pratikphadte  8 หลายเดือนก่อน

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

  • @mind6861
    @mind6861 7 หลายเดือนก่อน

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

    • @pratikphadte
      @pratikphadte  7 หลายเดือนก่อน +1

      He’s just there to give moral support 😂