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:
With a 3 Volt battery on board:
new component: Realtime clock RTC8563
-
- 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
-
- 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
Hello,
I'll have a go, hopefully shouldn't be too tricky.
I'll have a go, hopefully shouldn't be too tricky.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
-
- 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
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.
Let me know how you get on if you have a go.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
-
- 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
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: AppDeveloper Time-stamp:
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: AppDeveloper Time-stamp: