Shop OBEX P1 Docs P2 Docs Learn Events
view data on LCD display — Parallax Forums

view data on LCD display

bograbogra Posts: 27
edited 2008-01-28 17:29 in BASIC Stamp
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

Comments

  • stamptrolstamptrol Posts: 1,731
    edited 2008-01-28 12:55
    You don't say which LCD you're using, but the general procedure is as follows:

    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
    ·
  • bograbogra Posts: 27
    edited 2008-01-28 13:53
    Thanks lot.I am using a hitachi parallel LCD display with 16 pins which is same as parallax LCD or parallax compatible.i got the demo for GPS receiver from parallax which i am going to display in LCD. i have attached the demo code if you could help me to modify the program i would be very much grateful to you because i am very new to this field.hope u understand.thanks again.for your information i have searched lot in forum but still not clear about this.plz help me.Thanks.

    regards;
    bogra.
  • stamptrolstamptrol Posts: 1,731
    edited 2008-01-28 15:06
    The demo program is designed to read the GPS data and display it on the PC's screen using the DEBUG command. Have you tried it to get familiar with the GPS?

    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
    ·
  • bograbogra Posts: 27
    edited 2008-01-28 15:34
    thanks again.i have done those experiment.as i am using parallel LCD and if i replace all the DEBUG with SEROUT should it work?or for the parallel LCD i have to replace with different command?
    thanks.
    regard;
    bogra.
  • FranklinFranklin Posts: 4,747
    edited 2008-01-28 15:48
    bogra, how many posts are you going to start on this same topic? Please stay with one post and if you don't get the answer you want that's what you get. It's not like if you ask the question again you are going to get a different answer. Also if you start a new thread people don't know what has been suggested before and will give you the same answers again wasting everybodys time.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - Stephen
  • nishinishi Posts: 8
    edited 2008-01-28 15:54
    thanks Mr.Sthepen for you suggestion.
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2008-01-28 17:29
    bogra, numerous duplicate posts have been removed and you have been asked not to continue starting new threads for which you already have an active one. Each time you do this the replies all start over with the same initial questions which were already covered in the previous thread(s). I would remove this thread were it not for so many replies once again trying to help you. Forum members replying should be aware of the original thread at the following link as well as additional posts. Any additional threads will be removed.

    http://forums.parallax.com/showthread.php?p=704455

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
Sign In or Register to comment.