25 lines
829 B
Markdown
25 lines
829 B
Markdown
# ESPNTPServer
|
|
|
|
GPS fueled ESP8266 based NTP Server.
|
|
Original here: https://github.com/liebman/ESPNTPServer
|
|
|
|
I used a D1 mini and GPS module with PPS. (https://www.amazon.com/Navigation-Positioning-Microcontroller-Compatible-Sensitivity/dp/B084MK8BS2)
|
|
GPS RX to GPIO2
|
|
GPS TX to GPIO4
|
|
GPS PPS to GPIO12
|
|
5v and gnd direct to esp.
|
|
|
|
Changes made to the code to make this work entirely done with OpenCode BigPickle model.
|
|
|
|
```pio run -t upload```
|
|
to flash ESP.
|
|
|
|
Once done the device will produce a wifi AP that includes the last few digits of its MAC. Connect to the AP and go to 192.168.4.1 to configure your home wifi.
|
|
|
|
Once connected to the home wifi you can curl its ip to get some basic stats that would have been shown on the original projects display.
|
|
|
|
```ntpdate -q IP-OF-ESP``` to check if you have a valid NTP source.
|
|
|
|
|
|
|