I would like to hookup a GPS receiver to my Pi so that I can:
- Get my geographical position
- Synchronise clock when not connected to network
What are my options? Will any hardware supported by gpsd work with the Pi?
|
I would like to hookup a GPS receiver to my Pi so that I can:
What are my options? Will any hardware supported by gpsd work with the Pi? |
|||||||||||||||
|
GPS ReceiverI would go for a generic usb GPS receiver such as the BU-353
It works with the Raspberry Pi, just like a normal linux computer. Most usb GPS receivers are just USB-to-Serial adapters that read the NMEA data from the GPS receiver. Look into pl2303 (many units i've seen use this particular chip) drivers, should be available. You can also use GPIO and a traditional NMEA 0183 GPS receiver, but then you need to worry about power, and the prices are often higher. GPS antannas are common onboard boats and ships, and usually consume 12v. The usb solution is cheaper. SoftwareThe gps receiver I mentioned is compatible with gpsd.
This will install gpsd and related software. Check gps status with NTP ClockTo synchronize the clock with NTP, you need to install ntp.
See this blog post: http://blog.retep.org/2012/06/18/getting-gps-to-work-on-a-raspberry-pi/. It covers ntp in detail. |
|||||||||
|
|
Useful GPS Module for Raspberry Pi Tutorial! |
||||
|