
The Serial Port to USB Conundrum #50
Chapter 5, Mapping with Gadgets
|
221
HACK
See “Speak in Geotongues: GPSBabel to the Rescue” [Hack #51] for more
examples.
Configuring and Using the Serial-to-USB Adapter Under Windows
Download the latest driver for your version of Windows from the BAFO
driver’s page (http://bafo.com/bafo/prodrivers.asp). Unzip it and then con-
nect the serial-to-USB adapter. The “Add New Hardware” wizard will likely
see the new device. Give the wizard the location of the file that you down-
loaded and follow the instructions.
Once it is finished, you can also test the GPS connection under Windows by
setting your GPS to NMEA mode, and then starting HyperTerminal (Start
➝
Accessories ➝ Communications ➝ HyperTerminal). Create a new connec-
tion using com3, and set the speed to 4800 bits per second. You should then
start seeing NMEA sentences.
GPSBabel works the same way across the three platforms, with the excep-
tion of the operating-system-dependent way that you refer to serial ports.
Under Windows, the serial-to-USB adapter maps the USB to a regular COM
port: com3 in our example. To fetch waypoints from a Garmin GPS using
the serial-to-USB adapter under Windows:
C:\> gpsbabel -D9 -i garmin -f com3 -o gpx -F waypoint.gpx
Configuring and Using the Serial-to-USB Adapter Under Linux
The BAFO-810 uses the Prolific PL230 driver. Connect the serial-to-USB
adapter while watching the system