Connecting the Raspberry Pi to a USB GPS device

Before you get started, let me give you a brief tutorial on GPS. GPS, which stands for Global Positioning System, is a system of satellites that transmit signals. GPS devices use these signals to calculate the position of an object. There are a total of 24 satellites transmitting signals all around the Earth at any given moment, but your device can only see the signal from a much smaller set of satellites.

Each of these satellites transmits a very accurate time signal that your device can receive and interpret. It receives the time signal from each of these satellites, and then based on the delay—the time it takes the signal to reach the device—it calculates the receiver's position, which is in turn ...

Get Raspberry Pi Robotic Projects - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.