Microcontroller › 8051 › anybody can help me in the coding of RTC daily alarm :( › Hi thereCheck out these
February 16, 2017 at 9:18 am
#14448
GANEEV SINGH
Participant
Hi there
Check out these projects:
"engineersgarage.com/contribution/real-time-clock-with-alarm-option-using-89s52-and-ds1307-ic"
and
"engineersgarage.com/microcontroller/8051projects/alarm-clock-rtc-12c887-AT89C51-circuit"
The coding would almost remain the same as of the above's just with little addition to them. Now you will need to have multiple checks, like adding more number of if functions (if(condition)) or something similar that would work. These will compare the actual RTC's time with pre decided alarm timings. Each time any one of them gets matched, an alarm gets fired up.
Hope this was helpful