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
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.
For more detail: GPS and the Raspberry Pi