Back to Browse

GPS clock on Raspberry Pi

23.1K views
Oct 4, 2018
5:06

How to install a GPS unit on a Raspberry Pi and use the GPS clock to set system time on the Pi running Stretch Lite. Buy the GPS - https://amzn.to/2DsuasA Setup Commands: sudo apt-get install gpsd gpsd-clients python-gps chrony sudo nano /etc/default/gpsd #set the following START_DAEMON=”true” USBAUTO=”true” DEVICES=”/dev/ttyACM0″ GPSD_OPTIONS=”-n” sudo nano /etc/chrony/chrony.conf #Add the following line to the end of the file: refclock SHM 0 offset 0.5 delay 0.2 refid NMEA #reboot #check that both are active systemctl is-active gpsd systemctl is-active chronyd #see the data gpsmon -n 73, KM4ACK

Download

1 formats

Video Formats

360pmp46.2 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

GPS clock on Raspberry Pi | NatokHD