Rob, everyone,
Much too busy with real life at the moment to do very much, but I have
been playing with the DS3231 recently.
Based on your design doc Rob, I'd like to suggest adding a
read-temperature functionality (the sensor for temperature
compensation in the DS3231 is readable by the user and, even though it's
not strictly speaking an RTC function, it is very
handy, reasonably accurate and easier to read than something like the
1-wire DS18B20). The alarm functionality of the
DS3231 is also quite useful, with two separate, settable alarms for
different combinations of time periods. Another function
which might be handy to add (and yes, I know, this one really is feature
creep :-)) is Epoch conversion (really just the addition
of a single constant) to convert the RTC's idea of the Epoch to be
equivalent to the commonly used Un*x one.
The first couple of items are DS3231 specific, Epoch might be a common
function.
I do have the hardware to hand, so I volunteer to slap together a DS3231
lib, but it won't be for a while yet (working all daylight
hours and lots of nightime ones, too -- I won't be explicit about where
I'm writing this from, but please wash your hands
after reading this mail :-)).
-John-
On Sunday, 31 May 2015 19:22:14 UTC+9, RobH wrote:
>
>
> Hi guys,
>
> As I have warned you a few weeks ago I have modified some of the realtime
> clock libraries, in particular the rtcc_hw and ds1302 libraries, for which
> I have hardware to test. I have built a new rtc_common library from these
> and modified the mentioned 2 original libraries so that these work together
> with the new common library. The other rtc libraries (ds1307, mcp7490,
> pcf8563) should be modified similarly, but since I have not the
> accompanying hardware I cannot really do this myself. Furthermore these
> libraries may have requirements that are not foreseen in the new setup.
> For that reason I've written a wiki *rtc_library_design* with the basics
> of the design. I would appreciate to hear comments and suggestions for
> required changes if needed.
> I'll put the new common and modified rtc libraries on Github soon, so that
> you can see the implementation and hopefully understand how the remaining
> rtc libraries should be modified to fit in the new setup.
>
> Regards, Rob.
>
>
--
You received this message because you are subscribed to the Google Groups
"jallib" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/jallib.
For more options, visit https://groups.google.com/d/optout.