i was wondering is anyone has had any experience using the EM-406 gps module from sparkfun heres a link : http://www.sparkfun.com/commerce/product_info.php?products_id=465
any way, i have it outputting the NMEA strings to my terminal, but i would like tto write some software that can search for the begining characters $Gxxxx, here are some example strings it sends
$GPRMC,014247.000,A,2729.1220,S,15305.1823,E,1.10,190.03,160706,,*12 $GPGGA,014248.000,2729.1218,S,15305.1825,E,1,03,4.3,22.6,M,37.1,M,,0000*75 $GPGSA,A,2,09,02,05,,,,,,,,,,4.4,4.3,1.0*3B $GPRMC,014248.000,A,2729.1218,S,15305.1825,E,0.50,322.62,160706,,*19 $GPGGA,014249.000,2729.1209,S,15305.1827,E,1,03,4.3,22.7,M,37.1,M,,0000*77 $GPGSA,A,2,09,02,05,,,,,,,,,,4.4,4.3,1.0*3B $GPRMC,014249.000,A,2729.1209,S,15305.1827,E,0.71,357.09,160706,,*16
so i want it to seek out certain parts of the string and "decode" it so tat its easyer to read. i would like to display it on an LCD later on but will just concentrate on the dcoding to start with. im using a atmega 128 in WinAVR. at 16mhz.
like for exampler i would like it to send something like this to the terminal:
Lattitude = xxxx.xxxx
longtitude = xxxx.xxxx
UTC = xx:xx.xx
with just the values changing.
any ideas would be greatly appreciated.
:arrow: Dan :!: