Page 1 of 1

Is there a Library available for using a Real Time Clock shield

Posted: 24 Sep 2022 06:38
by Steve_Elves
I'd like to use a RTC for accurate timestamping of pulses from a rain gauge that I am building. Has anyone come across a library that works with the ZUNO for this purpose?
The RTC I'm looking to use is a PCF8563.

Re: Is there a Library available for using a Real Time Clock shield

Posted: 25 Sep 2022 03:06
by PoltoS
It might be enough to use Clock command class and use internal timer. Clock has to be implemented in Z-Uno 2, but it is rather simple

Re: Is there a Library available for using a Real Time Clock shield

Posted: 01 Oct 2022 21:41
by Steve_Elves
Thanks for the reply and suggestion!

I would prefer to use a dedicated RTC module, because it will retain its settings and keep time even if there is a power interruption. I also believe that the RTC modules will be slightly more accurate, although for the purposes of this application, extreme accuracy is not required.

Re: Is there a Library available for using a Real Time Clock shield

Posted: 09 Mar 2024 11:48
by KGBEl
PoltoS, there is a library for DS3231 & DS3232 called ZUNO_DallasRTC.

Isn't it possible to use ZUNO_DallasRTC to work with Z-Uno V2?
If not, what has to be done to make it work with Z-Uno v2?

Re: Is there a Library available for using a Real Time Clock shield

Posted: 11 Mar 2024 22:44
by PoltoS
At the first glance it looks compatible. We will check it, but you can also try on your sidee

Re: Is there a Library available for using a Real Time Clock shield

Posted: 12 Mar 2024 18:21
by KGBEl
Thanks for answer.
I’m waiting for my rtc-order to arrive, after that that I’ll come back.