view data on LCD display
bogra
Posts: 27
hi all,
can anybody tell me how to·display data on LCD screen using GPS receiver.what are the commands we need to use for that?i am using parallax GPS receiver modue and BS2.Any help for this?i was trying but could not get any display on it.i am new to this BS2 and GPS.sorry to disturb you all.
Thanks
can anybody tell me how to·display data on LCD screen using GPS receiver.what are the commands we need to use for that?i am using parallax GPS receiver modue and BS2.Any help for this?i was trying but could not get any display on it.i am new to this BS2 and GPS.sorry to disturb you all.
Thanks
Comments
1. The GPS sends out a string of information every second or so. This string contains lat, long, altitude, etc, etc
2. The Stamp uses its SERIN command (and usually the WAIT modifier) to see the beginning of the string which has a repeating identifying characters. The SERIN modifiers allow the receiving of data as numbers, strings, or individual characters.
3. The Stamp stores the incoming string in available RAM. Note that it may be necessary read the GPS string in two or more sequences if RAM is in short supply. The SERIN SKIP modifier is useful for jumping over data already read in.
4. The Stamp uses SEROUT to display the data on the LCD.
Do a search in the forums or the Parallax main page for GPS and you'll find several examples.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Tom Sisk
http://www.siskconsult.com
·
regards;
bogra.
If your LCD was the serial type, you could almost (but not quite) replace each DEBUG with a SEROUT command and send the data to the LCD.
The first thing to do is go to the Parallax site and download the documentation for the parallel LCD which is closest to yours. It will contain the sample code to communicate with the display. Do some experimenting to get comfortable with the display then begin putting the LCD code into the GPS demo code.
As for searching the Forums, some folks say that a search from the Parallax home page gives better results.
Cheers,
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Tom Sisk
http://www.siskconsult.com
·
thanks.
regard;
bogra.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Stephen
http://forums.parallax.com/showthread.php?p=704455
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support