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
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy