Looking for advices for ESP32S3 clock without Internet

lladam
Posts: 44
Joined: Tue Jul 20, 2021 12:14 am

Looking for advices for ESP32S3 clock without Internet

Postby lladam » Thu Jan 19, 2023 11:22 pm

Hi all.
Are there any suggestions for ESP32S3 clock without use of internet?
Thanks
Adam

ESP_Sprite
Posts: 9730
Joined: Thu Nov 26, 2015 4:08 am

Re: Looking for advices for ESP32S3 clock without Internet

Postby ESP_Sprite » Fri Jan 20, 2023 2:54 am

Suggestions for what exactly? A kit to build? How to write firmware? An existing product? Something specific you would normally do via the Internet but now are looking for a different way? Hardware design? Software design?

bidrohini
Posts: 202
Joined: Thu Oct 27, 2022 12:55 pm

Re: Looking for advices for ESP32S3 clock without Internet

Postby bidrohini » Fri Jan 20, 2023 3:24 pm

You have to use the in-built RTC of the ESP32. https://www.theelectronics.co.in/2022/0 ... esp32.html

lladam
Posts: 44
Joined: Tue Jul 20, 2021 12:14 am

Re: Looking for advices for ESP32S3 clock without Internet

Postby lladam » Sun Jan 22, 2023 2:22 am

bidrohini wrote:
Fri Jan 20, 2023 3:24 pm
You have to use the in-built RTC of the ESP32. https://www.theelectronics.co.in/2022/0 ... esp32.html
Thanks.
how to set current time in this link?

Franco
Posts: 104
Joined: Thu Dec 10, 2015 1:11 pm

Re: Looking for advices for ESP32S3 clock without Internet

Postby Franco » Mon Jan 23, 2023 10:48 am

"The first line of the setup function sets the time to January 17th, 2021 at 15:24:30,"
Just change the date and time to the desired ones.

lladam
Posts: 44
Joined: Tue Jul 20, 2021 12:14 am

Re: Looking for advices for ESP32S3 clock without Internet

Postby lladam » Thu Feb 02, 2023 5:09 pm

Franco wrote:
Mon Jan 23, 2023 10:48 am
"The first line of the setup function sets the time to January 17th, 2021 at 15:24:30,"
Just change the date and time to the desired ones.
Thanks.
I tested the link you shared that works well, question is when the battery is used up, only way to correct the time is re-upload sketch, is it possibly to use NTP to synchronize and sign the current time to ESP32 like: rtc.setTime(current time); ?

Who is online

Users browsing this forum: Google [Bot] and 74 guests