Re: NTP + RTC (internal) library / example
Posted: Mon Jun 04, 2018 1:06 am
I have seen pretty good and working NTP sample code. My point (which I didn't make it clear initially) is to use a RTC internally or in software and sync it using NTP every hour or another set duration to maintain accuracy.
I clearly understand that the ESP8266 internal clock is not a calibrated one. I also assume that it drifts quite a lot but; syncing with NTP every some duration would maintain a decent accuracy.
I believe that using an external hardware RTC and syncing it is a good solution but, is there a way to establish an internal RTC and refresh internal (or external) RTC with NTP periodically (maybe very 30 mins)?
Thanks,
I clearly understand that the ESP8266 internal clock is not a calibrated one. I also assume that it drifts quite a lot but; syncing with NTP every some duration would maintain a decent accuracy.
I believe that using an external hardware RTC and syncing it is a good solution but, is there a way to establish an internal RTC and refresh internal (or external) RTC with NTP periodically (maybe very 30 mins)?
Thanks,