New task scheduler changes call for NTP Time server to use ESP32 RTC_Clock; synced every six hours with NTP time server. All calls for time keeping are handled by ESP32 RTC_Clock.
New task scheduler; syncs ESP32 RTC_Clock
William
Hi.
Thank you so much for sharing.
We were actually in need for something like this for the project we’re currently working on.
Thank you.
Regards,
Sara
Hi again.
By the way, I’m going to create a guide for the RTC module with the ESP32.
Since you seem to use this kind of module, which library do you recommend for using the DS3231 or DS1307 with the ESP32?
Regards,
Sara
Hi Sara,
Have not worked DS3231 or DS1307 for eight years; looking at early project code for CC3000 Adafruit breakout the RTClib may have used to work with DS3231. I stopped using RTC modules; since NTP does not used a battery and NTP changes Daylight and Eastern Standard time automatically.
Adafruit RTClib for DS1307 and DS3231
Readme.md for this library does not show combability with the ESP32; maybe before the ESP32 was released. Listed is the ESP8266.
Regards,
William
Thanks.
I was thinking about testing that library because it seems the simplest to use.
I’ll have to test compatibility with the ESP32, even though that is not mentioned.
Regards,
Sara
Two articles; one on using the RTC3231 Alarm, very detailed:
Using the DS3231 Alarm –with examples
Second is an Github issue about setting ESP32 I2C pins:
Set pins for ESP32 I2C
Regards,
William
Thanks.
I’m using the DS1307 that doesn’t support alarms.
I’ll also order one DS3231 because it’s more versatile.
I’ll make this issue as resolved for now.
Regards,
Sara