10Hz U-blox binary GPS data in 66 lines of code (arduino)

10Hz U-blox binary GPS data in 66 lines of code (arduino)

iforce2d

9 лет назад

210,781 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@toto-tf7ns
@toto-tf7ns - 21.10.2023 00:34

Hi! I am using a neo7m. But in the GNSS config page, it doesnt let me uncheck the others.

Ответить
@paveeramwong
@paveeramwong - 13.09.2023 01:05

thank you iforce2d

Ответить
@Tobby4063
@Tobby4063 - 12.09.2023 11:22

Brilliant.

Ответить
@killrb13
@killrb13 - 28.08.2023 21:04

Height abolve ellipsoid is height above the Mean Sea Level (MSL) model that does not account for gravity inconsistency (Geoid), not height above ground level (AGL). POSLLH - POSition Lat Long Height

Ответить
@RandomTorok
@RandomTorok - 20.08.2023 01:46

Can you provide some more information regarding the USB device that allowed you to plug the GPS module into the computer?

Ответить
@brandonrmansur
@brandonrmansur - 04.04.2023 02:41

Fantastic! Thank you! You just made my project manageable.

Ответить
@starliaghtsz8400
@starliaghtsz8400 - 28.02.2023 18:51

i have a C function that reads and parcels txt files, is it possible to get the hexadecimal logs out of this (in real time) just as a line by line text file? would really appreciate your help if possible. on a debian device btw, beaglebone black

Ответить
@TheMrDrMs
@TheMrDrMs - 07.02.2023 17:54

wow this was really helpful. I found this from Andreas Spiess. I wonder if you (or anyone) knows the fix for what I've deemed to be a dead unit (neo-6m). As soon as it gets GPS lock, the serial connection dies and the computer does not receive any packets from it, nor will it accept any from the computer (aside from hot/warm/cold restarts), but def no config updates/changes, reading cfg or of course no pos or timedate. Disconnect antenna so it loses lock, and instantly you see the connection icon flashing, and read/write works again.

Ответить
@redbearrc6706
@redbearrc6706 - 31.01.2023 01:37

Great video. I am programming an arduino UNO and Mega 2560 to get GPS out of a BN-220 GPS and save it to sd card. The sketch works find but is not working on a pro mini or nano because its too big. Now I found this video and will try to use UBX protocol instead of NMEA and make it work on a Arduino NANO. The plan is fly around with my rc glider. GPS receiver in the glider sends data to ARduino and then Arduino sends it to X8R receiver and gps data is shown on my FRSKY Taranis X9D transmitterscreen and maybe also stored on the sd card of the TAranis. I already reconfigured the BN-220 wit Ucenter. I also noticed it doesnt always store the settings. If it works I will make a video. I also want to check OpenXsenser, maybe they have a sketch for this.

Ответить
@PhilipBremner
@PhilipBremner - 02.12.2022 03:24

Thank you so much. Excellent video and information.

Ответить
@anacassiahasskondo8941
@anacassiahasskondo8941 - 04.10.2022 14:23

hi, i followed your tutorial and it worked, thanks for sharing it! but i also was wondering, is it possible to also use a neo-m8n as a speedometer?

Ответить
@salUAV
@salUAV - 27.07.2022 20:12

Please could you share the sketches?. the source code link doesn't work. Thank you. Regards. Salvatore

Ответить
@craiglarson2346
@craiglarson2346 - 05.07.2022 09:07

What a gift! Nine months of learning boiled down to 39 minutes. Thanks! And your follow-up video is also a gift - especially the SendMessageOutputs information.

Ответить
@bongarcon8806
@bongarcon8806 - 20.03.2022 00:56

Me all problem not led ... 😞

Ответить
@jakburk
@jakburk - 06.01.2022 02:56

POS-LLH = Position Longitude Latitude Height, maybe?

Ответить
@johneagle4384
@johneagle4384 - 31.12.2021 22:23

Wow! What a great video. Thank you so much. Thanks to you, my GPS is working.

Ответить
@flashcorp76
@flashcorp76 - 19.11.2021 13:39

Yes still watching 😁👍🏻@31minutes…

Ответить
@rickybates2844
@rickybates2844 - 10.11.2021 06:41

Glad you did the video. I had worked this all out about 4 years ago but didn’t remember how. Hang onto that version 8.12. I can’t get the née 20 point something to work at all and it wants the internet all the time.
Well done 👍

Ответить
@compukit007
@compukit007 - 13.10.2021 02:38

love the video bad is it posebel two do this with the speed also and then let the speed valeu control how fast a few leds are blinking ?

Ответить
@markgreco1962
@markgreco1962 - 05.09.2021 06:51

Just have to say this video stands the test of time. I watched it at least 100 times, NOW I’M making a nixie clock out of a vintage HP nixie counter with no modifications to the counter itself. Pulling the time from gps through an uno displaying time on the counter. THANKS

Ответить
@faustodallape3093
@faustodallape3093 - 24.08.2021 01:01

I watched your video, you have done this research and unsderstand how to use a GPS in a high performance projects. I'm having problems to make a odhometer based in Ublox M8n and I want to ask you if you can help me in this project, if you can please send me a message then a send you more details and we can make a deal to work togheter.

Ответить
@evanstewart2432
@evanstewart2432 - 12.05.2021 04:11

Wow Check out the New Arduino Pro Micro Ultra low power Version Arduino with Improved power regulators and Voltage range. Excellent 3d Manual and Schematics Double decker sandwich board. I love it Tried this with 5 projects works perfectly and you get support. Just write in. No changes to the board and is well documented on the silkscreen.
Here is the link Also noticed. When in Battery mode. The regulator can be bypassed. WOW. Now I can get in to the nano amps. On Ebay. Just type In the search "NEW Pro Micro Kit Arduino. Regulator removed 6 modes. Ultimate Low Bat power" .

Ответить
@felixbaum2180
@felixbaum2180 - 28.04.2021 21:28

Has anyone found out yet how to properly save your changes? Cause mine goes always back to default after I change sth...

Ответить
@ConstrianedVideo
@ConstrianedVideo - 19.04.2021 04:30

Wow! That was so helpful! I am very grateful you have done this research. Like you, I was only looking for a handful of values for my application, LAT / LON and perhaps speed and heading etc. But parsing the numerous text based NEMA sentences just to find the one of interest, and trying to keep up with the rate to prevent a buffer overflow seemed so silly when I only needed 16 bytes of so. Thank you so much for drilling deep into this and helping us understand (at least for ublox devices) how to reconfigure them for just the data we need , turn of the endless text messages in favor of the UBX binary or hex mode. Brilliant!
I just reconfigured my two UBLOX 8M modules which happily accepted the upgraded rate of 10 HZ versus the default of once per second. Cant wait to try it out in my app. Thanks again for demonstrating a game changing mode to talk to our GPS! Nice work!

Ответить
@Krautmaster86
@Krautmaster86 - 10.04.2021 14:18

I wonder if I can find out weather my Neo 8M on my Pi uses moe than GPS. Im fine with 1 hz but i want to push the precision to max. As far as I can say i got 10hz with my old 6N as wel by sending echo -en '\xB5\x62\x06\x08\x06\x00\xC8\x00\x01\x00\x01\x00\xDE\x6A' > /dev/ttyS0 to the module. Wonder how i might be able to configure my 8N module right after bootup by sending multiple echos to my module

Ответить
@birdie9122
@birdie9122 - 21.03.2021 16:52

Still watching in 2021 :D you helped me a lot!

Ответить
@mrunalshinde7637
@mrunalshinde7637 - 20.03.2021 01:41

Thankyou so much for this video helped me a lot .

Ответить
@sailtogether3236
@sailtogether3236 - 17.03.2021 05:05

Great! Thank you for your explanation!

Ответить
@taher1973
@taher1973 - 17.02.2021 22:16

Big thanks for detailed video

Ответить
@michaltvrdon2102
@michaltvrdon2102 - 13.02.2021 16:02

Best video ever love you This is going to be great for my supersonic rocket. Thank you

Ответить
@RogerGarrett
@RogerGarrett - 01.02.2021 04:47

Thank you, thank you, thank you!!! Excellent video. My most immediate concern has been getting an accurate time value from the GPS unit, accurate to the millisecond. The iTOW (Time Of Week) value would seem to do exactly what I need. I followed along, running the u-center program connected to my GPS unit and the iTOW values do indeed seem to be providing millisecond accuracy, with sequential values of 28.552 s , 29.552 s, 30.552 s, 31.552 s, etc. So, exactly 1,000 milliseconds between each subsequent message.

HOWEVER, I notice that in your test setup in which your GPS unit has no antenna and is therefore showing no lat/long values, it nevertheless IS showing what look like valid iTOW values, AND every single one of the iTOW values ends with 00, incrementing by 100 each time, which corresponds to the once-every-tenth-second that you have set for its rate. But where is it actually getting those iTOW values if not from satellites? It looks very strange to me that your values are always coming in precisely on the tenth of a second, while my values (from a GPS that's definitely accessing satellites) happen to be coming in on the .552 second.

Are the iTOW values actually received from the satellites, or is it somehow just calculated and local to the GPS device?

Ответить
@hmb2a
@hmb2a - 29.01.2021 16:21

Thank you @iforce2d for your video. But it does not work for me. After changing to 10 Hz I saw 5 line flash two times in one second! It is 10 Hz but not like your video. Please tell me it is correct or something went wrong.

Ответить
@bgable7707
@bgable7707 - 26.01.2021 20:54

Yep, I'm "still watching", Freak'n AWESOME !!! Binary is SEXY. I've watched this one and many of your other videos over and over. I don't know how many times over the last x months. At first I was frustrated with what I thought was just rambling on. But, YT, ie, google search kept bringing me back. And, as I watched until the end, you REALLY do cover all the DETAILs. Thanks for all the research, work and time creating these! Character text is for wimps. Real programmers know the difference in a byte and a char, nothing, it’s all left up to interpretation. Cheers BG

Ответить
@chaffardino
@chaffardino - 26.01.2021 15:22

How can I increase the decimals of Lat and Lon (0.000000)

Ответить
@laurencevanleuken5592
@laurencevanleuken5592 - 22.01.2021 20:37

You've helped me greatly

Ответить
@aldinmarchetti
@aldinmarchetti - 05.01.2021 20:48

Desde Argentina te digo... Excelente video!!!! gracias!!!!!

Ответить
@pitivytv4169
@pitivytv4169 - 05.01.2021 13:52

Can I change neo 6 to neo 8m?

Ответить
@Avionics1958
@Avionics1958 - 16.12.2020 18:07

Good amount of information. Thanks 👍

Ответить
@Europayacht
@Europayacht - 01.12.2020 15:00

Two words:
Perfect !
Thanks !

Ответить
@csc000
@csc000 - 01.12.2020 12:11

Greet video after five years. Really helps me with my f9p+f9h for ubuntu :)

Ответить
@michalc1763
@michalc1763 - 27.11.2020 13:12

Hi, Thank you for the super video. Helps me a lot in my project. I have a small problem with me neo-7m, when I change settings it holds only for 30min while is not powered up and then comes back to default is it normal? I had the same situation on two modules I'm using GY-GPSV3-NEO, there is a small battery on PCB and small memory so I assume it should hold new settings for a while. Can you or anyone advise?

Ответить
@Realtor3000
@Realtor3000 - 16.10.2020 03:09

And still watching...)

Ответить
@saveplanet3977
@saveplanet3977 - 06.10.2020 01:16

Hi , please can you help me to set up Neo 6M.not able to figure out

Ответить
@UltraVoltageAnd
@UltraVoltageAnd - 02.10.2020 17:53

Thanks man, I'm working making a formula car at my university and that video helped me a lot

Ответить
@awdhootkanawade
@awdhootkanawade - 11.08.2020 20:01

2 hours back i overflowed sketch by 14% and got this video

Nurolink is real 😂😂

Ответить
@wylieecoyote
@wylieecoyote - 09.08.2020 23:04

Don't worry about the length of your videos. People can fast forward over things not applicable, so please keep being detailed in your explanation and picture inlays. Great work.

Ответить
@jacobgerritsenfilms3559
@jacobgerritsenfilms3559 - 04.08.2020 22:20

at last, an explanation how to change to ubx in u-center; thank you!!

Ответить