Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 1

8051 based, I2C Implemented Digital Clock, with Alarm The 8051 based Digital Clock has the

option of setting Time (Hrs:Mins:Secs), Day (Week of the Day), Date (Date of Month:Month:Year) and Alarm (Hrs:Mins). Once set, the values will be displayed in 16x2 LCD. Clock keeps running till Controller is running. Upon reset of controller, all the values have to 16X2 Time AM/PM be set again as per the users convenience. LCD Alarm Time
09:00:00AM 00:00 30-Aug-08 Wedday Year Day

Sample LCD looks like this after setting the values:

BLOCK DIAGRAM DESCRIPTION Coming to the block diagram, RTC is Date Month interfaced to the controller using I2C protocol. In Time Control set, there are 3 keys to select each mode (Hours mode, Mins mode, Secs Mode, AM/PM Mode, Alarm Mode, Date, Month, Year Mode and Day Mode). Upon Reset of controller, user has to set the Date and Time values with the help of time set keys. Once Set, Digital Clock keeps running, till controller runs. If Controller is reset at any point of time, then user has to set Date and Time again. Option to SET alarm is defined, on reaching the alarm time, the buzzer connected to controller will buzz for 1 minute.
Buzzer for Alarm

SDA RTC SCL 8051 Controller LCD Display

Time Set Control Mode UP Down (3 Keys)

Components Required: Atmel 89C51 Controller RTC LCD Display 16x2 3 Tactile Keys Buzzer for Alarm

You might also like