Загрузка страницы

GPS clock on Raspberry Pi

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

Видео GPS clock on Raspberry Pi канала KM4ACK
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
4 октября 2018 г. 5:00:26
00:05:06
Яндекс.Метрика