new component: Realtime clock RTC8563

Post here to discuss any new features, components, chips, etc, that you would like to see in Flowcode.
Post Reply
stefan.erni
Valued Contributor
Posts: 997
http://meble-kuchenne.info.pl
Joined: Wed Dec 02, 2020 10:53 am
Has thanked: 190 times
Been thanked: 217 times

new component: Realtime clock RTC8563

Post 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 2634 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 2634 times

BenR
Matrix Staff
Posts: 1924
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 501 times
Been thanked: 684 times

Re: new component: Realtime clock RTC8563

Post by BenR »

Hello,

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

BenR
Matrix Staff
Posts: 1924
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 501 times
Been thanked: 684 times

Re: new component: Realtime clock RTC8563

Post 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.

stefan.erni
Valued Contributor
Posts: 997
Joined: Wed Dec 02, 2020 10:53 am
Has thanked: 190 times
Been thanked: 217 times

Re: new component: Realtime clock RTC8563

Post 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 2528 times
AppDeveloper Time-stamp:
2024-06-04_14-28-04.PNG
2024-06-04_14-28-04.PNG (15.3 KiB) Viewed 2528 times

Post Reply