I googled this for you:
There are many challenges to installing a Raspberry Pi in a car, and/or using it like an appliance. Adding GPS and the appropriate software is probably least of your worries.
You'll have to consider how to power the thing, start and gracefully stop it, whtether battery abckup is required, how you'll interface with it, etc.
This is all doable, and not a great mystery, but you'll have some work to do and things to study about!
You can use the stty
command to set up the device. E.g. if your device is /dev/ttyUSB0:
stty -F /dev/ttyUSB0 115200 cs8 cread clocal
Then you can use any language and just open the /dev/ttyUSB0 device and read it (e.g. fopen()
and fgets()
in C or PHP).
But for NMEA-0183 you can use gpsd and e.g. gpsdrive. Your distribution probably has packages for these programs, so look for them in your distribution's package manager. Searching for "NMEA" in the Ubuntu software center also finds Navit.
No, it's a different sort of connection --- but now someone on Tabletpcreview.com is claiming that it should work w/o GPSreverse.
In the meanwhile, I've finally found what looks to be an opensource option: http://www.navit-project.org/?page=download and will be trying it this evening.