First, I am a hobbyist with the lack of a serious programming background. This is my first post. None the less, I have had a ball working with the Arduinos. I have had great success building projects using a LAN connection to do remote switching with a telnet terminal connection. I also built an Arduino for a country fire department to trip their siren at noon as well as cycle it 8 times for fire calls. It uses the RTC DS2321. It has been in service for nearly 4 years.
The forum has been a great resource. A special tip of the hat to those who don't respond with lines of code but respond with things like (my favorite response) "All you have to remember is..." and we are left to figure it out from there. Thank you!
On to my question and back to that fire siren:
I built 2 of the control units. One to install and the second to troubleshoot if need be. The second, which has been running as long as the installed one, keeps very good time. It only loses a few seconds in 6 months or so. The installed one loses a few seconds a month.
I have since bought 5 more that all lose many seconds an hour!
I have seen hints that there may be a way to adjust the DS2321's "Aging Value" which may correct this. I have read the spec sheet. I see where there are 2 bytes (11h and 12h) that hold this aging value. I have been unable to find anything on line explains how these bytes can be read or written to.
I have also struggled my way through a couple of libraries to see if there was any thing there. But, alas...beyond my skill set.
So, the question is, can the aging value of a DS2321 be read and/or adjusted by a mere mortal? And, of course, if so, how?
I look forward to your replies.