20 | This Arduino code is a vertical velocity drone flight controller

แชร์
ฝัง
  • เผยแพร่เมื่อ 23 ก.พ. 2023
  • Full code and manual on GitHub: github.com/CarbonAeronautics
    In this video, you will learn how you can program a vertical velocity drone flight controller.
    The purpose of this video series is to learn the basics behind a quadcopter drone and enable you to build one yourself, by dividing this challenging project in several easy-to-understand parts. You use the capable Teensy 4.0 microcontroller together with the easy-to-use Arduino language.
  • วิทยาศาสตร์และเทคโนโลยี

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

  • @debsarkar4893
    @debsarkar4893 7 วันที่ผ่านมา

    Some one give this guy something "The Best Open-Source Project On TH-cam" award or something like that. This guy is an absolute legend, hats off to you man, what and incredible and amazing series

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

    What an incredible series.

  • @luisguillermoballesteros1209
    @luisguillermoballesteros1209 3 หลายเดือนก่อน +1

    Hello, greetings from Colombia. Congratulations on the excellent series of videos for your Arduino-programmable and Teensy-controlled quadcopter. From the experience I have so far, yours is the best series on the subject I have seen so far. Not only because of your formidable practical tutorial, but also because of the mathematical foundations that you explain. Is there the possibility of adding GPS (to plan waypoints and autonomy), telemetry (with the transmitter or a ground station) and/or a companion computer (raspberry pi via MavLink and DroneKit)? To support your projects more directly you could continue with the series of videos and tutorials on Patreon, I will be one of the first to join.
    Again, thank you very much!

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

    Update! All my components or solder to the boards. When I went to calibrate, the ESC's one motor was shorted out because the screw was too long and touched the motor windings. So I had to place an order for a new motor and ESC. Getting close to finishing my build.

  • @user-ch9jn2qt8r
    @user-ch9jn2qt8r 3 หลายเดือนก่อน

    Ich habe die gesamte Serie studiert. Das ist einzigartig, einmalig, genial und VOLLSTÄNDIG!
    (Sie brauchen keine WAYPOINT! LOL!)

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

    Thank you! Really helpful!

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

    Thank You! From Frisco, TX

  • @ahmedsherif7732
    @ahmedsherif7732 11 หลายเดือนก่อน +1

    please continue the series with adding autonomous flight mode to the code

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

    perfect tutorial. Thank you and thank you

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

    Just a question out of curiosity, how would you design a controller for correcting the altitude measurement rather than the vertical velocity? Given that the motors speed x drone altitude relation is considerably non linear.

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

    So i have a question. For each code from your videos do you put them in one single tab and load them to arduino or do you break them up in multiple tabs and download it to the arduino/tensey? Please help me understand

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

    you created beautiful drone~ Carbonaeronautics- ))

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

    When I download the code into the Arduino IDE and try to compile it, it returns "'analogWriteFrequency' was not declared in this scope". Is there a video walking through the download to Arduino and compile?

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

    PLEASE DO A VIDEO ABOUT CONTROLLING THE DRONE USING ARDUINO CODE, MAKE IT AUTONOMOUS! amazing vids! thanks!

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

    Please upload the next video in this series

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

    Can it be replaced using an Arduino nano?

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

    hello sir i did exacetly you taught us in the video series but i am using 920 kv motor with 10 inch propellers and the frame i am using is f450
    .but is not stable and some times the motor speed automatically increases .i think its pid peoblem but i dont know how to resolve this please help me

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

    Hi, I built my own quadcopter using your code but with some differences. For example, I use a HC-06 bluetooth module instead of a radio and an Arduino NANO instead of a Teensy 4.0. I'm currently on the "third version" of the flight controller, ie the one that uses the barometer. But unfortunately, I can't fly yet, it behaves strangely and hardly stabilizes at all. I think it's because the PID coefficients are not set correctly (I also use my frame, motors, etc.). I don't remember seeing recommendations for their selection in the video, so I installed everything as in the video. On the 4-inch propellers, it ran away too fast and I used the motor shutdown button, and on the 3-inch ones, I noticed that it went into resonance just like the curve when you explained the PID controller. I will be very grateful if you can help me in any way.

    • @romaninlviv3761
      @romaninlviv3761 11 หลายเดือนก่อน +1

      Update: I went back to version 2 and it's much better, but during testing I broke one of the frame beams, so I'm on the mend now.

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

      @@romaninlviv3761how did it fly ??? Is it stable than the 3 vision,share your code i can also provide help.

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

      Do you mind sharing your code? Ive been trying to make mine fly as well, but I cant seem to get it to work

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

      @@sanderdude3901 It was so long ago that I threw it away, but I can say that there is nothing significantly different in my code than in the author's video. I used the standard XYremote code for bluetooth. Also I changed pc so I don't have access to the old code at the moment. But I am ready to assure you that they are absolutely useless.

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

    Dear Teacher! In Vietnam there is no tincy board, I use arduino nano. so can I replace pins 1,2,3,4 with pins A0, A1, A2, A3 to connect to ESC? Thank You Teacher

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

      No, A0 to A6 pins are dedicated for analog inputs, you can convert that analog value into digital one, I mean they can be also used as digital input.
      But, they can not be used as output in anyway
      For esc, use digital pins of your nano board.
      Thank you

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

    Please add a video explaining how to add a gps

  • @thorverhoeven3426
    @thorverhoeven3426 7 วันที่ผ่านมา

    i can't find the full code on github please someone help

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

    Please can you add a video on camera module setup in drone?

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

      You can use esp32-s cam module.
      By which you can get live video streaming to your smartphone. Videos for that are available on you tube
      Board is available in India at rate of 500₹, nearly 6 USD
      Thank you

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

    Hello, if anyone is having the error "Compilation error: no match for 'operator*' (operand types are 'BLA::Matrix' and 'bool')" when trying to compile the code on Arduino IDE, try installing version 3.7 of the BasicLinearAlgebra library by Tom Stewart. If you install the newest version, you will get this error, and if you install version 3.7, everything will run fine :)

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

      Or replace Invert() with Inverse(). I believe the API changed, and Invert() now modifies the original Matrix, while Inverse() creates a temporary matrix for that operation

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

    why do y'all ask him questions, he literally never answers lol

  • @FREE.PALASTINE.
    @FREE.PALASTINE. 4 หลายเดือนก่อน +1

    Can you sir please make a video how to add gps and camera and vtx parts and program it pleaaase