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

1.Raspberry Pi

2.Arduberry

3.Dexter Industries GPS Shield

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.

GPS and the Raspberry Pi

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

GPS and the Raspberry Pi schematic

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


About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:
LinkedinTwitter

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top