Go Down

Topic: Time comparision (Read 1 time) previous topic - next topic

Jack Christensen


Anyone have advice for a working clock?  I have an RTC module, but I don't know how to program it to remember time.

What sort of RTC might that be?
MCP79411/12 RTC ... "One Million Ohms" ATtiny kit ... available at http://www.tindie.com/stores/JChristensen/

electrickery

At http://fjkraan.home.xs4all.nl/digaud/arduino/index.html is an example of a timer clock based on the DS1307 switching a relay on time and light conditions. For each time comparison I convert the time from the RTC to seconds (on this day).

The code structure could be better, but I ran into RAM limitations, so I left it as is. It is good enough for me ;-)

Go Up