Тёмный

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

Joop Brokking
Подписаться 79 тыс.
Просмотров 34 тыс.
50% 1

Опубликовано:

 

14 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 72   
@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 3 года назад
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!
@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.
@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 :)
@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?
@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?
@mpls_link
@mpls_link 6 лет назад
your the best sir
@odeds358
@odeds358 10 месяцев назад
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"
@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 :-)
@niclashillborg7591
@niclashillborg7591 5 лет назад
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
@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 :-)
@ahmedallam9612
@ahmedallam9612 6 лет назад
Hi Mr Joob, as Always great Work, wonderfull explanation
@pramod_Kumar..
@pramod_Kumar.. 6 лет назад
Very informative Video . Learn lot of things... Great video 👋👋👋👋👍👍👍👍👍👌👌👌
@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!
@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
@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)
@ionut2570
@ionut2570 6 лет назад
Thank you for your time, very good explanation
@ajaypranav1390
@ajaypranav1390 6 лет назад
Love your video, I have started building my own Quadcopter
@efmirandaaa
@efmirandaaa 4 года назад
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
@mohrifqi5379
@mohrifqi5379 4 года назад
Where can I buy the original GPS Neo 8 as in this video? Please help me!!!
@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
@markgreco1962
@markgreco1962 6 лет назад
Thank you
@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.
@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
@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.
@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 3 года назад
Hi, I have the same problem , can you help me please
@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
@technocrat9984
@technocrat9984 4 года назад
Can u plz provide us link to final STM32 code and circuit diagram 🙂🙂??
@athyuthnair.p9239
@athyuthnair.p9239 5 лет назад
Sir... Can you make hexacopter with Arduino
@zephaniahkonduri329
@zephaniahkonduri329 6 лет назад
Wow great,Thank you sir
@nayanamadhuwanthaweeraseka7047
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 5 лет назад
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
Thank you sir. sir It haven't a ppm output.
@janrodo4978
@janrodo4978 5 лет назад
Joop thank you so much for your work.
@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
@matheusaraujo7393
@matheusaraujo7393 6 лет назад
GREEEAAAATT!!!
@electro_savvy
@electro_savvy 6 лет назад
Sir its September 2018 , waiting for STM32 software 😀
@sk1fpv
@sk1fpv 3 года назад
You built your project to look exactly like a matrice
@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
@MustafaNorthumbria
@MustafaNorthumbria 4 года назад
Great..
@TanishqIsHere
@TanishqIsHere 6 лет назад
Audio is quite low or is it just me?
@littlemakgames9530
@littlemakgames9530 4 года назад
prob u
@luisprado8483
@luisprado8483 3 года назад
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
@Fuckecb
@Fuckecb 4 года назад
What changes i need to make to use different motors on ymfc and also how to use dshot instead of pwn for esc
Далее
Это было очень близко...
00:10
Просмотров 1,3 млн
НИКИТА ПОДСТАВИЛ ДЖОНИ 😡
01:00
Просмотров 148 тыс.
Embedded Programming for Quadcopters
53:37
Просмотров 177 тыс.
Making a Drone Smarter With Motion Planning
12:53
Просмотров 81 тыс.
Уроки Ардуино. ПИД регулятор
28:57
Это было очень близко...
00:10
Просмотров 1,3 млн