Quick-n-dirty R-Pi GPS

Moderators: adafruit_support_bill, adafruit

Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/
Locked
User avatar
nsayer
 
Posts: 59
Joined: Thu Aug 08, 2013 10:45 am

Quick-n-dirty R-Pi GPS

Post by nsayer »

I designed a GPS Pi Plate, but while waiting for the boards to come back from OSHPark, I discovered that the AdaFruit Ultimate GPS breakout hooks up really, really easily to an R-Pi. You guys might even consider stocking the custom cable to do the job.

You need a custom-wired 5 pin .1" SIP female-to-female cable. The pin connections are:

Code: Select all

Pi end   GPS end    signal
5        1          PPS
2        2          GND
1        3          +5 (Vin)
3        4          Rx
4        5          Tx
On the Pi, stick the Pi end of the cable on the GPIO header starting with the second pin down on the right side (pin 4) going into pin 1 (Vin) of the cable.

On the GPS module, connect the bottom 5 pins, with PPS being pin 1 on the GPS end of the cable.

If you prefer, you can use individual female-to-female SIP pin jumpers to do this too (that's how I did it, actually).

Log into your R-Pi and disable the getty on ttyAMA0 (this is in /etc/inittab) and install gpsd and configure it to use that port. If you're intending to use this for a stratum 1 NTP server, then the PPS output from the GPS module will be on GPIO pin 18.

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: Quick-n-dirty R-Pi GPS

Post by adafruit_support_rick »

We actually have a tutorial on this!
https://learn.adafruit.com/adafruit-ult ... spberry-pi

User avatar
nsayer
 
Posts: 59
Joined: Thu Aug 08, 2013 10:45 am

Re: Quick-n-dirty R-Pi GPS

Post by nsayer »

Oh. You're way ahead of me. That never happens. :)

Locked
Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/

Return to “Adafruit Raspberry Pi® accessories”