Does any one have a working code for an rtc that works as an alarm clock

Thread Starter

xed339

Joined Feb 4, 2013
13
Does anyone of you guys happen to have a code for RTC displayed in lcd and works as an alam clock? can anyone help me with this one..im looking forward to it
 

Thread Starter

xed339

Joined Feb 4, 2013
13
well i only know the basics. the only program that i coded is about blinking led and using the if else if..and a little of c..i use c18 compiler
 

thatoneguy

Joined Feb 19, 2009
6,359
There are several versions of code to get the LCD and RTC running already posted in several places on the net.

Is this application going to be portable, or powered by a wall adapter?
 

thatoneguy

Joined Feb 19, 2009
6,359
Link to base, modify code to fit your compiler

Then it's just a matter of setting a time for the clock to be equal to. How simple or complex you'd like that is up to your taste. (menu to set alarm time, multiple alarms, etc)

The DS1305 Supports 2 alarms, but communication is through SPI rather than I²C.

The DS1337 supports 2 alarms with I²C communication.

This would allow the uC to be in sleep mode between alarm events.
 
Top