New GPS hold algorithms for the YMFC-32 DIY flight controller
HTML-код
- Опубликовано: 7 июл 2024
- After some weeks of trial and error I really got the GPS hold algorithms to work. I’m very pleased with the result. In the upcoming videos I will explain the workings of the GPS hold algorithms.
About my test quadcopters:
www.brokking.net/bain_test_qua...
The YMFC-32 playlist:
• YMFC-32 | a DIY 32-bit...
The YMFC-32 autonomous project page:
www.brokking.net/ymfc-32_auto_...
Setting up the Arduino IDE for uploading programs to the STM32:
• Getting started with t... Наука
i am not overacting when i say that you are giving some thing valuable to humanity
Thank you for your positive comments. Really appreciate them every time. And yes, when I started with drones this kind of information wasn't available. So I make this for every upcoming drone enthusiast :-)
i hope have a way to help , best wishes ^_^
Thank you for this video series. I watched and studied everything religiously. Helped me a lot in developing my own implementation of ymfc in a teensy 4.0 board. This video series is gold.
Dude, I wanna be you when I grow up! :) Someone should give you some "no strings attached" funding for an independent R&D lab. The breadth of your knowledge across so many disciplines of engineering is truly amazing. Thank you for sharing the wealth!
Thank you for your always uplifting comments! This really motivates me to keep going :-)
The community needs people like you man...
Hats off!!!
and Thanks.
waiting for the update video...
I've been following your project/channel for a long time. Way to go with the GPS update. I am REALLY impressed. Keep it up. I can't wait to see how far you take this.
Really impressive, especially at that ~1 meter level at the end. Remarkable! MANY THANKS!
Wie immer großartig. Hoffentlich bleiben Sie uns lange erhalten Herr Brokking. Alles gute.
You are great ! I have stated to build my own drone by learning from your videos
I implemented the YMFC-AL on my quadcopter and it works fine. I'm waiting for your next videos on GPS hold algorithms.
You certainly do invest a lot of time develloping & sharing this project with us, we really APPRECIATE the amont of effort you put on, THANKS
Yep, it's a ridicules amount of work..... But it's not worth doing if you don't do it right ;-)
What great news, great video and great progress .....Thanks again Joop
Good Job! Now it's time to upgrade from ymfc-al to ymfc-32.
You are really great, giving people such valuable information. I complete my College Project of Drone, following your videos of YMFC-32 AL. Thank You so much. I also aspect a lot of good from You. keep it Your journey of Success. God Bless You.
That looks very stable!
Leer ons alleen nog hoe, ere wie ere toekomt, de meeste respect te tonen. Petje af weer, alle respect.
Bedankt Rob!
So awesome!!!! This is amazing and a lot of work!
Thank man, it is indeed a ridicules amount of work. But it's so cool that I still love to do it :-)
Awesome job!! Thanks for share with us
Really looking forward to you publishing this! I don't have a drone and this would be perfect for a first project :)
Hey man... You are awesome... with your each new video... excitement get builds up... already ordered few STM32 blue pills... and waiting for moment you release source codes...
@Ravi_maker i am also working on ymfc-al. Just waiting for ESC. you know me on rcindia
Nice project! Algorithm is impressive :)
I am very impressed and always follow you. Hope it can be as stable as the DJ phantom in the future.
That will never be the case. DJI uses so many techniques that I will not use. And please don't forget that I want this code to be as simple as possible.
u are the official drone man of the planet !! hats off sir :)
That would be a cool title :-)
Sir You really deserve it.
nice , go ahead Joop !
Thank you very much
Inspiring Joop Brooking
Awesome... I really awaited your This project CODES and implement own project.... 😊😊😊
Just one word.
Wonderful.
Thanks Divyanshu!
Love u . Doing great jop friend
Hello i've been following you
Mooi bezig, Joop. Momenteel ben in de BMP280 aan het testen (of een chinese replica) om een soort diefstal alarm te maken. (Atmega328p + BMP280 + RF transmitter op een CR2032).
Doel is extreem low-power te zijn dus ik ben in deep sleep mode met een interrupt bezig en probeer zo native mogelijk te blijven qua spannig. Als het spanningsniveau laag genoeg is ga ik kijken of ik een PCB kan maken.
Ik gebruik een mechanische trillingsensor om de interrupt te triggeren en verdere analyse via de BMP280 te doen.
Werkt leuk, maar ik denk dat het beter kan.
De BMP280 heeft best veel ruis, dus de average berekening helpt wel maar het blijft wat grof.
Ik verwacht eigenlijk dat ik deze module ga vervangen met een eenvoudige gyroscoop met accelerometer.
Ik heb er 3 besteld; een 1 assige, 3 assige en 6 assige; hopend dat de 1 assige al doet wat ik wil. (bij verplaatsing alarm geven)
Klinkt als een uitdagend en mooi project!
nice job joop. How did you improve stability? Did you use kalman for gps?
Another question,
I saw many approaches on filtering, what do you think about quaternion based complementary filter? is it worth to implement on our drone?
For my project I'm trying to use the simplest filter method that works. This way everybody can understand it. Up till now I never felt the need for any other filter method than the good old complementary filter :-)
Sir what type of ppm converter you are using for T6?????or Can we use any any type of ppm converter???
Hey Joop, What is the max altitude of your quad??
Thanks a lot for sharing.
Just wanted to ask, have you ever given thoughts , for the arm programming and the rtos?
That will give you more stable and powerful use of the stm32.
And thanks for sharing with us.
I've always shared your videos with all the people who wants to build quads!
Cheers!
Thanks for the comment. For now I will focus on the STM32 first. It's cheap and easy to get. Porting it to another platform takes a lot of time because the registers are very different.
Joop Brokking yes, no need to shift to other platform, just use the core programming for stm32 than the Arduino. You will get more power then!
Hello. Where do i download and use that showing "YMFC-32 Telemetry" dos software.
wow that is great, how to master arduino programming ? to make fligh controller using arduino
I have a question for your balancing robot circuit ! What is « ACC » on your arduino mini pro clone ?? And where can i find this connection on an arduino uno ?
ACC is +5V. On the Arduino you can use the 5V pin.
Hoo ok thank you ! And can i use the a4988 driver instead of the drv8825 like in your circuit ? Can this be a problem with connections ?
Hallo Joop, ik heb de YMFC-AL gebouwd en vind deze fantastisch (binnenkort ga ik de YMFC-32 bouwen als Mn FTDI adapter innen is) maar ik heb een probleem, bij het aansluiten hoor ik vonken en ik zie brandplekken op de XT60 connectors, hoe kan ik dit voorkomen? Op internet las ik iets over capacitors, maar waar zou ik deze moeten plaatsen en hoeveel farad zouden deze moeten zijn?
Alvast bedankt, Connor B.
Hallo Connor, Hier zou ik mij niet te druk over maken. Dit is gewoon de vonk voor het opladen van de condensatoren van de ESC's. Bij alle stekkers komt dit voor en met condensatoren voorkom je dit niet. Wat je wel kan doen is heel snel de stekkers tegen elkaar drukken.
Oké, alleen vind ik het nogal raar dat dit elke keer gebeurd en dat Mijn batterij warm wordt, naar vuur ruikt en de connector er zwart van wordt
Hallo Joop,
Ik had een vraag; hoeveel ampere gaat er door de 'high current' draden heen en hoe dik heb jij die draden?
Alvast bedankt, Connor.
Oh ja, nog een vraag; kan ik ook een andere batterij gebruiken? Bijvoorbeeld een 3000mAh batterij?
Ik gebruik de draden die aan de ESC's zitten. De stroom kan oplopen tot ongeveer 15A en 1,5mm2 moet voldoende zijn.Ik vlieg zelf met een 3800mAh Lipo en dat gaat prima.
Bedankt!
Have you looked into using the Galileo positioning system? The accuracy that Galileo provides is 10cm up to 1 cm of I'm correct
You probably mean the RTK system from ublox? With standard 'single' GPS modules you will never get 1cm accuracy.
Joop Brokking nope I don't. I cant see Galileo in the data sheet of this module. Check out the specs here: nl.wikipedia.org/wiki/Galileo_(navigatiesysteem)#Vergelijking_met_andere_systemen
I always prefer to use the datasheet of the manufacturer in stead of Wikipedia. They are the ones who have to build it:www.u-blox.com/sites/default/files/NEO-M8-FW3_DataSheet_%28UBX-15031086%29.pdfAs you can see they haven't set a accuracy yet as the system isn't fully operational (2020). On the ESA site however they still talk about tens of centimeters in ideal situations.
Joop Brokking That is true, are you going for an upgrade by the time?
Any thoughts on making a small quadcopter that could safely fly indoors. I teach electronic and flying outdoors has a lot of rules about airports and cell towers. Thank you I love your channel. Maybe four or more ultrasonic sensors. Peace!
In the Netherlands we have a weight limit for "'unlimited" usage. You could check this in your own country. As adding extra sensors requires an enormous amount of time I will not add them for now. Hope you understand :-)
Thank you for replying! No worries! Love your channel. Keep up the great content.
R
Hi Joop, what happens to your Web site. Can't download any software for stm32.
My server is down for the moment. And it will take a while to get it running again. Very inconvenient :-(
Hello, I have been trying to build a *YMFC-AL* , but I have problems with the MPU6050.
Calibration went well, but when running the ESC calibration and typing 'r' will give us weird results when I was trying to test it by tilting. The value goes rapidly up, when i raise, for example, the front, and when I put it back, it goes all the way down over zero to some negative/positive value (around -35). Then, this number's distance to zero decreases over time and will return to zero after approx. 60 seconds.
Here is a graph of my values: ctrlv.cz/shots/2018/08/20/tbEu.png
I have tested the MPU6050 and it seems everything is all right. As I don't undersand the advanced mathematics, do you suspect where the problem should be? I hope I explained it correctly :)
Thank You very much for your help
If it overshoots it's angle the loop time of 4000us is exceeded. Make sure you have a 16MHz Arduino and set the correct board. You can only send one angle at a time from the flight controller code @57.6kbps. Otherwise the loop time is exceeded.
I have an Arduino Uno set up correctly to 16MHz and I am printing out the loop time every sixth loop (so I only send one serial message per loop). Sometimes, the loop runs 4004 us, and sometimes 4008 us. I have tried changing the waiting while to 3992, 3994 and 3996, it got better, but it works only for a few seconds, because it takes every time a different time. I suspect this is caused by Arduino's interrupt timer. Is this the problem? I also tried to measure the time even before the waiting while, and it was around 2200 us. So I don't think there is a problem with overshooting the loop time. Thanks for your answer and for your help :)
i am working with flagisalus on the project, i can send you video, of what it is doing, but basically when i tilt the quad copter to negative 45 degrees angle first few reading says the corect angle but the it starts to shift towards the positive 45 degree mark and when it reaches, it stops shifting and say +45 degree angle when i will level the quad again, ,it will say sth like 80 degree angle and then it will shift back to zero
The problem that you described in your first post is a loop timing problem. If you run the YMFC-AL setup program does it correctly detect the "left wing up", "nose up", and "nose right" movements?
@@Joop_Brokking yes it does, the setup process finished successfully.
Please sir reply me
And this is great. Could I get your email. So I could contact you. I'm building-drone-in-nepal