How I build my quadcopter with STM32 as flight controller.

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 พ.ย. 2024
  • Rebuilding my quadcopter with STM32 and Arduino. I am also planning to add GPS for navigation in next video. If you have any questions, please leave a comment!
    Besides GPS model addon, I am also considering adding a optical flow sensor for indoor stability. If you are interested in what I am doing. please subscribe this channel for further videos!
    Special thanks to Joop Brokking channel for a lot of inspiring information.
    / @joop_brokking
    The above link is his channel.
    The Great Unknown by Audionautix is licensed under a Creative Commons Attribution license (creativecommon...)
    Artist: audionautix.com/

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

  • @DonQuichotteLiberia
    @DonQuichotteLiberia 4 ปีที่แล้ว +1

    Genius. Madman. Comedian. Subscribed!

  • @technova913
    @technova913 2 ปีที่แล้ว

    Great content,,,,drop more videos buddy

  • @monoastro
    @monoastro ปีที่แล้ว +1

    What is that blue liquid you brushed the copper board with? If possible, can you share the detailed process behind making a custom pcb with the method as shown?

  • @ishandeshmukh2925
    @ishandeshmukh2925 ปีที่แล้ว

    I fell in love with this project ..can we make our own transmitter -receiver to reduce the cost ?

  • @rileydavidjesus
    @rileydavidjesus 2 ปีที่แล้ว

    Amazing video. What do you call the process of making the board with the water and silicone?

  • @EMRE-px7qh
    @EMRE-px7qh 3 ปีที่แล้ว

    You should use STM32 STEVAL-FCU001V1

    • @sheldonvon5232
      @sheldonvon5232  3 ปีที่แล้ว

      Indeed, my chip is a bit overqualified.

  • @marcusvinicius-ib1uk
    @marcusvinicius-ib1uk 2 ปีที่แล้ว

    muito bom o projeto eu fiz um com arduino seguindo tutorial do Joop Brokking tambem porem estou tentando fazer esse com o stm32 mas nao estou conseguindo teria como disponibilizar o circuito impresso e os codigos necessarios para funcionar forte abraço

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

    error : 2. how can i do to solve this problem. this is caused by main program loop exceded, even i never change or add on original codes

  • @NguyenHung-rz5uj
    @NguyenHung-rz5uj 4 ปีที่แล้ว

    I liked video. You can share PCB . Thank you

    • @sheldonvon5232
      @sheldonvon5232  4 ปีที่แล้ว

      Thanks! I cannot share now cause this is not a perfect version of my quadcopter. I will probably share my new version of PCB and code in my next quadcopter video. 😁

    • @NguyenHung-rz5uj
      @NguyenHung-rz5uj 4 ปีที่แล้ว

      @@sheldonvon5232 thank you

  • @antwidavid389
    @antwidavid389 3 ปีที่แล้ว

    Can you do a quadcopter build tutorial? Especially on that focuses in programming an arduino or raspberry pi to fly it

    • @sheldonvon5232
      @sheldonvon5232  3 ปีที่แล้ว +1

      Actually I'm already trying to do that. Thanks for the feedback ☺️

  • @alberto-escobar
    @alberto-escobar 4 ปีที่แล้ว

    I liked the video, did you use an open source firmware for the stm32 or did you code your own firmware?

    • @sheldonvon5232
      @sheldonvon5232  4 ปีที่แล้ว

      Thanks! I actually coded my own firmware.

    • @alberto-escobar
      @alberto-escobar 4 ปีที่แล้ว

      that's awesome! Could I see your code?

    • @sheldonvon5232
      @sheldonvon5232  4 ปีที่แล้ว

      Unfortunately, I accidentally deleted my code on this project. But I am now starting another quadcopter project with official HAL library. I will make another video and release the new code.

    • @alberto-escobar
      @alberto-escobar 4 ปีที่แล้ว +3

      @@sheldonvon5232 Oh no rip, I look forward to watching the that video when you upload it!

  • @jinchengau4225
    @jinchengau4225 4 ปีที่แล้ว

    Have you tried other flight controller as well? such as pixhawk or apm board

    • @sheldonvon5232
      @sheldonvon5232  4 ปีที่แล้ว

      No, mostly because it would not be challenging to use such boards. They are well developed and all you need to do is tuning the PID without writing any code.

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

    Which firmware,inav?

  • @nurashams4093
    @nurashams4093 2 ปีที่แล้ว

    Sourcecode mate, i need the code for starting...

  • @atreyibhattacharya6784
    @atreyibhattacharya6784 2 ปีที่แล้ว

    Hey that quad crash is similar to mine.I too used joop's code.Must be my fault :(

  • @jinchengau4225
    @jinchengau4225 4 ปีที่แล้ว

    nice pcb

  • @ПавликГерман
    @ПавликГерман 3 ปีที่แล้ว

    how much hours of works did it take in total?

  • @bohaman.
    @bohaman. 4 ปีที่แล้ว

    I apologize for bothering you but I noticed you have also watch Mr. Brooking videos I hope you can help me with an issue
    As you may have know, the drone suppose to hover near 1500. However after testing my drone started to hover around 1380. So when I enable auto take off the drone give me the error code number 7. So my only choice is to do a manual take off which I set the throttle at 1380. However when I set my throttle at 1380 and go to the mode 2 flight the quadcopter continue to climb up despite I move my throttle stick to the lowest position I constantly have to emergency shut down the quad copter.
    I have tried another way to enable the auto take off my just shift the parameter down. For example you have your as 1500 to 1700 I shifted down to 1300-1600. And I adjusted the equation off throttle = manual take off level + xxxx - 1380(which is the level my quad will hover). When I Do this the quadcopter do take off smoothly and hover about half a meter but when I switched to mode 2 it behave unpredictable. Sometime it dropped down and doesn't want to go up but if I move the throttle up it continue to go up despite I move the throttle down.
    I also made sure I mounted the altitude meter above the propeller and light proof it as well.
    I know it is a long message but I want you to know I didn't just ask you because I was lazy. I have tried everything way I know how but I just couldn't figure this one out.
    I am really thanksful for your help. I hope you have a great day

    • @sheldonvon5232
      @sheldonvon5232  4 ปีที่แล้ว

      Sorry for the late reply. I've been busy lately. I really wanna help you but actually my code is actually quite different from his code (I took his as reference only). However, I'll try my best to figure out your problem.

    • @sheldonvon5232
      @sheldonvon5232  4 ปีที่แล้ว

      Did u check if your barometer is working fine?

    • @bohaman.
      @bohaman. 4 ปีที่แล้ว

      Hello, thank you so much for replying and please no apologize you are helping me. I'm very grateful. And yes I checked all sensor and everythjng working as it should. I will try to make a video so you could see the behavior of the quad

    • @sheldonvon5232
      @sheldonvon5232  4 ปีที่แล้ว

      No problems, my friend! You could leave your email so we can be in touch.

  • @app213
    @app213 3 ปีที่แล้ว

    Vonny on your FC would you be able to flash already developed firmware such as betaflight etc?
    Also at hand I have a STM32F411CEU6 (black pill). I compared the pinouts of the chip to the blue pill MCU you're using. There is a couple of difference like the PB11 pin is not there (or is it labelled as something else?).
    I am a complete newbie to development, even though I got some idea. Most pins are similar to the blue pill, but maybe could you produce a schematics for the viewers with the black pill?

    • @sheldonvon5232
      @sheldonvon5232  3 ปีที่แล้ว +1

      I am actually building a new FC with this exact chip. It would be a fully open source project and I will make a new series of video about it.

    • @app213
      @app213 3 ปีที่แล้ว

      @@sheldonvon5232 F*king legend! Maybe you could include connections to GPS, Minim OSD, vtx, receiver, flash popular FW, etc, should be possible (a while back Drone mesh made a series on diy FC based on a F405 chip). (Also just noticed autocorrect made your name Vonny 😂)

    • @sheldonvon5232
      @sheldonvon5232  3 ปีที่แล้ว +1

      Haha, the Vonny really freaks me out, dude. For more details, I’m actually building a FC with optical flow sensor as well as laser distance measuring sensor, which allows you to fly indoor like DJI drones. My current work is mainly about the basic algorithms like sensor fusion, state estimation and etc., which are quite intriguing and challenging.

    • @app213
      @app213 3 ปีที่แล้ว

      @@sheldonvon5232 Laser guidance haha thought you taking the pis 😂 but nope you're serious! Awesome! You working on/ got a time frame for the upcoming vid?

    • @sheldonvon5232
      @sheldonvon5232  3 ปีที่แล้ว +1

      The laser unit is only for the measurement of height, laser guidance would require a laser radar, which is too heavy for common drones. The video would not come out too soon cuz I’m still stuck with the algorithms. 😂😂

  • @mohrifqi5379
    @mohrifqi5379 4 ปีที่แล้ว

    where can i buy a GPS like in this video?

    • @sheldonvon5232
      @sheldonvon5232  4 ปีที่แล้ว

      Please check if it is available on eBay or Amazon. It is a very common pixhawk GPS model.

    • @mohrifqi5379
      @mohrifqi5379 4 ปีที่แล้ว

      @@sheldonvon5232 I have bought many times but got a fake GPS, I am afraid it will happen again. can you give me the link of the shop where you bought the GPS? Please help me

    • @sheldonvon5232
      @sheldonvon5232  4 ปีที่แล้ว

      Many times? I'm so sorry to hear that. But I bought this from a Chinese shopping website actually. No idea if they can be delivered to your region. Please tell me how much were the GPS model that you bought (or the links to them) so I could give more advice.😁

    • @mohrifqi5379
      @mohrifqi5379 4 ปีที่แล้ว

      @@sheldonvon5232 Physically my GPS is the same as yours, but when I checked the firmware was not in accordance with the original. please tell the shop site where you bought the gps?

  • @rameshboina8832
    @rameshboina8832 3 ปีที่แล้ว

    @joop broking

  • @RandyBeardClips
    @RandyBeardClips 4 ปีที่แล้ว

    1. are you dead?
    2. can I see your code for this?
    i am very stupid and am trying to learn how to write my own flight controller
    peace

    • @sheldonvon5232
      @sheldonvon5232  4 ปีที่แล้ว

      I believe I'm still alive. My code is not perfect as you can see. But yes, I can show you the code.

  • @冯天亮-h8j
    @冯天亮-h8j 4 ปีที่แล้ว