Reader small image

You're reading from  Arduino Robotic Projects

Product typeBook
Published inAug 2014
Reading LevelIntermediate
Publisher
ISBN-139781783989829
Edition1st Edition
Languages
Tools
Right arrow
Author (1)
Richard Grimmett
Richard Grimmett
author image
Richard Grimmett

Richard Grimmett has more fun that should be allowed working on robotics projects while teaching Computer Science and Electrical Engineering at Brigham Young University Idaho. He has a Bachelors and Masters degree in Electrical Engineering and a PhD in Leadership Studies. He also has 26 years of experience in the Radar and Telecommunications industries, and even has one of the original brick phones. He has written books on the basics of using the BeagleBone Black for robotics projects, and another for the Raspberry PI and yet another for the Arduino.
Read more about Richard Grimmett

Right arrow

Accessing the GPS shield from the Arduino IDE


The GPS shield provides the hardware interface to the GPS device. Now, you can access the GPS data from inside the Arduino IDE. To do this, perform the following steps:

  1. As with most devices, the first step is to download the appropriate libraries. For this device, you'll find the libraries at www.dexterindustries.com/manual/arduino-shields/gps-shield/ under the Arduino GPS Shield Drivers (zip) selection.

  2. Unzip the dGPS file and copy the dGPS file folder to your Arduino's libraries directory. You'll also need to download another three examples from this page. These aren't really set up to put in the Examples directory of dGPS and open automatically using the File | Examples process, but you can simply open them by navigating to File | Open command.

  3. Once you have the library installed, let's write a simple program that reads the values from the GPS device. Open the Arduino IDE and type in the following code:

  4. Now, upload the preceding code to Arduino...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Arduino Robotic Projects
Published in: Aug 2014Publisher: ISBN-13: 9781783989829

Author (1)

author image
Richard Grimmett

Richard Grimmett has more fun that should be allowed working on robotics projects while teaching Computer Science and Electrical Engineering at Brigham Young University Idaho. He has a Bachelors and Masters degree in Electrical Engineering and a PhD in Leadership Studies. He also has 26 years of experience in the Radar and Telecommunications industries, and even has one of the original brick phones. He has written books on the basics of using the BeagleBone Black for robotics projects, and another for the Raspberry PI and yet another for the Arduino.
Read more about Richard Grimmett