Giter Site home page Giter Site logo

espntpserver's Introduction

ESPNTPServer

GPS fueled ESP8266 based NTP Server

Build Status

src Contains the code for the NTP Server

eagle contains the schematic and board designs in Eagle cad.

enclosure contains the STL files for the enclosure.

This is designed around this GPS module but any module with standard NMEA output and a pult per second signal will work if you redesign the board or use an adapter.

I also used this display module. You can use others but be careful with the power polarity, I have modules where VCC and ground pins are in a different order.

Schematic assembly running

espntpserver's People

Contributors

liebman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

espntpserver's Issues

Question

Hi liebman,
I want to build your NTPServer.
I flashed it with the Arduino IDE 1.8.5.
In AP Mode it works but after config the wifi i get no access to the ESP.
I found it in the LAN (ping is ok) but if i connect with a Browser i get no Page.
Is this correct?
I have a NodeMCU with NEO6 conncted on TX/RX, PPS on D6(GPIO12) and 5V for the NEO6.
A Display is not connectet.
Do you have an idea whats the Problem is?

Best regards

Defaults to config too quickly after wifi connection loss

Hi Liebman,

Great project, works great. I have encountered an issue in my environment that could possibly enhance the project for others. I am looking to use this as a highly available NTP server for my environment.

My wifi reboots weekly in the middle of the night. When this happens, the ESP detects the loss and before the wifi is reconnected the ESP goes to broadcasting it's own SSID for config mode. This takes the NTP server offline until I manually restart it. Is there a way to incorporate a configurable delay in seconds for the wifi reconnect when there is an existing config in place. Or another idea is a configurable parameter that just keeps attempting reconnects and blocks config mode from being entered unless the button is pressed.

Thanks for considering these suggestions.

Query

Hello
thank you for such an awesome project but i have a query regarding RTC module (DS3231)
is it possible to add RTC module? i need a simple local NTP server for my projects to keep time up to date
it works very well with GPS but sometime i don't get proper signal with GPS due to bad weather and after electricity cut-off my all devices looses time :/

Problem compiling in Arduino IDE

Hi liebman.

I'm trying to compile you ESPNTPServer via Arduino IDE 1.8.1 (have maked an empty ESPNTPServer.ino file)
But I'm stranding on this error, in the ESPNTPServer.cpp:

sketch\ESPNTPServer.cpp: In function 'void logTimeFirst(DLogBuffer&, DLogLevel)':

ESPNTPServer.cpp:49: error: aggregate 'timeval tv' has incomplete type and cannot be defined

 struct timeval tv;

                ^

sketch\ESPNTPServer.cpp: In function 'void loop()':

ESPNTPServer.cpp:262: error: aggregate 'timeval tv' has incomplete type and cannot be defined

 struct timeval tv;

                ^

exit status 1
aggregate 'timeval tv' has incomplete type and cannot be defined

Best regards

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.