DIY Flight Controller for RC Drones & Planes

Sdílet
Vložit
  • čas přidán 4. 09. 2023
  • My latest PCB design, this time being a general-purpose flight controller.
    Thanks to PCBWay for sponsoring this project! Visit their website here: www.pcbway.com/
    Rocket flight computer video:
    • Flight Computer for a ...
    Rocket launch video:
    • Guided Model Rocket Fl...
    Support me on Patreon: / jacobthornhill
    Twitter: / jacbthornhill
  • Věda a technologie

Komentáře • 49

  • @johnwalter6410
    @johnwalter6410 Před 4 měsíci +12

    How the hell do you know all this?

  • @ianhorsley4751
    @ianhorsley4751 Před 10 měsíci

    Another impressive project. I like the way you take the challenging routes to gain more experience.

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

    Keep making amazing videos!!

  • @aswinzed8554
    @aswinzed8554 Před 10 měsíci

    Amazing work, thanks for sharing ❤‍🔥

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

    I would really love to see more bicopters with tilting rotors. They are a large controll theory challenge, still they look so cool. Looking forward to more videos!

  • @thodorisevangelakos
    @thodorisevangelakos Před 10 měsíci

    Loving your content, keep it up bud

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

    Awesome Jacob 👍🏼

  • @WilliamDye-willdye
    @WilliamDye-willdye Před 10 měsíci

    thank you for the update

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

    For testing I would recommend a model airplane since its flight is not heavily dependent on software like rotary wing drones. It can help you to gain experience and learn without so much trouble. But you would also need to learn a bit about aviation. Good design by the way, thanks for sharing.

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

    A quadcopter drone would likely be most challenging to diagnose and build, but integrating the Flight Controller on to an existing RC Plane frame would likely be a good 1st step to prove out the Flight Controller development.

  • @rizalardiansyah4486
    @rizalardiansyah4486 Před 10 měsíci

    I think, a fixed wing aircraft would be a good first step to test this new system. Especially knowing you have had trouble with the vibrations of four bldcs, trying to handle only one motor for now is wise!

  • @randomstatements8034
    @randomstatements8034 Před 8 měsíci

    You could try a flite test design for a model plane, since they are easy to make and cheap, so good in case of a crash. Im also currently working on a bicopter, so that could be interesting to try out.

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

    Hi Jacob,
    I am currently building a Tiny Fish FC with a flexible circuit board. The board is designed for an STM32F3 chip, however. I am not sure if the system will all have to be redesigned to run on an F4 or higher chip, with additional sensors. This system should weigh about 7 to 800mg or so when completed. I would like to adapt it to run on a Crossfire Nano rx, or flex-board version of that as well as a possible next step. It is for my Ion Propelled Vehicle. The ion propelled aircraft/thruster lifts its power supply vertically! It is very lightweight and fragile and nearly 5 feet in diameter. I will also have to figure out how to reprogram the signal outputs to move two actuators for switching/controlling HV that attenuate 4 outer quadrant segments of the craft, for pitch and roll, instead of driving ESCs. I was using Arduino/ Multiwii GUI programming with a lower frequency chipset, and two servos to control the craft, I then switched to actuators with digital to analogue converters to save weight. I would like to avoid the converters this time around though, perhaps by having just analogue outputs.
    Any help you may be able to offer would be greatly appreciated,
    Thanks!
    Ethan

  • @DingleBetty
    @DingleBetty Před 10 měsíci +1

    How did you learn to do these things, I’m interested in rocketry and engineering.

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

    Is your flight controll board available to buy?

  • @techntricks1194
    @techntricks1194 Před 9 měsíci

    Nice.. Can you make stm32F401 based FC to support betaflight

  • @leog1557
    @leog1557 Před 10 měsíci +1

    Jacob Thornhill

  • @S_polzoy
    @S_polzoy Před 10 měsíci

    Can you help me with building flight control? I have something questions.

  • @solovssquad-pubgmobile1391
    @solovssquad-pubgmobile1391 Před 7 měsíci

    Can we use inav Or other flight firmware

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

    did you actually write the code for the flight computer or did you borrow it from stackoverflow ?

  • @user-nq5hy7vn9k
    @user-nq5hy7vn9k Před 10 měsíci +2

    hey this is awesome. Can you tell me how can we learn about designing such boards and items? I seriously want to learn it as well

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

      Thanks! Phil's Lab is a great channel for board design. He walks you through creating schematics, layouts and even how to order PCBs.

    • @user-nq5hy7vn9k
      @user-nq5hy7vn9k Před 8 měsíci +1

      @@jacobthornhill thanks for the suggestion man

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

    Just a comment on firmware: I can't think of a single benefit to using DMA with a buffer of 2 bytes. You end up having to respond to one interrupt per byte anyway, so you may as well stick to using the USART's ISR instead. You still have to process each byte within a state machine for decoding the Crossfire protocol.

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

      I think your right! I started using DMA before realising I had to process each byte. I’ve since switched to a simple interrupt system.

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

    please make a pay course :)

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

    Bro very good thing you doing, but if your share with your software's that you use will be better an exm: software for 3d modeling, analyzing etc. (p.s. we know some apps but interesting with yours that using). Thanks +1 Subscriber you have now! :)

  • @rameshwarchoudhary531
    @rameshwarchoudhary531 Před 10 měsíci

    How to connect to you

  • @kermets
    @kermets Před 3 měsíci

    My Idea for you.....swap the main chip out for a AT32 which will half the cost of the FC and test out on a trainer plane.
    great work I'll take 10 units......lol....Brett

  • @xxbatman69xx98
    @xxbatman69xx98 Před 10 měsíci

    Just a thought but you can probably just buy a drone frame if you can’t get a 3D printed drone frame to work.

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

    4:37 try to use kalman filter

    • @rizalardiansyah4486
      @rizalardiansyah4486 Před 10 měsíci +1

      Yes, a kalman filter is better. But from other videos I've watched, these quadcopters tend to be quite stable which cause the kalman filter to basically be no different to a complementary filter. CMIIW!

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

    Can you custom design a flight controller board and remote for nano and mirco for me with schematic, Gerber file , code and firmware . I will pay

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

    I am working with a missionary group. We have a need to modify the location stored in the return to home function to a new location in the flight controller. I was wondering if you know, if this can be done with your drone control card.

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

      Are you messing with remoteID or? Anyhow you can read the TX pin of the GPS and parse NMEA. Then pass it off to the flightcontroller through another pin. I suggest getting a chip with multiple hardware uart ports. Something like a esp32 or similar

  • @piconano
    @piconano Před 2 měsíci

    Why? There are flight controllers with those chips already on them!
    If you want your channel to be recommended by YT, you have to upload often.
    The more often, the more the algorithm would recommend.

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

    4:07 complementary filter has gimbal lock issue
    Take care

    • @alishams3583
      @alishams3583 Před 9 měsíci

      يا هندسة هو الحاجات دي هتتعلمها في embedded system

  • @dmitrynuzhdin
    @dmitrynuzhdin Před 10 měsíci

    Huge like for not using Arduino. This is a great step forward. I also may recommend you switching to Rust at some point 😂 The support is not that good as very straightforward STM32 tools, but Rust is SO MUCH BETTER as a language compared to C.

  • @JacobMadsen
    @JacobMadsen Před 8 měsíci

    How much would this flight controller cost a lay man who's not sponsored by PCBWay? And would it be possible to flash it with Ardupilot?

    • @randomstatements8034
      @randomstatements8034 Před 8 měsíci

      It shouldn't be too difficult to port to ardupilot since there is already stm32 support

    • @jacobthornhill
      @jacobthornhill  Před 8 měsíci +1

      Probably about $25 if you want to place and solder the components yourself. Otherwise you will pay an additional $30 for assembly, plus the cost of the components.
      I'm not sure about Ardupilot! Definitely something I will try. The microcontroller will definitely be compatible, but I'm not too sure about some of the peripherals.

  • @aryankaushik9373
    @aryankaushik9373 Před 9 měsíci

    make a model fighter plane

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

    Is he turning a RC into a drone?

  • @marcs5210
    @marcs5210 Před 9 měsíci

    "promo sm" ☀️

  • @mbbopzzfnm2905
    @mbbopzzfnm2905 Před 10 měsíci +1

    Only fans?

  • @robosmartsystems8976
    @robosmartsystems8976 Před 9 měsíci +1

    Dear Mr. Thornhill, excellent work. Can I have your e-mail id please. I want to communicate. I want to learn this from you and want to contribute in your efforts.

    • @jacobthornhill
      @jacobthornhill  Před 8 měsíci +1

      Thank you! Sorry for the slow response. You can contact me at jacobtomthornhillyt@gmail.com