05.03.2013 Views

Data Hacking

Data Hacking

Data Hacking

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

150 Part II — Software Hacks<br />

Connection Types<br />

There are three main ways to connect a GPS to a PC: serial (COM) port, USB, and wireless<br />

(Bluetooth). The following sections describe each of these connection methods.<br />

You can also get GPS receivers that connect to the Compact Flash/PCMCIA slots on PCs and<br />

PDAs. An example of this kind of receiver is the Haicom HI-401 shown in Figure 7-2. However,<br />

each of these devices uses proprietary software and they differ a great deal from one another. If<br />

you have one of these, consult the manual.<br />

Serial (COM) Port<br />

The 9-pin serial port (shown in Figure 7-4) is the main way that most people connect their<br />

GPS to a PC.<br />

Several reasons account for the popularity of the serial port:<br />

Most PCs, except for some of the newer ones, such as laptops, have at least one serial port to<br />

which devices (such as mice and modems) can be connected. Years ago, these ports were in<br />

great demand, and you often had to disconnect a device in order to connect a new device.<br />

Now that fewer devices need a COM port (because USB ports have superseded them), they<br />

are less in demand, and most people have the cable permanently connected to the port.<br />

Adding serial port support to a device is cheap, and so well established that there are<br />

rarely problems associated with it (if configured to the appropriate speed and the software<br />

is looking for the GPS on the right port).<br />

The data transfer to and from the GPS device does not need to be a high-speed connection,<br />

so a serial connection is ideal.<br />

There is another hidden benefit of using a serial port connection over, say, USB. Take a look at<br />

the connector. The two thumbscrews used to hold the connector to the port secure the connection,<br />

which is usually more secure than a USB connection because of these, and they are usually<br />

more compact — USB cable connectors can extend for some distance from the port and can be<br />

more prone to damage from being knocked around than a serial port connector.<br />

If you don’t have a serial port on your system but you still want to use a serial cable, there are<br />

ways around this issue:<br />

Install more serial ports. Several serial port expansion cards on the market enable you to<br />

add more (or new) serial ports to your PC. This solution will work for desktop PCs that<br />

can accept expansion cards, but not with laptops.<br />

For systems that cannot take expansion cards, for whatever reason, you can add a USBto-serial<br />

converter. Most of these enable you to create a new serial port on a USB port<br />

that you can connect the GPS cable to. pFranc makes one such converter, which you can<br />

see at http://pfranc.com/usb/usb.mhtml.<br />

USB<br />

Serial ports have slowly been replaced by the faster, more versatile, and less hassle USB<br />

(Universal Serial Bus) port (see Figure 7-5).

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!