Is a ds3231 rtc Node-Red node useful?

I have got a ds3231 rtc module.
When I look in Node-Red nodes library, there isn´t a ds3231 node.
The system time on Raspberry pi is set by ntp server.
If internet isn´t avaible, you can configure hwclock for time backup.
My question:
Is a ds3231 Node-Red node not useful or exist situation where a ds3231 node is useful ?

1 Like

That question is sorta like asking how long does a piece of string need to be?

I'm sure some people would find it useful, but as you say RPi uses ntp for most cases. Although it may help those in situations where the ntp server does not respond quickly enough on boot. There was a thread about that not so long ago iirc. For me, I've only ever used an RTC when connected to an Arduino.

But why not give it a go anyway (assuming your aim is to build an RTC node)? You know you want to :grin:

What would be the use of such a node? Once you have set it up as described in the link you posted is it not automatic?

Ok, I cancel the node.
There are more important nodes to write.
I read in a german artice that ds3231 china clones exist
and if you poll this chip frequently the accurate is very bad.
The china chips dont use double buffering.
I haven't checked this.

Aside from initial configuration you could use it to fix any inaccuracies. From memory I also believe there is an alarm, amongst other things that may well come in handy too.

I actually thought the lesser 1307 version was the inaccurate one with the 3231 being a lot more precise. Regardless, there are a few different types. IIRC the 1307 is the cheap and nasty module which could probably benefit from regular updates, from something like RTC node.

I write a systemtime node.

This node reads System-Time and updates global variable IA99 as array.


I think with support of OS ntp and hwclock this is accurate.

DS3231 is very useful and we use the chip in our industrial systems to keep the clock running when system shuts down and there is no internet access.

Not sure about a node for it though. As Colin said, you add the chip and then forget about it :grin:

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.