Author | Message | Time |
---|---|---|
FrOzeN | Seeing all these GPS devices everywhere these days, I assume it's fairly easy to acquire the lat/long values of your current location. I was curious if anyone here has worked with, or has any idea on how to get them. On an old laptop I have I thought it'd be fun to feed the lat/long values into it and read them through USB (or anything) then play around with them in a program I'd like to make. | June 4, 2007, 6:47 AM |
Skywing | I would recommend consulting Google on the subject; there's a lot of information out there. Most consumer GPS devices either connect to a serial port, or use a powered USB-to-serial converter and show up as a serial port on the computer they are connected to. The above mentioned Google query should get you started on how to process the data as represented by most GPS devices. | June 4, 2007, 3:03 PM |
K | I have done some work with GPS (in embedded devices); if all you are interested in is getting the latitude and longitude from the unit, all you need to do is wait for and parse the NMEA GGA sentence . If you want to do more advanced things, you will need to switch into SiRF mode, which is a binary protocol. The following may or may not be helpful: C# Code to compute/validate a NMEA checksum SiRF Protocol Reference NMEA Reference Manual | June 4, 2007, 4:50 PM |