Introduction: GPS and the Raspberry Pi

This example will show how to use the Dexter Industries GPS shield with the Raspberry Pi using the Arduberry.

Step 1: Hardware Required

Step 2: Connection the Shield

Slide on the Dexter Industries GPS shield on the Arduberry. Slide the Arduberry on the Raspberry Pi and power it on.

Step 3: Adding the Library

Download the Dexter Industries GPS library on the Raspberry Pi using the Netsurf Browser and save it in /usr/share/Arduino/libraries and extract it there. Follow the Adding a New Library tutorial for step by step instructions for installing a new library .

Step 4: Upload the Sketch to the Arduberry

Open Arduino IDE, and open the example dGPS_Example_3 from the dGPS_Example_3 folder. Change the programmer to Raspberry Pi GPIO and upload the sketch to the Arduberry(use Ctrl+Shift+U).

Step 5: Start Minicom

The data that is coming from the Dexter Industries GPS Shield is coming on the Serial Port at 9600 baud. Open minicom Serial monitor in Terminal

minicom ama0

Step 6: Start Receiving the Data

Press reset button on the Arduberry to start receiving the data.

Have a question? Post it on the forums and we’ll help you out.