You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,7 +34,7 @@ SparkFun RTK Firmware
34
34
</tr>
35
35
</table>
36
36
37
-
The [SparkFun RTK Surveyor](https://www.sparkfun.com/products/18443), [SparkFun RTK Express](https://www.sparkfun.com/products/18442), [SparkFun RTK Express Plus](https://www.sparkfun.com/products/18590), [SparkFun RTK Facet](https://www.sparkfun.com/products/19029), and [SparkFun RTK Facet L-Band](https://www.sparkfun.com/products/20000) are centimeter-level GNSS receivers. With RTK enabled, these devices can output your location with 14mm horizontal and vertical [*accuracy*](https://docs.sparkfun.com/SparkFun_RTK_Firmware/accuracy_verification/) at up to 20Hz!
37
+
The [SparkFun RTK Surveyor](https://www.sparkfun.com/products/18443), [SparkFun RTK Express](https://www.sparkfun.com/products/18442), [SparkFun RTK Express Plus](https://www.sparkfun.com/products/18590), [SparkFun RTK Facet](https://www.sparkfun.com/products/19029), [SparkFun RTK Facet L-Band](https://www.sparkfun.com/products/20000) and [SparkFun RTK Reference Station](https://www.sparkfun.com/products/22429) are centimeter-level GNSS receivers. With RTK enabled, these devices can output your location with 14mm horizontal and vertical [*accuracy*](https://docs.sparkfun.com/SparkFun_RTK_Firmware/accuracy_verification/) at up to 20Hz!
38
38
39
39
This repo houses the [RTK Product Manual](https://docs.sparkfun.com/SparkFun_RTK_Firmware/intro/) and the firmware that runs on the SparkFun RTK product line including:
Copy file name to clipboardExpand all lines: docs/ntp.md
+12-12Lines changed: 12 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,13 +7,13 @@ The Reference Station can act as an Ethernet Network Time Protocol (NTP) server.
7
7
Network Time Protocol has been around since 1985. It is a simple way for computers to synchronize their clocks with each other, allowing the network latency (delay) to be subtracted:
8
8
9
9
* A client sends a NTP request (packet) to the chosen or designated server
10
-
* The request contains the client's current clock time - for identification
10
+
* The request contains the client's current clock time - for identification
11
11
12
12
* The server logs the time the client's request arrived and then sends a reply containing:
13
-
* The client's clock time - for identification
14
-
* The server's clock time - when the request arrived at the server
15
-
* The server's clock time - when the reply is sent
16
-
* The time the server's clock was last synchronized - providing the age of the synchronization
13
+
* The client's clock time - for identification
14
+
* The server's clock time - when the request arrived at the server
15
+
* The server's clock time - when the reply is sent
16
+
* The time the server's clock was last synchronized - providing the age of the synchronization
17
17
18
18
* The client logs the time the reply is received - using its own clock
19
19
@@ -31,9 +31,9 @@ Having your own NTP server on your network allows tighter clock synchronization
31
31
32
32
The Reference Station can be placed into its dedicated NTP mode, by pressing the **MODE** button until NTP is highlighted in the display and pausing there.
33
33
34
-
](https://cdn.sparkfun.com/assets/learn_tutorials/3/2/1/0/NTP.gif)
34
+
[](https://cdn.sparkfun.com/assets/learn_tutorials/3/2/1/0/NTP.gif)
35
35
36
-
**Selecting NTP mode**
36
+
*Selecting NTP mode*
37
37
38
38
The Reference Station will first synchronize its Real Time Clock (RTC) using the very accurate time provided by the u-blox GNSS module. The module's Time Pulse (Pulse-Per-Second) signal is connect to the ESP32 as an interrupt. The ESP32's RTC is synchronized to Universal Time Coordinate (UTC) on the rising edge of the TP signal using the time contained in the UBX-TIM-TP message.
39
39
@@ -43,17 +43,17 @@ The Reference Station will respond to each NTP request within a few 10's of mill
43
43
44
44
If desired, you can log all NTP requests to a file on the microSD card, and/or print them as diagnostic messages. The log and messages contain the NTP timing information and the IP Address and port of the Client.
45
45
46
-
](https://cdn.sparkfun.com/assets/learn_tutorials/3/2/1/0/NTP_Diagnostics.png)
46
+
[](https://cdn.sparkfun.com/assets/learn_tutorials/3/2/1/0/NTP_Diagnostics.png)
47
47
48
-
**System Debug Menu - NTP Diagnostics (Click for a closer look)**
48
+
*System Debug Menu - NTP Diagnostics (Click for a closer look)*
49
49
50
50
](https://cdn.sparkfun.com/assets/learn_tutorials/3/2/1/0/NTP_Logging.png)
NTP uses its own epoch - midnight January 1st 1900. This is different to the standard Unix epoch - midnight January 1st 1970 - and the GPS epoch - midnight January 6th 1980. The times shown in the log and diagnostic messages use the NTP epoch. You can use online calculators to convert between the different epochs:
0 commit comments