LCD Terminal AppMod, Parallax GPS rx & BS2
Meepo
Posts: 24
I can't be the first person to try to use the Parallax LCD AppMod with the Parallax GPS...is there source code somewhere I can download? I'm just a hobbyist, and this LCD AppMod is kind of tricky for me to figure out...
Comments
I also had a difficult time figuring out how the buttons work, but I just looked at it again yesterday, and I guess I must have learned a few things since I last looked, as that buttons code looks pretty simple now, and I had no trouble writing a program that reads them.
So what I'm saying is that if you're using the LCD Appmod (or any other parallel LCD) you might want to invest in one of the Stamps that uses the LCD commands. It's pretty simple then. As for interfacing it to the GPS module, once you've learned how to read the $GPGGA NMEA data from the GPS into variables in the Stamp, it's just a matter of sending those data to the LCD. Here's a site I found helpful when I was learning to do it:
http://home.mira.net/~gnb/gps/nmea.html
One reason we probably don’t have any example code for the LCD AppMod is that the GPS data is really more then you could fit on such a display. If you condensed the Lat and Long down into just degrees, that would be about all you could fit on that display. I think the 4x20 is more appropriate for the amount of data available from the GPS. Take care.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Engineering
So no one has ever used these two together?!? That's surprising...
What is good to know is that almost 50% of the code is DEBUG instructions, if you intend to use the LCD appmod you would not need need those instructions and you could use the space they provide for the LCD code. Variable space is also practically used up so it would probably be neccessary to re use some of the variables if possible.
You might start by designing a program with a subroutine that will print the contents of an array to the LCD screen, when you feel your sub routine is working well place it into a modified version of GPSDemoV1.1.BS2· that has all the DEBUG instructions removed and try to place some of the GPS data into the newly declared array for output to the LCD.
I don't know if its possible but it looks like it might be and if you already have the components at hand its going to make a really interesting project.
If its never been done this way before be the pioneer.
Jeff T.
PS. would be interesting to see your code to date it would draw some helpful comments