How to program a quadcopter GPS hold function part 1 - YMFC-32 - The STM32 - Arduino quadcopter

  Рет қаралды 34,341

Joop Brokking

Joop Brokking

Күн бұрын

Пікірлер: 74
@bohaman.
@bohaman. 4 жыл бұрын
Hi guys, I figured it out when you run the GPS function and you got the string of question mark return. He changed his schematic to connect to Serial2 line so all you need to do is change the Serial1 to Serial2 in the program and it should work :) Mr. Brokking, I got it running !! I'm so excited
@mohrifqi5379
@mohrifqi5379 4 жыл бұрын
@Pham Don Has your quadcopter flown successfully? and there are no problems with the GPS?
@orcharddriveblockparty8266
@orcharddriveblockparty8266 4 жыл бұрын
Thank you for this really important information. Here's the funny part, I ran into this problem originally in the Spring when I was working thru the hardware test program & saw your comment above, made the change & got the data expected as per Mr. Brokking's output samples. Fast forward to the Fall & I'm finally back to installing the Flight Control software & I run into this same problem. After some thought I realize I might have come across this problem before, totally forgetting I only did this change in the test program. I think to myself, why don't I read thru the comments section of this video & maybe I'll find an answer. Just like before I find your comments & boom, it works. I am ready to go once the weather cooperates! Thanks so much for this info.
@bohaman.
@bohaman. 4 жыл бұрын
@@orcharddriveblockparty8266 Hi, Did you happened to get the rate display when it running at 9600? I got the end results at 57200 However, at 9600 I still get a string of questions. The reason I asked because when I active the GPS function, my drone goes haywire, it either drifts constantly and increasing altitude or slams on the ground. I was not sure what else I'm missing. My telemetry says it got at least 8 satellites so I think the drone does recognize the GPS code. I also have Lat and Long displayed on my telemetry as well. Hope you figure out something that I must have missed. Thank you
@orcharddriveblockparty8266
@orcharddriveblockparty8266 4 жыл бұрын
@@bohaman. Interesting you mention the 9600 display. I had similar results early in my testing, but then for some unknown reason it started working. I will report back the results of my first flight this week.
@shehabmansoor4693
@shehabmansoor4693 4 жыл бұрын
You are genius
@thosjomi9048
@thosjomi9048 6 жыл бұрын
Weer een mooie video Joop! You were one of those who inspired me to build my own drone. I based it on your work but i try to use different components to still feel the challenge and learning that comes with the whole process. Keep it up and tnx!
@dtpc_technologies
@dtpc_technologies 6 жыл бұрын
I always wonder how the heck is dji so stable that it fells as if its tied to the sky 😍 Super excited for future videos. Great videos sir.
@Joop_Brokking
@Joop_Brokking 6 жыл бұрын
My best guess is that they heavily rely on the vision sensors. I once flew the Phantom over a cornfield during a windy day and I noticed that the moving corn (due to the wind) messed up the position hold. When I have some more spare time I will tape the vision sensors as if it was night and fly it again. But you are right, it's really scary what they have accomplished.
@dtpc_technologies
@dtpc_technologies 6 жыл бұрын
@@Joop_Brokking We can also test it by flying it over the color printed scenery of some area on a poster paper and then moving the paper manually to see how the Phantom reacts to it... That'd be really fun and will reveal the truth about vision sensors in additon to a great video :)
@pramod_Kumar..
@pramod_Kumar.. 6 жыл бұрын
Very informative Video . Learn lot of things... Great video 👋👋👋👋👍👍👍👍👍👌👌👌
@ahmedallam9612
@ahmedallam9612 6 жыл бұрын
Hi Mr Joob, as Always great Work, wonderfull explanation
@krzysztofrostkowski7258
@krzysztofrostkowski7258 4 жыл бұрын
Can you provide Gps configutations? It would be the easiest solution to upload on u-center if someone has a problem with setting all GPS parameters.
@ajaypranav1390
@ajaypranav1390 6 жыл бұрын
Love your video, I have started building my own Quadcopter
@efmirandaaa
@efmirandaaa 5 жыл бұрын
Ajay Pranav hello Ajay, how are you? did you manage to install the gps? if so, where did you get an original module? could you share the link? Thank you very much in advance
@ionut2570
@ionut2570 6 жыл бұрын
Thank you for your time, very good explanation
@mpls_link
@mpls_link 6 жыл бұрын
your the best sir
@AppliedMetaphysician
@AppliedMetaphysician 6 жыл бұрын
Woohoo!!! A new Joop video!!! "Countdown? Check. Rocket Launch? Check. GPS Hold? Check. Production values? Check. Clear explanations? Check!"
@Joop_Brokking
@Joop_Brokking 6 жыл бұрын
Haha, I felt the need to throw in some rocket science :-)
@nenadstojadinovic8326
@nenadstojadinovic8326 3 жыл бұрын
Hi Joop. Brilliant videos, please keep up the good work! Quick question: why do we still use barometer modules in flight controllers that are fitted with GPS? Surely the GPS output would have far more accurate altitude outputs than any barometer?
@odeds358
@odeds358 Жыл бұрын
Hello Joop, Thanks for the showing project, I bought all hardware and trying to install stm32 but getting error mesage, could you please explain how to install it? Thanks. "Compilation error: 'HardWire' does not name a type"
@AlvaroPandolphousa
@AlvaroPandolphousa 6 жыл бұрын
Hi Joop Did you ever think about write a book ? I would love it and thank you for all these wonderful videos.
@ahmedallam9612
@ahmedallam9612 6 жыл бұрын
Alvaro Pandolpho good Idea
@Joop_Brokking
@Joop_Brokking 6 жыл бұрын
I'm trying to put all my knowledge in videos that can be used with my website. Writing a book is very time consuming :-)
@alula_fpv
@alula_fpv 6 жыл бұрын
The first thing I do is like the video, even before watching it!
@pramod_Kumar..
@pramod_Kumar.. 6 жыл бұрын
So what are you doing in comments section ... 😂😂😂
@Joop_Brokking
@Joop_Brokking 6 жыл бұрын
That is probably his second step. Thank you for the like kishor maharjan
@callumwatts327
@callumwatts327 3 жыл бұрын
When using the test software, I cannot get any values back from the GPS. It is a genuine uBlox M8N. Also, the test program seems to freeze when searching for I2C devices, with the PC13 LED blinking constantly. Could I have some newer library installed, or something incompatible? The rest of the test software works great, and I can see values from every other part. I have everything rigged up as in the schematic. Please help!
@niclashillborg7591
@niclashillborg7591 6 жыл бұрын
Hi Joop! Is it possible read the height given from the GPS. And if so how should I modify the read_gps function? Br N
@wingunder
@wingunder 5 жыл бұрын
Hi Joop, I only stumbled upon this now. Just one question: The ublox module that you have, is capable of 10Hz. Why do you only use 5Hz? My only guess is that 5Hz is enough and that you are saving some computing resources for other purposes. Right?
@bohaman.
@bohaman. 4 жыл бұрын
Hi everyone I got everything working except for the GPS and the telemetry. However I'm more concerning about the GPS. I got the same GPS as Mr. Joop and used u=center to make sure it's running 9600 @ 1Hz default. However everytime I run the test program I can't read the value. It just run as a long string of question mark and then the function ended. Can someone please help me? Thank you so much
@markgreco1962
@markgreco1962 6 жыл бұрын
Thank you
@robertparenton7470
@robertparenton7470 3 жыл бұрын
YMFC-32_auto_test_program_ver-2b Code block Check_gps has error using Serial1. Needs to be Serial2 for pins A2 and A3.
@zephaniahkonduri329
@zephaniahkonduri329 6 жыл бұрын
Wow great,Thank you sir
@mohrifqi5379
@mohrifqi5379 4 жыл бұрын
Where can I buy the original GPS Neo 8 as in this video? Please help me!!!
@manuelarjonarodriguez810
@manuelarjonarodriguez810 2 жыл бұрын
Would someone know where to find the gps ublox m8n + compass hmc5883l, I have already bought two on Aliexpress that claimed to have the ublox chip, but none of them work. Sorry for the translator. Thank you
@krzysztofrostkowski7258
@krzysztofrostkowski7258 4 жыл бұрын
I need help for my GPS. I check the GPS module with my PC using the U-Center everything works. I configured using the U-Center GPS module was originally set at 9600bps with a 1Hz refresh rate I changed to 57600bps with a 5Hz NMEA massages. Gps works on the U-Center and also I tested on the arduino nano with a different code everything works. When I do the Gps test (YMFC-32_auto_test_program_ver-1b) I see question marks for a few seconds that's all. I probably missed something? I would be very grateful for any help. Thank you
@asmaamsaad8613
@asmaamsaad8613 4 жыл бұрын
Hi sir I have the some problem Did you find a solution ?
@bohaman.
@bohaman. 4 жыл бұрын
I also have a similar problem. May I ask if you have found a solution? I bought 3 different GPS and I still can't solve it.
@krzysztofrostkowski7258
@krzysztofrostkowski7258 4 жыл бұрын
@@bohaman. I tested on u-blox M8N and u-blox 6M does not work. I think the GPS configuration may be wrong. Unfortunately, I'm not a programmer.
@bohaman.
@bohaman. 4 жыл бұрын
Krzysztof Rostkowski I found a solution go to my comment under the GPS hold. In his code he have Serial1 read but the schematic we connect it to Serial2 so you just need to change everything from Serial1 to Serial2 it will read
@bohaman.
@bohaman. 4 жыл бұрын
If you talking about testing the ublox via the FTDI make sure you connect the RX from the GPS to the TX of the FTDI and vice versa
@janrodo4978
@janrodo4978 6 жыл бұрын
Joop thank you so much for your work.
@Ka-uv1hn
@Ka-uv1hn 3 жыл бұрын
Is it an error at 11-15 with Set_to_57Kbps array in payload length byte (need payload 20 bytes), or it need to be 14 by some reasons? Thank you for your videos)
@filipesennasilvadelima5926
@filipesennasilvadelima5926 4 жыл бұрын
hi Joop, is it possible for this code to work with another jps, such as neo 6q 0 001? I'm trying to read the gps with the test program, but only illegible messages come.
@shehabmansoor4693
@shehabmansoor4693 4 жыл бұрын
Hi, I have the same problem , can you help me please
@technocrat9984
@technocrat9984 4 жыл бұрын
Can u plz provide us link to final STM32 code and circuit diagram 🙂🙂??
@athyuthnair.p9239
@athyuthnair.p9239 6 жыл бұрын
Sir... Can you make hexacopter with Arduino
@fusca14tube
@fusca14tube 6 жыл бұрын
Hi Mr Brokking.... can I use an 8 MHz 3.3V Arduino (without the resistors) in your PWM to PPM converter project? Thanks in advance.
@Joop_Brokking
@Joop_Brokking 6 жыл бұрын
I never tested it myself. I should be possible as the program is very basic and doesn't require a lot of calculating power.
@fusca14tube
@fusca14tube 6 жыл бұрын
@@Joop_Brokking Thank you.
@nayanamadhuwanthaweeraseka7047
@nayanamadhuwanthaweeraseka7047 6 жыл бұрын
Sir, I created ppm converter using Arduino pro mini. But when checking transmitter signals using "YMFC-32_auto_test_program_ver-1a" programme it doesn't gives correct values. all values are around 199. when moving sticks, 2 channels are changing their values between 600 and 199. Please help me sir, i used 1k and 1.5k resistors insted of 2k and 3k, and only recever is connected to the A0 pin on stm32. (im using FLYSKY FS-i6 transmitter and FS-iA6 receiver)
@Joop_Brokking
@Joop_Brokking 6 жыл бұрын
If you use the PPM output of the IA6 you can directly connect it to the STM32. No voltage divider is needed as it is already a 3.3V signal.
@nayanamadhuwanthaweeraseka7047
@nayanamadhuwanthaweeraseka7047 6 жыл бұрын
Thank you sir. sir It haven't a ppm output.
@spotdoit6047
@spotdoit6047 6 жыл бұрын
Sir can i use flysky ct6b with r6b reciver to by converting pwm to ppm.
@Joop_Brokking
@Joop_Brokking 6 жыл бұрын
Check chapter 4.3 on my website: www.brokking.net/YMFC-32_auto_main.html#4.3
@chethankumar2021
@chethankumar2021 2 жыл бұрын
hello guys, I am getting Error 4 (GPS watch dog exceeded) when I activate gps hold function can anyone help me with this And also did anyone ran into this issue
@sk1fpv
@sk1fpv 4 жыл бұрын
You built your project to look exactly like a matrice
@MustafaNorthumbria
@MustafaNorthumbria 4 жыл бұрын
Great..
@TanishqIsHere
@TanishqIsHere 6 жыл бұрын
Audio is quite low or is it just me?
@littlemakgames9530
@littlemakgames9530 4 жыл бұрын
prob u
@matheusaraujo7393
@matheusaraujo7393 6 жыл бұрын
GREEEAAAATT!!!
@chhabraadhruv
@chhabraadhruv 6 жыл бұрын
Sir its September 2018 , waiting for STM32 software 😀
@luisprado8483
@luisprado8483 4 жыл бұрын
You sound like Gru from Despicable Me
@danishliaquat
@danishliaquat 6 жыл бұрын
Sir its September 2018 , waiting for STM32 software
@guywatcho1641
@guywatcho1641 6 жыл бұрын
You can try to write your own
Quando eu quero Sushi (sem desperdiçar) 🍣
00:26
Los Wagners
Рет қаралды 15 МЛН
Mom Hack for Cooking Solo with a Little One! 🍳👶
00:15
5-Minute Crafts HOUSE
Рет қаралды 23 МЛН
小丑教训坏蛋 #小丑 #天使 #shorts
00:49
好人小丑
Рет қаралды 54 МЛН
YMFC-32 quadcopter - Return To Home and fail-safe - Software update
16:13
GPS Comparison Guide
6:44
SparkFun Electronics
Рет қаралды 47 М.
Solving the BIG PROBLEM I have with DIY Drones! (Motor Test Stand)
10:45
How I made a Raspberry Pi Drone 😎
17:22
DIYLIFEHACKER
Рет қаралды 65 М.
Inside the V3 Nazi Super Gun
19:52
Blue Paw Print
Рет қаралды 3 МЛН
Custom Cyberdeck For (Legal) Satellite Hacking
20:12
saveitforparts
Рет қаралды 1,3 МЛН
Quando eu quero Sushi (sem desperdiçar) 🍣
00:26
Los Wagners
Рет қаралды 15 МЛН