Go Down

Topic: Nmea logger (Read 682 times) previous topic - next topic

Stuvat

Hello!

i work as a shipelectroniks installer.
i work with NMEA alott, and often i need to logg the signal to see what acthually comes out.
for this i now have to use my computer.
i want to use an arduino for this. here is an example of NMEA

$GPGGA,092750.000,5321.6802,N,00630.3372,W,1,8,1.03,61.7,M,55.2,M,,*76
$GPGSA,A,3,10,07,05,02,29,04,08,13,,,,,1.72,1.03,1.38*0A
$GPGSV,3,1,11,10,63,137,17,07,61,098,15,05,59,290,20,08,54,157,30*70

i would love to connect the 2 nmea leeds to the arduino and have this displayed on an screen, but i guess this is alott harder.
what i then would think is to get the arduino to turn on an LED when it reeds a spesific sentanse.
for examlpe  when it reads $GPGGA it would turn on led nr 1
when it reeds GPGSA it would turn on led nr 2 and so on.
would this be a problem?
will the ardu be able to just read the first part of the sentance and not get confused with the values behind it?
i will be eternaly gratefull for any help.
btw. if anyone know a way for me to get this result on an iphone it would be amazing.

best
sture

wildbill

Quote
will the ardu be able to just read the first part of the sentance and not get confused with the values behind it?


Yes, you can code it to look for $ and grab characters afterwards until it sees a comma.

LCD displays are very commonly attached to Arduinos, search the forums/playground and you'll find plenty of examples. Probably more use to you than just the led display. Then you can show the entire sentence. Might need some button logic to hold each one so you can read it before grabbing another.

Go Up