DIY Flight Controller for RC Drones & Planes
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
How the hell do you know all this?
Another impressive project. I like the way you take the challenging routes to gain more experience.
Keep making amazing videos!!
Amazing work, thanks for sharing ❤🔥
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!
Loving your content, keep it up bud
Awesome Jacob 👍🏼
thank you for the update
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.
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.
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!
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.
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
How did you learn to do these things, I’m interested in rocketry and engineering.
Is your flight controll board available to buy?
Nice.. Can you make stm32F401 based FC to support betaflight
Jacob Thornhill
Can you help me with building flight control? I have something questions.
Can we use inav Or other flight firmware
did you actually write the code for the flight computer or did you borrow it from stackoverflow ?
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
Thanks! Phil's Lab is a great channel for board design. He walks you through creating schematics, layouts and even how to order PCBs.
@@jacobthornhill thanks for the suggestion man
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.
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.
please make a pay course :)
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! :)
How to connect to you
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
Just a thought but you can probably just buy a drone frame if you can’t get a 3D printed drone frame to work.
4:37 try to use kalman filter
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!
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
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.
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
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.
4:07 complementary filter has gimbal lock issue
Take care
يا هندسة هو الحاجات دي هتتعلمها في embedded system
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.
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?
It shouldn't be too difficult to port to ardupilot since there is already stm32 support
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.
make a model fighter plane
Is he turning a RC into a drone?
"promo sm" ☀️
Only fans?
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.
Thank you! Sorry for the slow response. You can contact me at jacobtomthornhillyt@gmail.com