Joop, Two years ago I was hurt in a bicycle accident; I was incapacitated for six weeks. I started surfing around on UA-cam out of sheer boredom & stumbled into your YMFC-AL videos. I was intimidated to say the least, but thought I would take on your Self Balancing Robot project, which was a real turning point for me. After showing that off to my friends I went back & built the YMFC-AL & have been upgrading to this RTH release since. I have Spektrum NX 10 transmitter (I have several radio controlled airplanes) & by chance installed an eight channel DXMS PPM receiver in the autonomous version so I made code changes to allow a seventh channel to be used. Once the weather improves I hope to test. Thanks for this great work !
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...
You're doing a very good job. It will help me and my students providing an easy to understand code for a cheap and widely available platform. Congratulations and thank you a lot!
hello Professor Eduardo...😊 Do you have Code Zip file for the STM32 Quadcopter downloaded? I need it for study code and develop study platform Now brook's site is showing 404 error. If you have reply me, I'll share mail ID.
what else can you Joop surprise us ! fascinating! obstacle avoiding feature and object recognition control if added ,then this micro-controller will compete DJI (after a nice visual interface setup program )^_^
Love the videos. learned a lot of great things and I plan on building one here soon I hope. I have a quadcopter that is a lot of fun, so I think I am going to build a hexacopter first. Love the videos and thanks for the education.
Had a conflict trying to change an ESC and receiver pin to work with servos. Ended up copying the PPM code from Joops latest build into his earlier non-autonomous build and now 4 servos are working from where the PWM pins used to be.
Hi sir, Iam Rijeesh from India 🇮🇳 I made YMFC32. I saw all video of YMFC32 & I go through the codes & did it. When I upload test program Everything is working fine. But when I try to fly at time of arm the motors quad is unstable. Some motors are increasing rpm. I used 1400kv motor with 1045 props. My doubt is that I mounted mpu 6050 into a connector. Not soldered directly to pcb. If it’s get vibration will it unstable while motor arm stage. I hope you will reply for this msg sir. It’s a great project I appreciate your effort not only for the build also to help the interested persons to achieve there dream.
Very good! very good indeed! if you can somehow change the radio gains during the flight! I believe you will not have anything else to do! it would look like it was a naza lite!
Compared to the DJI Phantom 4 pro the YMFC-32 is almost silence. So why should I put in something that no one understands while the 'almighty' DJI Phantom make much more noise?
@@Joop_Brokking I saw that you used some sticker on the props possibly for prop balancing but suppose that ymfc32 based drone gets unbalanced mechanically(due to vibration or prop damage(a bit) smth like that), there would be a big risk makes drone a unbalanced system, controlling drone may be impossible in such a case. the filter that i suggest covers most of cases to prevent noise on IMUsensor By the way, most of people dont know how an engine of car works but they drives the car well.(IMO if engine is well designed, its ok for everyone) I respect your opinion about simplicity of code, but if you look to users side, you will see the control of drone and safety is important than the code
As he said, it gets a bit complex for the layman to understand (although I feel otherwise). It gets a bit complex because you'd be using an EKF here and not a simple KF (EKF because you have a non linear relation between position and the function that relates position to velocity and heading) which would only make it harder for most people to understand.
I would like to see very basic waypoint navigation by laptop computer. I imagine this... 1) GUI is super basic just a grid. 2) Click on grid to place dots. GUI draws lines connecting the dots with corresponding measurement length between dots. 3) Each waypoint dot has "Hold Position" parameter specifying how long copter should hold its position before moving to the next dot. 4) Click big green "GO" button. Copterth then auto takes off and follows the dots then auto lands.
@@plorks445 the opensource platforms such as arduino missionplanner or pixhawk ground control system gui are suitable for you, you need to learn protocol of those platforms and interpretation of their commands startpoint for you is learning mavlink
@Mustafa YETİŞ Thanks for the info but it'll never happen. I need it to be simple. Already looked at Arducopter and it's too difficult for me to adjust. Pixhawk even worse for me. I implemented VTOL code into MultiWii years ago and Joops code is even simpler for me to understand. I'm almost done implementing VTOL airplane code into Joops project. Limited GPS hold will have to do for now, for which I am very thankful to Joop for.
My quadcopter's stm32 freezing when I'm shaking the quadcopter. The freezing started before immediately when the calibrating process done so i made few changes to improve the stability of the electric but now after all the isolations and fixes, when I'm shaking the quad, is freezing 🥶. Any idea?
I have one doubt regarding this fail safe. if my transmitter is in gps hold mode and i'm moving away (for range test say). if i move far away transmitter signal will be lost and failsafe is activated. Now while it is returning transmitter - receiver link will be reconnected as it started moving towards home location. Will it continue with RTH (from fail safe) or will it go into GPS hold (from transmitter)?
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!
Hi, I could get the idea behind controling esc's at your ymfc series. In schematics you connected them to 4 5 6 7 pins and just 5 and 6 supports pwm so i dont get it. Thank you
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
Hi Joop. Don't you think building a flight controller with ESP32 controller could be a good idea? I didn't find any project (in English) with that so powerful and cheap microcontroller. Thank you in advance.
This is a great project, but I can't get the code to load into the Arduino IDE on my Raspberry Pi. I get a java exception array out of bounds error 0. Is the source code too large? I have the latest RPi, the 3 B+. Any help would be appreciated.
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! great video. can you please explain the formula used to combine the GPS data and the heading, the same formula is used for headlock. thanks I'm advance.
Nice, Can you try to track drone with a mobile phone. It is very useful if we've lost the drone (acts of god). I'm using GPS tracker called GF-07. But, it's awesome if we can use drone's GPS module.
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.
The only 1 question I have... I am using GPS neo 6... and a seperate compass... but which side is compass front side? i haven Seen this question in the Q&A page also...
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!!!
hey there! this project idea is awesome using arduino & yes I loved it & also very helpful idea for me in the project I'm making....but this copter is operated using remote controller...can you operate this copter using s\w instead?
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.
Hi Joop, I have a question for you if you can share the code for the drone that only supports gyro, without a barometer etc. I would be very grateful for that.
@ Joop Brokking Could you or someone briefly tell me what the HEADING LOCK mode does and ( if all it does is make the front and back of drone defined and fixed ) I could remove it in code and free up a channel for gimbal control
When on, it records the direction the quad is facing before takeoff. This orientation remains for the entire flight. Yaw does not affect the orientation of the transmitter controls. It can be spinning around in yaw and right roll command will always move the copter to the right and so on, based on the initial takeoff orientation.
Hi mr joop i got a problem with the esc calibration, im using the same ESC's but when i do the calibration procedure only 3 motors start at the same time, one motor starts after, how could i solve that problem?
hey joop sir Great Work , but this video is not shown in playlist where it has to be, playlist Name: "YMFC-32 | a DIY 32-bit STM32 and Arduino based quadcopter flight controller"
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.
Looks like my solid red LED might be caused by a faulty jumper that isn't making contact when I move it from the zero to one position. Crimped it with pliers a little and spread out the pins a little and now I am getting better results.
I have a weird problem , so the setup program detects I2C for my compass and barometer correctly but using the test to check data nothing happens and the PC13 led on STM32 keeps blinking till reset . If anyone knows any possible solutions do let me know ( I checked wiring many times ) also the mpu6050 connected works fine
hello mr utkarsh, has your problem been resolved? I also have the same problem. until now it has not been resolved. if you have found the solution maybe you can help me? thanks.
Open the very last file that is in the folder, into the Arduino IDE. All of the other files will auto load into the Arduino IDE and show up as "tabs" at the top of the IDE.
Hi,Sir,Maybe this line of code will help you ,You can try changing 170 to 100, just as a suggestion. Be careful ~ "if (ground_pressure - actual_pressure < 170)return_to_home_decrease = 170 - (ground_pressure - actual_pressure);"
I wonder that the ymfc-32 is stable even if it faces to strong wind which makes drone turn 90 degree roll or pitch? did you test it by hand instead of wind?
@@Joop_Brokking it seems very stable , excellent job! I mean that if we tried to full flip the drone(around pitch or roll) how it would behave? (I am asking because I wonder about gimbal lock)
i would like to say that i can't have Mode 4 on telemetry on the RC i can see that the values are ok but why the telemetry don't switch to M4 on screen ?
0) Power via USB and no flight battery 1) Change int16_t manual_takeoff_throttle = 0; to int16_t manual_takeoff_throttle = 1500; 2) make sure you have 6 or more satellites 3) Start (left stick left bottom) and place it it centered 4) Switch to flight mode 3 5) Move pitch stick forward for 4 seconds 6 ) Select flight mode 4 7) M3 should now read R1 till R5
@@Joop_Brokking thanks tested it works fine till R3 after switch to M3 is it normal ?... possible to change "20 meter above ground level" to 10 meter ?... thanks for all and your sharing joop
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 Sir,i want thank you for your great contribution,i have buld my drone ~but recently I have a question to ask, my drone has always been very stable. yesterday I tried to fly once . The weather was cloudy and the wind was level 3. When I started the drone, I didn’t give him a throttle. However, the drone has been rising all the time. It is estimated that the rising height is 100 meters. I can't control it. After a while, I can control it and land safely. This situation only happened once. After that, it is normal. Can you help me? Thank you very much~
@dhrutidhara behera Sir,Thank you for your answer,I flew my drone yesterday,I found the problem,After a normal takeoff, when I turn on the altitude hold function it auto rising all the way,When I turn off the height hold function it doesn't rising ,This situation happens occasionally,Most flights are normal, altitude hold and GPS positioning hold are very good, Thank you
@dhrutidhara behera Thank you for your answer. When I turn on the altitude hold function, it does not move the throttle. It automatically rises and the speed is very fast. When I immediately turn off the altitude hold function, he does not rise. The highest rise height is about 60 meters, if you Find the answer, thank you very much for telling me. One thing to note is that,this situation happens occasionally,Most flights are normal, altitude hold and GPS positioning hold are very good, Thank you very much ~
Yes, with modifications to the code. The tricky part is the servo used in tricopters. We have to implement servos our selves and so far I think I have the arduino servo library working. You have to add external pullups to 12c and use a single ppm receiver wire with that method.
@@plorks445 i suggest u make code for thats tricopter option, it will be more interesting. now i will use your code to my rover, next maybe i will build it for tricopter.
Hey +Joop Brokking I needed some help with making a stabilizer for RC Planes , have taken code from yfmc and tried modified it , but it doesn't work that well , so if you would make a video about it , it will be a lot helpful !
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);"
really thanks @@Joop_Brokking so this is pretty good for around 10 meters "if (ground_pressure - actual_pressure < 90)return_to_home_decrease =90 - (ground_pressure - actual_pressure);"
Hi, if you need help, I have made a PCB for it. I would share the files, so that you can give it to a PCB service like JLCPCB or Seeedstudio. Then it's just soldering some pin headers.
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!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Joop, Two years ago I was hurt in a bicycle accident; I was incapacitated for six weeks. I started surfing around on UA-cam out of sheer boredom & stumbled into your YMFC-AL videos. I was intimidated to say the least, but thought I would take on your Self Balancing Robot project, which was a real turning point for me. After showing that off to my friends I went back & built the YMFC-AL & have been upgrading to this RTH release since. I have Spektrum NX 10 transmitter (I have several radio controlled airplanes) & by chance installed an eight channel DXMS PPM receiver in the autonomous version so I made code changes to allow a seventh channel to be used. Once the weather improves I hope to test. Thanks for this great work !
Hey we need your help with the autonomous drone , reply so I know you accept the challenge, many others having issues too..
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...
You're doing a very good job. It will help me and my students providing an easy to understand code for a cheap and widely available platform. Congratulations and thank you a lot!
Even mine
hello Professor Eduardo...😊
Do you have Code Zip file for the STM32 Quadcopter downloaded? I need it for study code and develop study platform
Now brook's site is showing 404 error.
If you have reply me, I'll share mail ID.
@@gauravkhanekar3924 how to?
Well explained! I will certainly build one STM32 Quadcopter after watching all Your videos.
Thank you for sharing your knowlege Joop. Hope you are doing fine.
what else can you Joop surprise us ! fascinating!
obstacle avoiding feature and object recognition control if added ,then this micro-controller will compete DJI (after a nice visual interface setup program )^_^
Joop's back! YAAAYYYYY!!
Wow, great job, amazing!
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 👍
What an awesome build. And thanks for sharing!
Your videos are very informative and rich in tips , Thank you !!!!
Love the videos. learned a lot of great things and I plan on building one here soon I hope. I have a quadcopter that is a lot of fun, so I think I am going to build a hexacopter first. Love the videos and thanks for the education.
Cool new features! Thanks for keeping it simple for us.
Looks like I got servos working using the servo library and adding 1.5k resistors to the SDA and SCL wires. Hope this helps someone.
Had a conflict trying to change an ESC and receiver pin to work with servos. Ended up copying the PPM code from Joops latest build into his earlier non-autonomous build and now 4 servos are working from where the PWM pins used to be.
Hi sir, Iam Rijeesh from India 🇮🇳
I made YMFC32. I saw all video of YMFC32 & I go through the codes & did it. When I upload test program Everything is working fine. But when I try to fly at time of arm the motors quad is unstable. Some motors are increasing rpm. I used 1400kv motor with 1045 props. My doubt is that I mounted mpu 6050 into a connector. Not soldered directly to pcb. If it’s get vibration will it unstable while motor arm stage. I hope you will reply for this msg sir. It’s a great project I appreciate your effort not only for the build also to help the interested persons to achieve there dream.
Joop, du bist großartig. Weiter so und vielen Dank.
Great work sir.. Thank you very much for sharing...
Great Job, Thanks for sharing such an amazing video.
Terrific video Joop! I would really like to embark on this project but configure it for model aircraft use.
Incredible, nice work!
Very good! very good indeed! if you can somehow change the radio gains during the flight! I believe you will not have anything else to do! it would look like it was a naza lite!
I admire you! You as a genius!
As usual. Fantastic
You are the best!
mahn thank you sooo much ... ymfc32 was a fun project i learned many things ... any tips on adding a camera to it
why the red light flashes twice, even though no code has been changed
Amazing Sir, You Are Awesome
thank you so much, Its really interesting
The HardWire library itself is not included in the file, which is confusing. How did you solve it?
Awesome man !
I would recommend blackbox , dynamic notch filter(user doesn't need how it works)for prop and motor noise
Compared to the DJI Phantom 4 pro the YMFC-32 is almost silence. So why should I put in something that no one understands while the 'almighty' DJI Phantom make much more noise?
@@Joop_Brokking I saw that you used some sticker on the props
possibly for prop balancing but suppose that ymfc32 based drone gets unbalanced mechanically(due to vibration or prop damage(a bit) smth like that), there would be a big risk makes drone a unbalanced system, controlling drone may be impossible in such a case.
the filter that i suggest covers most of cases to prevent noise on IMUsensor
By the way, most of people dont know how an engine of car works but they drives the car well.(IMO if engine is well designed, its ok for everyone)
I respect your opinion about simplicity of code, but if you look to users side, you will see the control of drone and safety is important than the code
wouldn't a kalman filter make the gps reliant features more stable?
amazing work, by the way, as always
As he said, it gets a bit complex for the layman to understand (although I feel otherwise). It gets a bit complex because you'd be using an EKF here and not a simple KF (EKF because you have a non linear relation between position and the function that relates position to velocity and heading) which would only make it harder for most people to understand.
And remember what his website say, "Let's keep this simple".
Have a great day
please help. when doing setup, it says mpu not found but other codes on internet do find and read values. im stuck on that part. im using mpu 6050
great very good work thanks for the share
Thank you so much! :D
awesome features, thanks . whats next? Auto avoidance system by range sensors?
Nope, this will be it. It's a nice starting point for others to develop there own code.
I would like to see very basic waypoint navigation by laptop computer. I imagine this...
1) GUI is super basic just a grid.
2) Click on grid to place dots. GUI draws lines connecting the dots with corresponding measurement length between dots.
3) Each waypoint dot has "Hold Position" parameter specifying how long copter should hold its position before moving to the next dot.
4) Click big green "GO" button. Copterth then auto takes off and follows the dots then auto lands.
@@plorks445 the opensource platforms such as arduino missionplanner or pixhawk ground control system gui are suitable for you,
you need to learn protocol of those platforms and interpretation of their commands
startpoint for you is learning mavlink
@Mustafa YETİŞ Thanks for the info but it'll never happen. I need it to be simple. Already looked at Arducopter and it's too difficult for me to adjust. Pixhawk even worse for me. I implemented VTOL code into MultiWii years ago and Joops code is even simpler for me to understand. I'm almost done implementing VTOL airplane code into Joops project. Limited GPS hold will have to do for now, for which I am very thankful to Joop for.
My quadcopter's stm32 freezing when I'm shaking the quadcopter. The freezing started before immediately when the calibrating process done so i made few changes to improve the stability of the electric but now after all the isolations and fixes, when I'm shaking the quad, is freezing 🥶.
Any idea?
This is so lovely project i ever seen but where is a code
Hello Sir, Is there a plan to make a controller for Fixed Wing. Cz you explain very well. We All just waiting to learn a little on fixed wing. Thanks
Genio!!!
any chance you will do something like this for fixed wing ? and maybe some nrf24link :) .Nice work you are doing sir !
I have one doubt regarding this fail safe.
if my transmitter is in gps hold mode and i'm moving away (for range test say). if i move far away transmitter signal will be lost and failsafe is activated. Now while it is returning transmitter - receiver link will be reconnected as it started moving towards home location. Will it continue with RTH (from fail safe) or will it go into GPS hold (from transmitter)?
plz make a video on how to connect GPS hold on a toy drone
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!
Hi, I could get the idea behind controling esc's at your ymfc series. In schematics you connected them to 4 5 6 7 pins and just 5 and 6 supports pwm so i dont get it. Thank you
Can anyone help me why is my quads drift when taking off
Thanks Joop
The HardWire library itself is not included in the file, which is confusing. How did you solve it?
muito bom
Hello, I want to learn step by step, how to flash ESC 30A for the Syma X8 board using Arduino Uno R3
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
Ik heb nog 9 PCB's liggen volgens Joops schema. (81 x 114 mm) Zie Ebay YMFC32 Schema Joop Brokking
hello i need a help plz:
i want to know if it's possible to connect the dragonlink with carte arduino yun and how to do it ?
thank you
Hi Joop. Don't you think building a flight controller with ESP32 controller could be a good idea? I didn't find any project (in English) with that so powerful and cheap microcontroller. Thank you in advance.
This is a great project, but I can't get the code to load into the Arduino IDE on my Raspberry Pi. I get a java exception array out of bounds error 0. Is the source code too large? I have the latest RPi, the 3 B+. Any help would be appreciated.
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
Can we use it for aerial photography??
im building this as we speak, could this be modified to be used for fishing
hi! great video. can you please explain the formula used to combine the GPS data and the heading, the same formula is used for headlock. thanks I'm advance.
Please watch my other videos where I explain the background information.
Hi bro, waiting for your new uploads, what happened why no new videos
Can I use an UNO instead of the STM32 for this project?
perfect
Nice, Can you try to track drone with a mobile phone. It is very useful if we've lost the drone (acts of god). I'm using GPS tracker called GF-07. But, it's awesome if we can use drone's GPS module.
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.
Sir can you provide hexagon audino based drone programming 🙏🙏 please sir it's very necessary for me
Can you add geofence next with this project
Can i use gps module neo 6 with compass hmc5883l
The only 1 question I have... I am using GPS neo 6... and a seperate compass... but which side is compass front side? i haven Seen this question in the Q&A page also...
The HardWire library itself is not included in the file, which is confusing. How did you solve it?
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!!!
Hello been following the project and enjoying it one question will this project run an arduino mega (cos I got one spare)? Regards steve
If you modify the code a bit (pins etc), it should work on an arduino mega.
hey there! this project idea is awesome using arduino & yes I loved it & also very helpful idea for me in the project I'm making....but this copter is operated using remote controller...can you operate this copter using s\w instead?
In a few days I will post a video that will show waypoints by using a computer flight monitor program.
@@Joop_Brokking waiting eagerly 🤘🏻🙌🏻😊
Is this build still valid? It looks like many of the product links on the website are broken?
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.
Sir how about coding stm32f303 with arduino? Its same stm32f1 for coding. Can u share about this? Thanks
Do you run tests on your algorhytms, to see if the processor can actually keep up the pace?And have you thought about redundancy?
1) Yes I did.
2) That is not the main goal of this project.
Hi Joop, I have a question for you if you can share the code for the drone that only supports gyro, without a barometer etc. I would be very grateful for that.
In Poland, the GPS and barometer are very expensive, and I can not afford it :(
Search for his "Project YMFC-32 - The STM32 quadcopter". It used only gyro and accelerometer. No GPS, baro or mag.
can i run this code on stm32f101rct6(which seems the same as i saw both datasheet )
You can, but make sure to check the pinouts with the registers used.
Great video and sharing sir. 👍👍👍I hit the LIKE and Sub buttons.😀😊
@ Joop Brokking
Could you or someone briefly tell me what the HEADING LOCK mode does and ( if all it does is make the front and back of drone defined and fixed ) I could remove it in code and free up a channel for gimbal control
When on, it records the direction the quad is facing before takeoff. This orientation remains for the entire flight. Yaw does not affect the orientation of the transmitter controls. It can be spinning around in yaw and right roll command will always move the copter to the right and so on, based on the initial takeoff orientation.
Hi sir when to install software and where to get it?
Hi mr joop i got a problem with the esc calibration, im using the same ESC's but when i do the calibration procedure only 3 motors start at the same time, one motor starts after, how could i solve that problem?
Sounds normal if it doesn't start much later than the rest. When throttle is 1000, all motors get 1100 to ensure they are all spinning.
Completely impressed. But I get a 404 Page Not Found when attempt to get code. All these video's are useless without it other than very interesting.
hey joop sir Great Work , but this video is not shown in playlist where it has to be, playlist Name: "YMFC-32 | a DIY 32-bit STM32 and Arduino based quadcopter flight controller"
I will add it :-)
@@Joop_Brokking thanks a lot ...😍
Thanks a lot🙏
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.
Looks like my solid red LED might be caused by a faulty jumper that isn't making contact when I move it from the zero to one position. Crimped it with pliers a little and spread out the pins a little and now I am getting better results.
I have a weird problem , so the setup program detects I2C for my compass and barometer correctly but using the test to check data nothing happens and the PC13 led on STM32 keeps blinking till reset .
If anyone knows any possible solutions do let me know ( I checked wiring many times ) also the mpu6050 connected works fine
hello mr utkarsh, has your problem been resolved? I also have the same problem. until now it has not been resolved. if you have found the solution maybe you can help me? thanks.
Hey Joop ,how to program that Quadcopter from that Rar files,there are multiple files, so I litile bit confused ,will u explain it please!
Open the very last file that is in the folder, into the Arduino IDE. All of the other files will auto load into the Arduino IDE and show up as "tabs" at the top of the IDE.
The future is out there, waiting...
Have anyone made ymfc with esp8266?
Someone tested in FS-i6X controller?.
hi im georges please can you show me how you can put Gps and Gimbal camera on YMFC-AL . thank
YMFC-AL is very old. If you want Gps you have to upgrade to his latest code.
someone know where i can changed and how "20 meter above ground level" to 10 meter ?... thanks for all and your sharing
Hi,Sir,Maybe this line of code will help you ,You can try changing 170 to 100, just as a suggestion. Be careful ~
"if (ground_pressure - actual_pressure < 170)return_to_home_decrease = 170 - (ground_pressure - actual_pressure);"
@@user-ll3kt2nw8d thanks i was thinking of this too but not sure if joop read this perhaps can he confirm this thanks for your answer
I wonder that the ymfc-32 is stable even if it faces to strong wind which makes drone turn 90 degree roll or pitch? did you test it by hand instead of wind?
This is the same auto level code with the YMFC-AL (8-bit Arduino): ua-cam.com/video/cNYrtZa0HX4/v-deo.html
Looks stable enough if I may say so.
I tested it in wind. It's very stable.
@@Joop_Brokking it seems very stable , excellent job!
I mean that if we tried to full flip the drone(around pitch or roll) how it would behave?
(I am asking because I wonder about gimbal lock)
thanks for all is it possible to test RTH without flying ?
i would like to say that i can't have Mode 4 on telemetry on the RC i can see that the values are ok but why the telemetry don't switch to M4 on screen ?
0) Power via USB and no flight battery
1) Change int16_t manual_takeoff_throttle = 0; to int16_t manual_takeoff_throttle = 1500;
2) make sure you have 6 or more satellites
3) Start (left stick left bottom) and place it it centered
4) Switch to flight mode 3
5) Move pitch stick forward for 4 seconds
6 ) Select flight mode 4
7) M3 should now read R1 till R5
@@Joop_Brokking thanks tested it works fine till R3 after switch to M3 is it normal ?... possible to change "20 meter above ground level" to 10 meter ?... thanks for all and your sharing joop
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?
I have same problem...
Hi Sir,i want thank you for your great contribution,i have buld my drone ~but recently I have a question to ask, my drone has always been very stable.
yesterday I tried to fly once . The weather was cloudy and the wind was level 3. When I started the drone, I didn’t give him a throttle. However, the drone has been rising all the time. It is estimated that the rising height is 100 meters. I can't control it. After a while, I can control it and land safely. This situation only happened once. After that, it is normal. Can you help me? Thank you very much~
I wonder if it is a wind mutation?
I started the drone,I keep the throttle in the middle, in a hovering position.the drone auto rising all the time
@dhrutidhara behera Sir,Thank you for your answer,I flew my drone yesterday,I found the problem,After a normal takeoff, when I turn on the altitude hold function it auto rising all the way,When I turn off the height hold function it doesn't rising ,This situation happens occasionally,Most flights are normal, altitude hold and GPS positioning hold are very good, Thank you
@dhrutidhara behera Next time I will test to see if the red LED is abnormally lit
@dhrutidhara behera Thank you for your answer. When I turn on the altitude hold function, it does not move the throttle. It automatically rises and the speed is very fast. When I immediately turn off the altitude hold function, he does not rise. The highest rise height is about 60 meters, if you Find the answer, thank you very much for telling me.
One thing to note is that,this situation happens occasionally,Most flights are normal, altitude hold and GPS positioning hold are very good, Thank you very much ~
can this use for tricopter?
Yes, with modifications to the code. The tricky part is the servo used in tricopters. We have to implement servos our selves and so far I think I have the arduino servo library working. You have to add external pullups to 12c and use a single ppm receiver wire with that method.
@@plorks445 i suggest u make code for thats tricopter option, it will be more interesting. now i will use your code to my rover, next maybe i will build it for tricopter.
Hey +Joop Brokking
I needed some help with making a stabilizer for RC Planes , have taken code from yfmc and tried modified it , but it doesn't work that well , so if you would make a video about it , it will be a lot helpful !
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);"
The 170 is correct.
really thanks @@Joop_Brokking so this is pretty good for around 10 meters "if (ground_pressure - actual_pressure < 90)return_to_home_decrease =90 - (ground_pressure - actual_pressure);"
Can you creat a tutorial on how to make your ymfc-32 main board or flight controller? Please.
Hi, if you need help, I have made a PCB for it. I would share the files, so that you can give it to a PCB service like JLCPCB or Seeedstudio. Then it's just soldering some pin headers.
Mia here from RayMing, 10 years PCB and PCBA manufacturer.
Could you please introduce our company on your UA-cam? and we will pay for that.
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!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!