Page 1 of 1

new component: Realtime clock RTC8563

Posted: Wed May 29, 2024 8:20 am
by stefan.erni
Hi Ben

On many M5 stack boards is the realtime clock IC RTC8563.

There is also an external module for just a few dollars.
This module also contains a 3 Volt battery.
It would be possible to use this module for example with the AppDevelopper or an ESP32 to set the time and date and then read the time with another module without wifi access. The time would be correct even with power interruption. ( I hope)

Would it be possible to make a component RTC8563 for Flowcode?

Extern Modul:
2024-05-29_08-35-53.PNG
2024-05-29_08-35-53.PNG (130.91 KiB) Viewed 2913 times
With a 3 Volt battery on board:
2024-05-29_08-36-31.PNG
2024-05-29_08-36-31.PNG (669.63 KiB) Viewed 2913 times

Re: new component: Realtime clock RTC8563

Posted: Thu May 30, 2024 5:30 pm
by BenR
Hello,

I'll have a go, hopefully shouldn't be too tricky.

Re: new component: Realtime clock RTC8563

Posted: Mon Jun 03, 2024 2:16 pm
by BenR
I've had a quick go and it should be available now via library updates.

Let me know how you get on if you have a go.

Re: new component: Realtime clock RTC8563

Posted: Tue Jun 04, 2024 1:51 pm
by stefan.erni
Hi Ben

I tested on a ESP32-S3 and it's working nice! Thank you very much.

One more question...
is it also possible to read a string like in the App-developer timestamp, which can be configured.
It would then be easy to have a time with an exact number of digits or a generated filename with other characters for separators

And what do I have to do, to set the time from the file SD mode (ESP32) so that the date and time created are correct?

sample filename generated with AppDeveloper:
2024-06-04_14-33-03.PNG
2024-06-04_14-33-03.PNG (3.7 KiB) Viewed 2807 times
AppDeveloper Time-stamp:
2024-06-04_14-28-04.PNG
2024-06-04_14-28-04.PNG (15.3 KiB) Viewed 2807 times