GPS and the Raspberry Pi

by dexter_industries in Circuits > Arduino

11058 Views, 83 Favorites, 0 Comments

GPS and the Raspberry Pi

Dexter-Industries-Arduino-and-Raspberry-Pi-GPS-Shield-1.jpg

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

Hardware Required

Dexter-Industries-Arduino-and-Raspberry-Pi-GPS-Shield-2.jpg

Connection the Shield

Dexter-Industries-Arduino-and-Raspberry-Pi-GPS-Shield-1.jpg

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

Adding the Library

new_lib.jpg

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 .

Upload the Sketch to the Arduberry

upload4.jpg
load-example.jpg

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).

Start Minicom

term_open.jpg

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

Start Receiving the Data

data_gps.jpg

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.