How to decode GPS NMEA signal in simulink?
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I have a GPS receiver connected to the COM port of my pc. I am able to see the NMEA sentences over a serial monitor i downloaded. The data looks like this
<LF>$GPGGA,110404.002,5204.26064,N,00037.76587,W,1,07,1.2,125.17,M,47.60,M,,0000*47
Now I want to separate the latitude and longitude alone separately. I used the serial setup and receive blocks, it seems to give me some decimal numbers from 10 to 60 when I used display. I am not sure how to proceed further, does any one know how this is done?
I need the values separated such that I can operate on them later.
Thanks
0 comentarios
Respuestas (1)
Cristian Bermudez Serna
el 16 de Mzo. de 2016
Hi, i am facing exactly the same problem. I don't know how to proceed. Did you find any answer? However the data are not decimal, it should be uint because they are ASCII characters. Make sure in your receiver block to select the unit8 data type.
Looking forward to read from you Cris
0 comentarios
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!