Ben's notes

Linux, Unix, network, radio...

User Tools

Site Tools


dragino_lora_gps_hat_ntp

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
dragino_lora_gps_hat_ntp [2019/03/18 19:34] admindragino_lora_gps_hat_ntp [2019/03/18 19:42] – [Configure GPS] admin
Line 1: Line 1:
 =====Raspberry Pi, Dragino LoRa / GPS hat - NTP PPS===== =====Raspberry Pi, Dragino LoRa / GPS hat - NTP PPS=====
-Configure NTPd with PPS. Based on Raspbian Stretch+Configure NTPd with PPS. Based on Raspbian Stretch.
  
 **Notes:** **Notes:**
-  * Had no luck with the new refclock driver 46, GPSD NG client protocol. Switched to PPS (22) and SHM (28).+  * Could not get PPS to work with the new refclock driver 46, GPSD NG client protocol. Switched to PPS (22) and SHM (28)
 +  * GPSd did not auto start at boot, added the driver above with ''noselect'' to get GPSd to start.
  
 **Sources:** **Sources:**
Line 47: Line 48:
 source 0 - assert 1552847116.000137416, sequence: 157 - clear  0.000000000, sequence: 0 source 0 - assert 1552847116.000137416, sequence: 157 - clear  0.000000000, sequence: 0
 </code> </code>
-====Configure GPS====+====Configure GPdS====
   * Install packages:<code>apt install gpsd gpsd-clients</code>   * Install packages:<code>apt install gpsd gpsd-clients</code>
   * Configure devices and options in ''/etc/default/gpsd''<code>DEVICES="/dev/ttyAMA0"   * Configure devices and options in ''/etc/default/gpsd''<code>DEVICES="/dev/ttyAMA0"
dragino_lora_gps_hat_ntp.txt · Last modified: 2021/10/09 15:14 by 127.0.0.1