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

Discussion about Z-Uno product. Visit http://z-uno.z-wave.me for more details.
Post Reply
Steve_Elves
Posts: 22
Joined: 07 Aug 2022 21:54

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

Post 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.
User avatar
PoltoS
Posts: 7562
Joined: 26 Jan 2011 19:36

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

Post 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
Steve_Elves
Posts: 22
Joined: 07 Aug 2022 21:54

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

Post 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.
KGBEl
Posts: 30
Joined: 21 Feb 2023 00:37

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

Post 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?
User avatar
PoltoS
Posts: 7562
Joined: 26 Jan 2011 19:36

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

Post by PoltoS »

At the first glance it looks compatible. We will check it, but you can also try on your sidee
KGBEl
Posts: 30
Joined: 21 Feb 2023 00:37

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

Post by KGBEl »

Thanks for answer.
I’m waiting for my rtc-order to arrive, after that that I’ll come back.
Post Reply