O'Reilly logo

Arduino Development Cookbook by Cornel Amariei

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Localization – GPS

The Global Positioning System (GPS) uses an array of satellites orbiting around the Earth and sending time information. A GPS receiver picks up the signal transmitted from the satellites, calculates the time it took for the signal to arrive, and by identifying the position of the satellites, triangulates the position on the surface of the globe.

GPS is very useful in autonomous cars, RC planes or drones, and data logging applications. Here, we will learn how to read the data from a GPS, which is surprisingly easy. In this recipe, we will use the SoftwareSerial library that is better detailed in the Communication chapter.

Getting ready

Following are the ingredients needed for this recipe:

  • An Arduino board connected to a computer ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required