Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: Using a microprocessor to display GPS data on an LCD

  1. #1
    FLAC
    Join Date
    Aug 1999
    Location
    Washington D.C.
    Posts
    1,542

    Using a microprocessor to display GPS data on an LCD

    Well I got my basic stamp II, wrote some code for it and finally got it all working. Itís really fast, from moment of turn on it displays GPS data on my Crystalfontz LCD within 4 seconds. Sometimes I have to wait a second from a cold start because my Gamin 35 takes up to 5 seconds get a valid fix.

    My issue now is that I have maxed out the number of variable bytes I can use (26) on my Basic Stamp II. I would like to be able to display more data, because I have a 4x20 LCD to fill up, but I am out of RAM to do anything more.

    I have latitude, longitude (had to crop down to minutes to conserve RAM), speed, and course (numeric) all displayed. I would like to add altitude and direction (N,S,E,W,etc) but I canít process anything more without more RAM.

    Iím sort of at a lost as to what to do at this point I got this far and now Iím stuck; I didnít think I was going to max the BS2 out this easily. Itís looks like it would be fairly easy to add OBD-II support but Iím going to need something more powerful. Do I need to learn assembler to get anything more powerful?

    Attached is a picture of what I have working thus far.

  2. #2
    Low Bitrate
    Join Date
    Dec 2000
    Posts
    65
    im diggin those runnin shoes....

  3. #3
    Low Bitrate
    Join Date
    Jul 2002
    Posts
    89
    I don't think you would need to learn assembler... just get a more powerful microprocessor.

    The PIC devices are readily available and fairly cheap. They come in many different configurations, so you can get more or even outboard memory with relative ease.

    There are a number of compilers available, several of which are based upon reasonably high-level languages and are free.

    I haven't found the time to do much with my PIC programmer yet, so I can't be terribly specific, I'm afraid.

  4. #4
    Newbie
    Join Date
    Oct 2002
    Posts
    38
    You might want to try the basicX stamp. This is very similar to the basic stamp but is faster and has more memory/variables.

    Any change I can get the GPS code?

  5. #5
    Maximum Bitrate
    Join Date
    Sep 2001
    Posts
    744
    Dude I can't believe you're showing latitude and longtitude...what is the point?

  6. #6
    Newbie
    Join Date
    Oct 2002
    Posts
    38
    For day to day driving lat/long is of little use, but if your offroading or using a topo map these are needed. I know I would like to have them available, maybe not displayed all the time but sleectable when needed.

    Originally posted by SuperMatty
    Dude I can't believe you're showing latitude and longtitude...what is the point?

  7. #7
    FLAC
    Join Date
    Aug 1999
    Location
    Washington D.C.
    Posts
    1,542
    I want to display lat + long because I keep a mental map in my head and I can tell generally where I am or how far I have traveled from points I know.

    Also another problem I was having with the lack of RAM was parsing NMEA sentences. With only 26 bytes RAM I could only use a fixed length NMEA sentence (GPRMC) and only capture strings at known points. With variable length strings like GPGGA (needed to get altitude) I would have to copy the string to RAM, search it, then parse out what I need.

    I wish I had seen the BasicX before I bought the Basic Stamp II. I think I might have to send back my stamp and buy the BasicX instead. The BasicX looks like it not only has a lot more RAM but it runs faster too. So then I should be able to add OBD-II support too.

    Any comments on the Basic Stamp II vs. BasicX?

  8. #8
    Low Bitrate
    Join Date
    Sep 2002
    Location
    aychamo land
    Posts
    92
    ROFL - "Self, ok, I have been on i-10 for approx 5 hours, so I am lattitude 00000000000000000000

  9. #9
    Maximum Bitrate
    Join Date
    Sep 2001
    Posts
    744
    Yeah man serious, get real

  10. #10
    Low Bitrate
    Join Date
    Sep 2002
    Location
    aychamo land
    Posts
    92
    Uh oh I just picked no the admin EDITS POST!

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •