In this video I explain the new Return To Home and fail-safe features. The YMFC-32 is a very simple and easy to understand Arduino project that will help you to develop your own autonomous flight controller. Because the code is fully explained in various videos and kept as easy as possible everybody should be able to further develop this code.
IMPORTANT: Fly the quadcopter with the original software first before you upgrade to this software.
A detailed build tutorial can be found here:
http://www.brokking.net/ymfc-32_auto_main.html
The complete YMFC-32 playlist:
https://www.youtube.com/playlist?list=PL0K4VDicBzshwCpUHzIB6hOLQVkDFHbxC
Setting up the Arduino IDE for uploading programs to the STM32:
https://youtu.be/MLEQk73zJoU
About my test quadcopters:
http://www.brokking.net/bain_test_quads.html
You can download the free Arduino code here:
http://www.brokking.net/YMFC-32_auto_downloads.html
Compass calibration:
https://youtu.be/vPGChdmfKl0?t=9m8s
Tuning the YMFC-32 settings:
https://youtu.be/ys-YpOaA2ME
Music by Ben Sound
hey dude cool videos but im having some kind of problem with my gps, when i tested it in u-center everything works fine except the altitude meter says 2083 meters and i know thats wrong and the compass values also doesnt show up imediately so please tell me if i did something wrong or else!!!
Can i use gps module neo 6 with compass hmc5883l
Joop, how are you?
I am trying to mount your standalone version of the drone, but I do not have the N8M with compass and the barometer that you use, what I have is the GPS NEO-6M the barometer BMP280 and the MPU GY-9250 that has compass besides the other items . What I wanted to know is if changing the addresses in your program would you give them to use these items or do you think I’d better buy the same items that you indicated in your project?
I thank you for your attention!
Joop I know you can not provide the code, and I also want to have the pleasure of doing it, but I have no idea what the algorithm would look like. You could at least give an orientation in this sense of how this algorithm would be. I am mounting the quadcopter following its instructions, and I would like to make the code so that the quadcopter can go to a certain position using the GPS coordinates. Any help from you, however small, would be welcome. From beforehand I thank you.
any chance you will do something like this for fixed wing ? and maybe some nrf24link 🙂 .Nice work you are doing sir !
Incredible, nice work!
Hello Joop Brokking
. How to add camera.
can this use for tricopter?
its not what you do but have thought of doing a video on flight controllers what is your opinion of Pixhawk if you have one the videos on Arduino are interesting but the stem 32 seems complicated
hi joop my expert, im making the STM32(blue pill) controller board as
per your schematics, hardwares are almost some but the gps module is
ublox 6m gps/mag. Test program in gyro data receiving works properly at
first but after a couple minutes the data receiving stopped on the
serial monitor window, it seems the Test program stopped by some errors.
so i try to just removed i2c wires of mag sensor from the connection
with blue pill or i removed the 5v power wires , the gyro data
receiving continued to work. i searched all of the threads about this
issue in the internet and found the recommendation [@t
that is to add 1k pull up resistors between vcc and scl/sda for mag
senor. im not sure that is ok for me, could you help me figure it out?
Hi. I get solid red Led. The code says that means I am getting 100 or more errors. Any idea what errors this could be so I can trouble shoot?
Also the setup program freezes when I try (h) for the barometer or (j) for the magnetometer. It says it’s about to start but then doesn’t respond and even (q) won’t unfreeze the serial monitor. Setup program works good on all other items including correct detection of all three 12c devices. Thanks in advance to anyone for help.
Mia here from RayMing, 10 years PCB and PCBA manufacturer.
Could you please introduce our company on your Youtube? and we will pay for that.
Hi Joop ,
My question was that can I use my own nrf24lo1 tranciever module for the same project.
Plzzz comment and tell me
Hello, I want to learn step by step, how to flash ESC 30A for the Syma X8 board using Arduino Uno
Hello, I want to learn step by step, how to flash ESC 30A for the Syma X8 board using Arduino Uno R3
Thanks for your wonderful tutorials
Please enable your movie subtitles
So that those who are not fluent in English can learn more easily.
Acompanhando seu trabalho ?
Terrific video Joop! I would really like to embark on this project but configure it for model aircraft use.
can you help me sir, i have a problem with “no i2c device found”. i did build the quadcopter according to your schemetic, but there was a slightly problem with the old code. there was a problem about HardWire. I did try to change it to TwoWire, it’s worked but it said “no i2c device found” when i use i2c scanner. So please help me, i really need this to work.
Can I use an UNO instead of the STM32 for this project?
Try adding gesture controll using flex sensors!!!!!!!!!!
I can help u with this you can contact me using the email just reply to me once!!!!!!!
And u are AWSOME!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Hi joop
i have tested ALTHOLD and POSHOLD and seems to working not so bad.
Now i would like to test RTH but i would like to change 20 METERS in 10 METERS which part of CODE in need to changed ?
Thanks for all your sharing.
is it this 170 in this part of code ?
“if (ground_pressure – actual_pressure < 170)return_to_home_decrease = 170 - (ground_pressure - actual_pressure);"
can i use cleanflight, beta flight on this flight controllar .if it would work with this flight controller that will be very helpfull for us like newbies
joop sir i have saw ur all contain about drone. no one can explain like you in very very deep detail…….
one most important think, you complete my childhood dream, now i am in 35 age, u have complete my dream project..,??. i have try many more think to develop drone. but every time fail….
after saw your series now i can develop quadcopter thanks sir.. from india…
Terrific video Joop! I would really like to embark on this project but configure it for model aircraft use.