It Started With a Hardware Limitation I have been using Quectel GNSS modules in my designs for a while. They are reliable, well-documented, and the support ecosystem is solid. But the module I had been using had one problem that I kept running into: no external antenna support . For most projects that is a minor inconvenience. For a marine vessel monitoring and control system , it is a non-starter. A vessel hull blocks sky view, antenna placement is critical, and the difference between a clean fix and no fix at all often comes down to whether you can mount the antenna where it actually has line of sight. An integrated antenna in a sealed enclosure below deck simply does not cut it. So I went directly to Quectel. The Conversation With Quectel I reached out through their official sample request channel. I was not expecting much — most component manufacturers have a standard process: fill out a form, wait, get a few uni...
In previous post you have seen the data format which Pi receives from GPS. Its in bytes and here is some raw data.
Note: In order to get GPS position data i have placed the unit out of my lab where it can see clear sky.
The above data can not be handled as a string to split or etc. We need to decode it without line terminations and stuffs so i have done few test with python and finally managed to get some beautiful output for the field that i am interested.
This is the data output after decoding the data
Hope this would help you to tweak more and hack everyday. Please do subscribe my YouTube channel for more updates.
Note: In order to get GPS position data i have placed the unit out of my lab where it can see clear sky.
b'$GPGGA,092543.00,,,,,0,00,99.99,,,,,,*6F\r\n'
b'$GPGSA,A,1,,,,,,,,,,,,,99.99,99.99,99.99*30\r\n'
b'$GPGSV,3,1,11,02,14,038,,05,37,025,22,12,69,190,,13,32,112,*74\r\n'
b'$GPGSV,3,2,11,15,41,162,,19,09,112,,20,17,227,,21,10,283,*77\r\n'
b'$GPGSV,3,3,11,24,21,189,,25,52,299,,29,19,339,18*4D\r\n'
b'$GPGLL,,,,,092543.00,V,N*43\r\n'
b'$GPRMC,092544.00,V,,,,,,,260718,,,N*79\r\n'
b'$GPVTG,,,,,,,,,N*30\r\n'
b'$GPGGA,092544.00,,,,,0,00,99.99,,,,,,*68\r\n'
b'$GPGSA,A,1,,,,,,,,,,,,,99.99,99.99,99.99*30\r\n'
b'$GPGSV,3,1,11,02,14,038,,05,37,025,22,12,69,190,,13,32,112,*74\r\n'
b'$GPGSV,3,2,11,15,41,162,,19,09,112,,20,17,227,,21,10,283,*77\r\n'
b'$GPGSV,3,3,11,24,21,189,,25,52,299,,29,19,339,18*4D\r\n'
b'$GPGLL,,,,,092544.00,V,N*44\r\n'
b'$GPRMC,092545.00,V,,,,,,,260718,,,N*78\r\n'
b'$GPVTG,,,,,,,,,N*30\r\n'The above data can not be handled as a string to split or etc. We need to decode it without line terminations and stuffs so i have done few test with python and finally managed to get some beautiful output for the field that i am interested.
This is the data output after decoding the data
$GPGGA,092850.00,0412.75613,N,07332.47747,E,1,07,1.19,8.1,M,-93.5,M,,*7C
UTC: 092850.00
SAT: 07
FIX: 1
LAT: 0412.75613
LON: 07332.47747Hope this would help you to tweak more and hack everyday. Please do subscribe my YouTube channel for more updates.
Comments