YMFC-AL - Build your own self-leveling Arduino quadcopter - with schematic and code

  Рет қаралды 556,638

Joop Brokking

Joop Brokking

8 жыл бұрын

Check out the GPS version: • How to build the YMFC-...
The YMFC-AL is an auto-leveling Arduino Uno based quadcopter that is easy to build and fun to fly. Auto leveling means that, when you release the sticks the quadcopter levels itself. This makes it much easier to fly.
The YMFC-AL is not a high level flight controller. The purpose of the YMFC-AL is to provide a simple and understandable code that is needed to build an Arduino based auto-level quadcopter flight controller.
Website: www.brokking.net/ymfc-al_main....
IMU part 1: • MPU-6050 6dof IMU tuto...
IMU part 2: • MPU-6050 6dof IMU tuto...

Пікірлер: 1 600
@darkonaire
@darkonaire Жыл бұрын
I've made a successful flight today after almost 2 months of figuring things out. I have no experience in drones whatsoever prior to this. The past weeks have been so frustrating attempting to fly drone as part of an objective in a grad school requirement. Thank you very much for this wonderful videos, its been frustrating yet fun experience..Thank you very much!
@abdalrahmankandil1989
@abdalrahmankandil1989 7 ай бұрын
Are these tutorials sufficient for me to build my drone, or did you use additional sources as well?
@chouhancreaters7289
@chouhancreaters7289 3 ай бұрын
You have made successfully your own drone... It is stable and fast response please reply.
@MomentumChaser0331
@MomentumChaser0331 3 ай бұрын
It’s Addicting
@thanhsangg
@thanhsangg 3 ай бұрын
Hi bro, I'm also making a drone for my project, I don't know how to adjust the motor vibration properly, and I also have a problem in the flight code, when I attach the propeller, when starting, the motor speed increases It goes up very quickly for a few seconds then stops, but without the propeller the code works normally. Thank you very much if you see my question.
@MomentumChaser0331
@MomentumChaser0331 3 ай бұрын
@@thanhsangg I hear you brother my one took off and turned over on my first run and now net to make adjustments
@vfThome
@vfThome 8 жыл бұрын
Man, I'm doing eletronic engeneering at UFSC ( I'm from Brazil ) and as a project of my transducers class I tried to find a good project to build and create a YT video about it. So far I'm very exited about your tutorial and schematics, so thank you a lot for taking your precious time to create this great tutorial, It really is helping me a lot with understanding about Quad's.
@AndradeAndre109
@AndradeAndre109 7 жыл бұрын
Concordo contigo melhor vídeo do youtube!!! Best KZbin Vídeo!!! Thank
@blurginouliz
@blurginouliz 6 жыл бұрын
Olá Marilene!
@Jay1830
@Jay1830 5 жыл бұрын
Did it go well ?
@danielschaben
@danielschaben 6 жыл бұрын
Worked for Arapahoe Public School in Nebraska!!! Thank you for sharing your code and Schematics! My students are standing on the shoulders of a giant for sure! Thank You!!!
@danielpereira2793
@danielpereira2793 4 жыл бұрын
Just finished my quadcopter and all I have to say is THANKS. it flies perfectly, followed this step by step and the result is amazing, i'm really happy right now. Congratulations for this series.
@faroukfarid6452
@faroukfarid6452 3 жыл бұрын
Please can you tell me if you used same parameters of pid controller?
@ccWaa77
@ccWaa77 2 жыл бұрын
I just finished my first test and it's flying. I'm super happy but I'm even happier to know that there are people who provide such documentation for such a great project, thanks a lot Joop, the real MVP on earth.
@abdullahjan9793
@abdullahjan9793 2 жыл бұрын
Hi can u tell me were u got the codes for ardrino because i am having hard time finding them
@cinthiaquinde5419
@cinthiaquinde5419 Жыл бұрын
Hi have you change the pid values?
@danielschaben
@danielschaben 6 жыл бұрын
My High school Seniors in Arapahoe Nebraska built and flew this!!! It worked great, and was a great project. You did just enough (All) of the heavy lifting to keep it accessible to high school students with little programming background. Took us about a 6 weeks (30 classroom hours) with three students and myself to build and then debug it (Most of the time was finding the errors and fixing them). I gave students very little instruction and just let them build from your site and others. Great Experience!
@Joop_Brokking
@Joop_Brokking 6 жыл бұрын
Thank you for sharing this story. It really keeps me motivated.
@tarundhiman1140
@tarundhiman1140 5 жыл бұрын
Please reply!! CAN I resetup my quad because when I send r in esc calibration the roll and pitch sticks are at 2000ms
@param5561
@param5561 7 ай бұрын
how old were they?
@itamakatz
@itamakatz 3 жыл бұрын
I do not normally like a video nor comment on it, but this sure does deserve adequate recognition. The maker did a very good job both in the software and with the documentation. Well done.
@param5561
@param5561 7 ай бұрын
respect
@juanramirezjardua2082
@juanramirezjardua2082 7 жыл бұрын
Hi Joop. Thanks for sharing your experience. I'm just starting in the drone world, but you've saved me a lot in the learning path. I'll use your concepts in my designs, and I'll use your lessons learned. What I got from your videos is that Arduino uno could be slow for managing receptor, sensors, motor control and the algorithms for navigation, so I'll try to start from the beginning with distributed processing and/or faster processors. Thanks again, Juan.
@pradhanparesh2010
@pradhanparesh2010 6 жыл бұрын
Thanks a lot Joop!!. I ran the setup program and below are the output for gyro configuration Gyro calibration =================================================== Don't move the quadcopter!! Calibration starts in 3 seconds Calibrating the gyro, this will take +/- 8 seconds Please wait.................... Axis 1 offset=67.15 Axis 2 offset=-36.96 Axis 3 offset=-45.95 =================================================== Gyro axes configuration =================================================== Lift the left side of the quadcopter to a 45 degree angle within 10 seconds OK! Angle detection = 2 ( Axis inverted = no Put the quadcopter back in its original position Move stick 'nose up' and back to center to continue Lift the nose of the quadcopter to a 45 degree angle within 10 seconds OK! Angle detection = 1 Axis inverted = no Put the quadcopter back in its original position Move stick 'nose up' and back to center to continue Rotate the nose of the quadcopter 45 degree to the right within 10 seconds OK! Angle detection = 3 Axis inverted = no Put the quadcopter back in its original position Move stick 'nose up' and back to center to continue =================================================== LED test =================================================== The LED should now be lit Move stick 'nose up' and back to center to continue =================================================== Final setup check =================================================== Receiver channels ok Gyro axes ok =================================================== Storing EEPROM information =================================================== Writing EEPROM Done! Verify EEPROM data Verification done Setup is finished. You can now calibrate the esc's and upload the YMFC-AL code. Can you please let me know gyro axes are Ok? In your video Angle detection is 1,2 and 3 but in may case it is 2 , 1 and 3. In your case Axis inverted - No, Yes and Yes but in my case all No. Let me know if the above setup output is correct for gyro configuration. Thanks in advance.
@harshsparikh
@harshsparikh 5 жыл бұрын
This was so well explained. Good Job Bro
@williamna5800
@williamna5800 8 жыл бұрын
This is a great idea. A quad that can be home built from very cheap parts and electronics. All the while giving step by step instructions in an easy to understand diy way for each and every step. Simply awesome. The only problem I can see is there may be a lot of new flyers banging quads into everything :D
@EmptySetOutdoors
@EmptySetOutdoors 7 жыл бұрын
You are awesome. I am just now gathering parts. I just wanted to say thank you so much for all you video and document.
@sparkyws
@sparkyws 4 жыл бұрын
Joop I have to thank you for these amazing tutorials, 2 months ago I had never even heard of an Adruino never mind ever flown a quadcopter. I have just finished building and learning to fly my very own Adruino based Quadcopter thanks to you! And you know what, it flies fantastically. Its been a doddle to make because of your intuitive videos and web site and I have loved doing it I really have, cheers mate. I do have one question though when I up the pid_i_gain_roll above 0.00 even by .01 it lurches/rolls to the right and I can't control it. Thank You for teaching me so much, I am going to go autonomous next..Ps doing this has kept me sane with all these coronavirus problems..Keep safe..
@abdalrahmankandil1989
@abdalrahmankandil1989 7 ай бұрын
Are these tutorials sufficient for me to build my drone, or did you use additional sources as well?
@srivardhanmandapalli8364
@srivardhanmandapalli8364 7 жыл бұрын
My quadcopter flies perfectly but after some time (around 1 to 2 min) suddenly all motors stop , it falls off and get crashed. All motors are rotating in correct direction and connections are perfectly soldered . What might be the reason for this sudden switch off. I read all Q/A and all comments but did not find solution for this
@KongaRaju
@KongaRaju 5 жыл бұрын
Even I am facing same issue
@gullwarinakhan9271
@gullwarinakhan9271 5 жыл бұрын
I will give u answer plz replace the wire of receiver mean voltage and ground wire try to replace them both waire and connect new waire in the same place ur issue will be solved thank you
@gullwarinakhan9271
@gullwarinakhan9271 5 жыл бұрын
But I have a problem in my quad my quad can't fly why? All the components work properly
@gullwarinakhan9271
@gullwarinakhan9271 5 жыл бұрын
@@KongaRaju read my comments your issue will be solved
@KongaRaju
@KongaRaju 5 жыл бұрын
Turning off problem got solved but it's not flying and all components functioning properly
@davidcrawford6505
@davidcrawford6505 7 жыл бұрын
This video broke my brain. Thanks for trying to explain your work.
@bestiagrama1276
@bestiagrama1276 8 жыл бұрын
Awesome project! This morning I got all the pieces to build the quadcopter :D
@abualhassan3274
@abualhassan3274 7 жыл бұрын
Hi there, thank you so much for these very useful videos. I have already built my quad-copter but when I try to do all setup I received this massage : Final setup check =================================================== Receiver channel verification failed!!! (ERROR 6) Gyro exes verification failed!!! (ERROR 7) The setup is aborted due to an error. and I checked on the Q and A page but I don't understand what are you mean on error 6 and 7 respectively?! 1)One stick is assigned to two functions and 1)One axis is assigned to two functions. Thanks,
@Joop_Brokking
@Joop_Brokking 7 жыл бұрын
The stick functions are not setup correct. What center and endpoints does the software find for you stick inputs?
@kubiz198
@kubiz198 6 жыл бұрын
I had a problem with error 6 too, but then I realized, that I was moving stick in the wrong direction during setup...
@nguyentrung7335
@nguyentrung7335 4 жыл бұрын
@@Joop_Brokking Sorry you. I got the same error, but I use a different set of tx rx than your tutorial videos, my tx rx is Flysky i6. Can you answer for me that the Flysky i6 kit integrates with the quadcopter setup code?
@freddiesnijman
@freddiesnijman 8 жыл бұрын
Exciting stuff. Thank you for your hard work to enable us to play. Just love it.
@hamoodelholandy
@hamoodelholandy 7 жыл бұрын
THANK YOU VERY MUCH i had made it Completly and the performance was Great i now want to add some new features like self leveling and self localization at last to be fully Autonomous
@akadihomabood90
@akadihomabood90 3 жыл бұрын
Everything explained very well ....it is the best thing you did and never seen before, thanks so much .
@ericleal4764
@ericleal4764 7 жыл бұрын
Awesome project, this has been really helpful to look at! For the blade balancing it is going to do a little better to stick the tape on the propellers downward facing surface. Since typically 80% of the lift is generated from the low pressure surface so you will be dealing with lower aerodynamic forces on the other side when the surface imperfection adds turbulence so there should be less aeroelasctic vibrations.
@tomWil245
@tomWil245 6 жыл бұрын
Hi Joop, I just finished building and flying my first quadcopter,YMFC-AL. It works beautifully!!! Thank you! I would like to thank you for the sharing your knowledge!!! I was able to get up to speed very quickly on what I need to know e.g. Info about PID controllers, gyro/accelerometers, AVR embedded programming, transmitters/receivers, basic electronics and wiring, micro controllers, understanding spec sheets, bit-manipulation of registers, bitwise logical operators, your Arduino sketches, and quadcopters in general. Wow what a project!!! Just phenomenal!!! Thanks. Thomas D. Wilhelm Robotics Enthusiast
@prahladranjit9362
@prahladranjit9362 6 жыл бұрын
Mr. Joop, You are the best.You took some much pain to teach people.Because of you many can now realise their dream of making a drone. Thank You
@deveshvishwakarma8378
@deveshvishwakarma8378 6 жыл бұрын
can you help me with my trouble i am facing an issue where my gyro is giving a value of roll as 20 and pitch and yaw are 0 how can i fix it??
@JamesTrue
@JamesTrue 7 жыл бұрын
Thank you so much for all of this Joop!! I've learned so much from your videos.
@dirkoberberg423
@dirkoberberg423 6 жыл бұрын
Thank you very much for this great video tutorial. Today I did the first flight with my quadcopter. It works as you described it in your video but I think it takes some time to fly it safe. I've learned so much. Thank you!
@Joop_Brokking
@Joop_Brokking 6 жыл бұрын
Thank you for writing me this message. Great to heat that you got it to fly!
@giaras64
@giaras64 8 жыл бұрын
Thanks Joop for your new super great video ! asap I will try it on my quadcopter build following your previous precious video lessons and let you knows. By now, with old fw I had lot of trouble in calibrating procedure, but watching this new video I see lot of valuable new tools to have more control of what's going on.
@gopiroy7147
@gopiroy7147 2 жыл бұрын
Thanks a lot for taking the time and creating such an amazing tutorial. I'm currently working on the quad project, this tutorial helped me alot in understanding the quad with Arduino very clearly. Thank you very much. Much love from India.
@08rajdeepsonawane94
@08rajdeepsonawane94 8 ай бұрын
bro had u finished with your project
@syha06
@syha06 Жыл бұрын
Hi Mr.Joop, I have built and tested successfully my own Quadcopter using Arduino Mega. My model has many functions like auto-balanced, holding altitude, holding position, return home, autoFlight, and emergency return,... I used this project for my Graduate thesis and now I was graduated. Honestly, I want to thank you and give you a big respect for all knowledges you share. Wishing you all the best!!
@Patrick-wn6uj
@Patrick-wn6uj Жыл бұрын
am doing the samething will graduate soon i included a computer vision camera that detects cracks on concrete, let me ask you which battery did you use
@syha06
@syha06 Жыл бұрын
@@Patrick-wn6ujyes!! I used Lipo battery, Weight: >= 350g 3s - 5400mah - 30C( changeable )
@Patrick-wn6uj
@Patrick-wn6uj Жыл бұрын
@@syha06 did you have to change the resistors of the voltage divider?
@syha06
@syha06 Жыл бұрын
@@Patrick-wn6uj no, because the voltage of Battery is still 12.6V (3s full charged). You change the resistor when you change the voltage of battery ( it’s up to type of battery’s voltage that u are using
@joffito2495
@joffito2495 Жыл бұрын
Congratulations. I call Joop saying that the arduino version is not fast enough for some things and this is why he switched to the STM32 version. basically autolevel and holding altitude would be sufficient for me. So you implemented this with a ATMEGA 2560 and this should be enough info for me to go with the ATMEGA1284p as it should also have enough flash and is fast enough to implement the additional altitude hold function, right?
@rage_alpha
@rage_alpha 6 жыл бұрын
Bro you are awesome with all your affords at this project we all viewers are able to make this happen I am a 13 year old boy from india created this quadcopter with all your codes . Thanks a lot bro. Big respect from me
@samantareboredo7665
@samantareboredo7665 7 ай бұрын
Thanks to you, joop, I have been able to achieve my dream. The drone has flown perfectly with the Arduino nano. Just the pid needs some adjustment, but, even so, everything flies very well. Thank you, thank you very much for your great work. congratulations
@sameerat8
@sameerat8 8 жыл бұрын
Dear Joop, I made another quadcopter according to your guide......it is awesome...it is flying very well.....Thank you very much for your guide...I learned lot...you are a really good teacher....
@Joop_Brokking
@Joop_Brokking 8 жыл бұрын
That is good to hear!
@andreasm.4724
@andreasm.4724 7 жыл бұрын
Hello Joop, I'm really lucky that I've found that nice guide and the time is more than perfect. I'm in R/C since a few years, building planes from scratch, having some cam birds, but also some boats and even micro helis and toy class quads for bad weather. Caused by 3D printing I came in contact with Arduino and right now I want to tip a toe into real quads, so I've ordered a F450 flamewheel frame, and sets of 2826 motors, BLHeli ESCs, props, ... (korting in a lot of shops tghese days, you know) , the needed LiPos, BEC, Arduino and of corse a Taranis+ and FS-i6 I have anyway. However, as FC I have only some old CC3D lying around for what I've ordered an external baro/compass, but hey it's much more fun to do it with Arduino and learn how it's really working. ;) As I said, the time is perfect and all I need to start with this project is to order the MPU-6050, while I have to wait for the postman with my F450 frame. Maybe that AL feature should be also fine for my cambirds too. ;)
@adityaanandiitb5302
@adityaanandiitb5302 7 жыл бұрын
thanks JOOP BROKING you helped me a lot for making this drone I am just in process
@Demo71x
@Demo71x 7 жыл бұрын
Hi sir, thank you so much for sharing your knowledge, i followed your tutorial and now i have a really stable quadcopter, i was trying to do something similar to you, programming and auto level controller for a quadcopter but using other technique; implementing on a raspberry pi 3 an LQR control system + an Extended Kalman Filter to stimate and regulating the angles of the quad, but with no good results (now i know it was because of the sampling time of the loop, i was working with the minimun frecuency for the ESC - 50Hz and i noticed thanks to your videos that 50Hz is too low frecuency, i know the problems of the implementation for the sensors and all the hardware (procesing times, the sensor´s noise) and your way to solve it was really amazing. I am very grateful. my next step is go back to my aplication on the RPI3 but keeping in mind all that i learn here. P.S: sorry for my bad english.
@Joop_Brokking
@Joop_Brokking 7 жыл бұрын
Thank you for taking the time to write this message. It keeps me motivated to help people :-)
@deepanchatterjee1749
@deepanchatterjee1749 6 жыл бұрын
Will I be considered as adamant if I say 'man u did well'? I am an Electronics engineering student from India and I take freaking' interest in aerial vehicles. I love you sir Joop, God must be lucky enough to bless you!
@albejanon
@albejanon 7 жыл бұрын
Amazing... I wish I would like to have all this information a few years before... Thank you.
@antoniocarlosdaudfilho2401
@antoniocarlosdaudfilho2401 4 жыл бұрын
Thank you very much for the videos! My quadcopter worked perfectly!
@ranjitkumar-rm2it
@ranjitkumar-rm2it 7 жыл бұрын
Thank you sir. You are great. You are helping lot to all the people who don't know coding
@jenng3141
@jenng3141 7 жыл бұрын
Thank you so much Mr. Joop for a wonderful and educational video. We made it and because of this we passed our laboratory subject :D. Again thank you for sharing your knowledge
@Joop_Brokking
@Joop_Brokking 7 жыл бұрын
Thank you for writing this message and congratulations.
@chartrithirun8544
@chartrithirun8544 8 жыл бұрын
This project is more valuable for the inventor. Encourage you to further development.Thank you.
@Mosfet510
@Mosfet510 7 жыл бұрын
You have a great selection of videos and your site is very easy to navigate and to the point.
@Joop_Brokking
@Joop_Brokking 7 жыл бұрын
Thanks!
@CineSoar
@CineSoar 8 жыл бұрын
Thank you for putting this out Joop, it is a very clean implementation of the KISS principle, once again. It looks like the NaN problem I was facing traced to my attempts to calibrate and normalize the 1G values of the accelerometer (unnecessarily, as it turns out the IMU is fine without this extra step). I've now flown your AL and my own and somewhat surprisingly, where your version really surpassed mine (apart from less 'dead wood' here and there, compared to my approach) is in the Z stability. My version tended to use up quite a bit of the Z-dimension, as I flew about. Anyway, I wanted to be sure to let you know, there seems to be no hidden NaN lurking in your IMU. Thanks again for everything!
@Joop_Brokking
@Joop_Brokking 8 жыл бұрын
NaN will / can only occur when two accelerometer values will go to maximum value (8g). The value of the total vector will overflow and cause a NaN error. During a normal flight this is unlikely (impossible) to happen because the only possible acceleration is in the Z-axis.
@CineSoar
@CineSoar 8 жыл бұрын
Hi Joop, I haven't managed to catch the precise numbers that produced the NaN, as I've been experimenting with your new code and am presently rebuilding my shield. I wonder though... Given that a) I had my full scale set to +/- 4g (instead of 8) and b) I was scaling and normalizing my raw accelerometer outputs (very much the same way YMFC scales the receiver inputs) to be +/- 10,000 at 1g and c) the problem always presented during hover... Is there a 1 in ~300,000 (20 minutes worth of program cycles) chance that acc_x, acc_y and acc_z could all be =0.000 at the same time? That would result in an acc_total_vector of zero and a NaN (divide by zero error) in the line angle_pitch_acc = asin((float)acc_y/acc_total_vector)* 57.296 To be safe, should the code be testing to ensure that acc_(foo) be larger than some very small, non-zero number, before passing them?
@CineSoar
@CineSoar 8 жыл бұрын
Or, failing a convergence of zeros... Is there some 'accidental' combination of numbers that the asin function wouldn't cope with? I ask, because I'm not seeing anything approaching max values in my tests.
@sahara8742
@sahara8742 5 жыл бұрын
Definitely building this! Great job.
@randysonnicksen9475
@randysonnicksen9475 7 жыл бұрын
Joop, thank you for the best instructional video's on KZbin. I am fairly recent to Arduino and Multi-copters, but have been working through a design for a variable pitch / constant RPM quad for a while now, and I am so grateful for the source code you have provided which will be a great starting point for my project.
@Joop_Brokking
@Joop_Brokking 7 жыл бұрын
Thank you and good luck with your project.
@valentindanneville8695
@valentindanneville8695 6 жыл бұрын
thanks a lot for this particular video, We are creating a drone for a project at my school using your code, but a structure different that yours. We've had a lot of problems, but I think video is the one going to fix everything. Guess I just didn't see it before
@ankushbabber2740
@ankushbabber2740 2 ай бұрын
thank you, Joop!!!! because of you, I have flown my first drone that too a homemade drone
@avinashramessur5747
@avinashramessur5747 5 жыл бұрын
this is just awesome. Great work and thank you for sharing !!!
@robotcanfly4864
@robotcanfly4864 8 жыл бұрын
Very good project Joop Brokking.
@DominoSixO
@DominoSixO 7 жыл бұрын
Auto lvl or self lvl, it all depends on the transmitter you use and mapping the pot data with the esc speed as well using the pid to balance the quadcopter. It's different setup using different transmitters ready made ones for rc or homemade modified one.
@uhtijmai
@uhtijmai 8 жыл бұрын
i have been waiting for this......thanks a lot for your hard work...gonna try it asap...
@eekayraudio21
@eekayraudio21 3 жыл бұрын
Thank you so much your videos really help me fix old drone arduino based....Thank you so much.....I'm from Philippines
@sjoboo
@sjoboo 7 жыл бұрын
Bedankt voor de uitgebreide uitleg en downloads, na alles volgens schema gesoldeerd te hebben kon ik de setup zonder problemen doorlopen. Volgende stap is leren vliegen :-)
@Brickkzz
@Brickkzz 7 жыл бұрын
wow thank you Joop!! this is amazing!
@sajjadulhaq4136
@sajjadulhaq4136 4 жыл бұрын
1st time done with the help of your video. Really well explained and helpful.. Thanku sir....
@mehmetkorkmaz1807
@mehmetkorkmaz1807 3 жыл бұрын
wow man, that was awasome! thanks for the amazing effort! will try this asap...
@thierhappy
@thierhappy 8 жыл бұрын
Your such a great engineer and youtuber ! Your videos empowered me soo much that I have decided to rewrite my own code , inspired on your but with new flavours of mine. I am now passioned by this Thanks a lot. Currently i am Studying engineering in France. Have a great time in the Netherland.
@rozinurhuda7348
@rozinurhuda7348 8 жыл бұрын
As a promised! i have tried it and worked very well. Thank you Joop, you are a kind man. God bless you.
@phanngoctuong678
@phanngoctuong678 7 жыл бұрын
hi...can you help me? You can send arduino quadcopter code to me, please. Thank you very much. My email: phanngoctuong.bigedu@gmail.com
@rozinurhuda7348
@rozinurhuda7348 7 жыл бұрын
+Tường Phan Ngọc you can directly download in Mr. Joop's website, and he can answer your problem.
@Kthebarber
@Kthebarber 7 жыл бұрын
Hi , how did u correct the vibration , mine are increasing when add insulation tape pls help me
@dhamakafirecracker9587
@dhamakafirecracker9587 6 жыл бұрын
My quadcopter is not taking off please help me
@djkalantzhs1950
@djkalantzhs1950 5 жыл бұрын
i used your proggrams to setup my drone and it is working 1000K thanx t u, ure awsome
@veritatepax
@veritatepax 6 жыл бұрын
Hallo Mr Brokking, Thank you for your great videos. I tried to build my own ymfs-al according to your videos and website. The only differences in the build are: my 4 Motors have a KV value of 810 instead of your 1000KV. (using 4 30A-ESCs) I wanted to use my 4s lipo. Therefore I changed the R2 & R3 resistor values according to your Q&A section formula: R3 was 1500Ω and needs to be 8200Ω R2 was 1000Ω and needs to be 3300Ω ((16.8V - 0.6V) / (3300Ω + 8200Ω)) * 3300Ω = 4.65V because the resistor values were to high for me (not wanting to serial connect alot of single ones) I tried to apply the formula and came to the idea to use 300ohm for R3 and 700 ohm for R2. This gave me 4,86 V. I made through the whole setup procedure according to your videos and everything seemed fine until today. It looks like somehow i killed my arduino uno. I cant upload sketches anymore. 2 red leds still blink the green one is inactive. I know would like to know: Was my resistor-choice wrong & why? I forgot to change the code according to your Q&A regarding the different resistor values. Which consequences does this have? Today before the arduino uno broke I wanted to measure the voltage between Vin and Gnd and measured around 15V. (with 4s lipo connected) Did I hearby cause a shortcircuit and this is why it broke? Before it broke under calibration conditions everything seemed to work. When i installed the flight controller and tried starting it i had 2 crashes. Then resoldered and recalibrated... Then i fixed it to the ground with tape. After a few short tries 1 Motor didnt work as the others did and the thrust stick wasnt as programmed (i use a flysky fs i6) But most important the whole quad stopped working after a few seconds. What reason probably caused this? I hope you can help me with my questions (especially concerning the resistors!), and thank you for your great work!! Kind regards from Austria PS: I still have an arduino mega left. Is it reasonable to use it without to many changes in the programs? Which pins would have to be changed, and how would i have to change the different registers you spoke of in another comment?
@Joop_Brokking
@Joop_Brokking 6 жыл бұрын
The max input voltage of the Arduino Uno is 12V. Connecting it to 16.2V will overload the voltage regulator on the Arduino. This is probably the cause of the problem. If the Arduino program freezes it most likely is a I2C bus problem. Double check your wiring. Makes sure it's reliably soldered and don't use bread boards.
@andybarnard4575
@andybarnard4575 7 жыл бұрын
Hi Joop, great tutorials and easy to read code. Having made a quad using the pro-mini I would offer this feedback to anyone else having a go:1. The pro-mini can't be used to power the gyro & receiver on VCC. An AMS1117 5V regulator is sufficient, but solder the tab to a heatsink (could be the quadcopter board itself) and use an electrolytic capacitor (uF range) on the output (the boards themselves have small capacitors)2. Your website has no mention of calibrating the accelerometer and has a Q&A that says it isn't necessary in general as you can use sub-trims to do this. I think its much easier to test-fly if you do calibrate the accelerometer. I was about to modify the code to do so but found that there is already a template in the flight controller code. My recommendation is to modify the ESC code to give 1 or 2 decimal places on the accelerometer reading (its stable to >1 decimal place when not running - make sure the quadcopter is flat with a spirit level) and use that figure in the relevant part of the flight controller. My corrections of 3-4 degrees made the test flights much less scary.
@CineSoar
@CineSoar 8 жыл бұрын
I have accumulated 5hrs of flight time with the new AL code integrated into my controller and have not had an NaN crash in all of that time. I found a flight park about 5 minutes from work and fly every day on my lunch hour. I am learning to fly, as I go, so primarily I'm doing a lot of high speed "out-and-backs", "walking the dog", tail-in circling, full throttle punch outs, VRS recoveries and the like. So, it appears that NaN was addressed, either by improving my electronics layout/routing (reduced EMI) or with the software filter. I am also fairly convinced that the I-term 'death wobble' that I experienced was due in large part to the pendulum effect of the relatively heavy landing skid and camera/gimbal setup I was using. I have been flying without any of the 'under carriage' and the PID's are now much closer to default values. I bought an inexpensive flamewheel kit that includes 4 DJI-style legs and I plan to make a detachable lower plate, with the landing gear and a lighter Walkera gimbal attached. This will give me a 'convertible' setup, when I want to switch from 'sporty' to 'camera platform' and should be much lighter than the rig I was flying.
@Joop_Brokking
@Joop_Brokking 8 жыл бұрын
That is good to hear! Thank you for the feedback.
@lakshsharma9324
@lakshsharma9324 6 жыл бұрын
AWESOME videos you spend a lot of time on this everybody ought to donate to him...
@adam12964567
@adam12964567 6 жыл бұрын
Sir, this tutorial is awesome ! I already built my YMFC. Now is tuning the PID value.
@shadihal7029
@shadihal7029 7 жыл бұрын
this progect works with arduino nano and pro mini without any modifications. tip:when orienting the direction of the motors place the front face that you want to be the leading face of the drone to the back and then assign the motors: front face (placed back) cw pin 7 LF --------|---------RF pin 4 ccw | | ccw pin 6 LR-------|---------RR pin 5 cw and if your using the same frame you just need some tiny modifications in pid values(works ok with stock values) .
@mysterymanyo
@mysterymanyo 3 жыл бұрын
Amazing video! Thank you so much, you are a great youtuber! Wishing success
@duncancampbell9742
@duncancampbell9742 3 жыл бұрын
brilliant ... exactly what I was looking for.
@amirsharma4349
@amirsharma4349 6 жыл бұрын
Best ever tutorial....Thanks👍👍👍👍👍👍👍👍👍 You deserve infinity likes............,👍👍👍👍👍👍👍👍👍👍👍
@fusca14tube
@fusca14tube 6 жыл бұрын
AMAZING PROJECT!!!!! CONGRATULATIONS!
@ankurdutta6542
@ankurdutta6542 2 ай бұрын
And that was a nice explanation with detailed vd discussion and mentioned everything about the performance circuits and systems with programming and controls,,,,, Thanks a lott sir,,,,it helped me a lot in my project♥️✨👍🙏
@mayankagrawal366
@mayankagrawal366 7 жыл бұрын
Great work sir..I am impressed with your work
@xamael1989
@xamael1989 6 жыл бұрын
My friend your a blessing thanks for sharing this knowledge sir
@CHRISTIANBEARIVER
@CHRISTIANBEARIVER 8 жыл бұрын
Primer comentario en español !, excelente aporte amigo. Gracias
@shrikantsagar3233
@shrikantsagar3233 6 жыл бұрын
Thank you very much. it was a very good learning experience.
@SKElectronics
@SKElectronics 8 жыл бұрын
After working a lots of time so that i can use directly the nrf24l01 as a receiver but i was unsuccessful to do this . So i decided to make the nrf24l01 as a standard receiver and this time i am successful to do this. And for other people's who wanted to use the nrf24l01 as a receiver i will post a link to my blog where you can find the circuit diagram, source code & some other details etc.
@Joop_Brokking
@Joop_Brokking 8 жыл бұрын
Thank you for your contribution.
@jmc_fpv
@jmc_fpv 7 жыл бұрын
Electronic projects hi, are you using nrf24? where could I found some information? tks
@SKElectronics
@SKElectronics 7 жыл бұрын
Code written by my and my friend. The code that we write to use the nrf24l01 is working but we don't try to fly with it but i can say that it is working because we pass the setup code , esc calibration code and flight code. We run the motors without props and everything seems to be working fine.
@jmc_fpv
@jmc_fpv 7 жыл бұрын
Have you the code? Can I found your code to download? best regards
@kashishkitawat
@kashishkitawat 6 жыл бұрын
can you help me with the same?? i am stuck in the same problem
@stephenderosa2412
@stephenderosa2412 8 жыл бұрын
love your videos man! If it is in high enough demand, could you do a video on mounting a camera on a gimbal with servos?
@hanafimohdghazali6151
@hanafimohdghazali6151 7 жыл бұрын
amazing tutorial..Great JOB!
@aminamiri1298
@aminamiri1298 8 жыл бұрын
hi joop brokking. great video. i enjoy for your complete explain .thank you
@muchharbharat7073
@muchharbharat7073 6 жыл бұрын
thank you sir and your video really helpful in my project so thanks again sir.
@adityaanandiitb5302
@adityaanandiitb5302 6 жыл бұрын
a great thanks to joop ,I made it, it works fine all the things are done all checks are done it's time for the first flight test thanks once again
@Joop_Brokking
@Joop_Brokking 6 жыл бұрын
Please make sure to test it in your hand first as I showed in the video. This would prevent unnecessary crashes. Good luck.
@adityaanandiitb5302
@adityaanandiitb5302 6 жыл бұрын
Joop Brokking i have checked it is working correctly but there is one problem when I start the motors with throttle down and left the motor start spinning at that's step it is ok but after that the motors increase its speed slowly ( not too much ) without increasing the throttle ,is this behaviour fine?
@Joop_Brokking
@Joop_Brokking 6 жыл бұрын
Please check question 10 on this page: www.brokking.net/ymfc-al_qanda.html
@adityaanandiitb5302
@adityaanandiitb5302 7 жыл бұрын
please make a vedio on how to add camera on this drone and some other features such as one key return I am waiting for your reply
@Le_Trinity
@Le_Trinity 6 жыл бұрын
Awesome, works great.. it would be cool if you could show how to add the 10dof MPU with Barometer & compass functionality to this quad. Thanks a million for sharing your great work :)
@pinballball5208
@pinballball5208 6 жыл бұрын
Brilliant video now i get it that my battery os not supplying enough current it has a very low c raying thnk buddy yiure the best
@janrodo4978
@janrodo4978 3 жыл бұрын
Mr. Brokking thank you for your work. BUT. It took me nearly 1 year since the pandemic started to study your code. It is awesome if comes to build bigger quads. Like you did Sir. But when it comes to smaller quads like 250 or even 210 quads it turns out that it is impossible to tune the quad. I’ve ported the code to ESP32 and scaled the data from gyro. Second of all i have applied a second LPF to reduce noise from props and last but not least implementation of LPF to d term is a must. Anyway THANK YOU for your work it wouldn’t be possible for me to understand the code of quads without you.
@aaronmorgan2475
@aaronmorgan2475 3 жыл бұрын
im trying to make a cube based blimp robots with no moving parts for the challenge thanks for the research. these will be slower but hopefully better for household stuff when they need to idle
@adelashour3253
@adelashour3253 7 жыл бұрын
!thank you very much you've done a great job
@teteudandancbv
@teteudandancbv Жыл бұрын
Nice Video !! Congratulations
@christophertadeo6120
@christophertadeo6120 Жыл бұрын
This is a very flexible drone because of programmability... 😀. It's auto leveling because of code...can't believe I'm getting a hobby, I'm so geeky! 😀
@dhaloadrohan
@dhaloadrohan 7 жыл бұрын
sir i m big fan of your work and i have this same project
@FREE-PRO
@FREE-PRO 7 жыл бұрын
Excellent~~~ Thank you good information
@LeBlafy
@LeBlafy 8 жыл бұрын
If you need a good arduino flight controller software for multicopters, you should look at the Multiwii project ! It handles magnetometer, barometer (for altitude control), GPS ... All of that on a simple Atmega328p !
@juniornewtons8066
@juniornewtons8066 4 жыл бұрын
Hi Joop, My Motor 3 (pin 6) works fine without propellers and when i install propellers and trying to fly my quad-copter my third motor always stops and thus my quad-copter is not lifting from ground. Please reply me.
@RajendraVermaa
@RajendraVermaa 6 жыл бұрын
Excellent instructional video
@raghavendrandme
@raghavendrandme 7 жыл бұрын
Awesome work bro. Respects
@quintennn
@quintennn 4 жыл бұрын
Can you recommend some other frames? I would like to add a camera system and this frame doesn't seem to have space left.
@berlinjerijeri9813
@berlinjerijeri9813 4 ай бұрын
what should do if the throttle increase at idle position
@griffoulclaude5196
@griffoulclaude5196 7 жыл бұрын
Hello, congratulation for your good job.
@anlpereira
@anlpereira 7 жыл бұрын
Great great job. Congratulations.
@TheWillsxx
@TheWillsxx 7 жыл бұрын
Thanks for the Very easy tutorial. One question. How can I add a GPS? and also how can I assign flight modes? Thanks!
@anilkunchala3698
@anilkunchala3698 6 жыл бұрын
Hi, Thanks for great code and explanation. Why did you use raw gyro reading in stead of angle from complementary filter to calculate error in pid ? and can you explain this line of code gyro_roll_input = (gyro_roll_input * 0.7) + (gyro_roll / 65.5)*0.3
@SKElectronics
@SKElectronics 8 жыл бұрын
thanks again joop to update the code which have some issues as you mention.
Arduino drone - Part1 Flight Controller
9:18
Electronoobs
Рет қаралды 339 М.
Did you believe it was real? #tiktok
00:25
Анастасия Тарасова
Рет қаралды 47 МЛН
아이스크림으로 체감되는 요즘 물가
00:16
진영민yeongmin
Рет қаралды 13 МЛН
Alat Seru Penolong untuk Mimpi Indah Bayi!
00:31
Let's GLOW! Indonesian
Рет қаралды 15 МЛН
Your Multicopter Flight Controller - 3D (YMFC-3D) Part 1 - Hardware.
8:17
YMFC-3D part 5 - Quadcopter PID controller and PID tuning.
15:47
Joop Brokking
Рет қаралды 389 М.
We built a Drone using ESP32 for less than Rs.1000!
9:37
Circuit Digest
Рет қаралды 128 М.
12 New AI Projects using Raspberry-Pi, Jetson Nano & more
7:50
ToP Projects Compilation
Рет қаралды 661 М.
Make a TINY Arduino Drone with FPV Camera - Will It Fly?
20:26
Max Imagination
Рет қаралды 632 М.
Building a DIY REAPER Drone... Ended Badly
9:19
Michael Rechtin
Рет қаралды 2,1 МЛН
From Brains to Bot: Arduino's Next-Level Journey with AI.
7:26
DIY Builder
Рет қаралды 362 М.
Опыт использования Мини ПК от TECNO
1:00
Андронет
Рет қаралды 558 М.
OZON РАЗБИЛИ 3 КОМПЬЮТЕРА
0:57
Кинг Комп Shorts
Рет қаралды 581 М.
When you have 32GB RAM in your PC
0:12
Deadrig Gaming
Рет қаралды 1,4 МЛН
Собери ПК и Получи 10,000₽
1:00
build monsters
Рет қаралды 2,2 МЛН