A digital clock is one that displays time digitally. This project displays time with two ‘minutes’ digits and two ‘seconds’ digits on four seven segment displays. The seven segment and switches are interfaced with 8051 microcontroller AT89C51. This circuit can be used in cars, houses, offices etc.
Interrupts have several advantages over the method of polling as discussed in the previous article. It reduces the unnecessary usage of microcontroller’s memory and processing powers, thereby keeping the processor free for other use
Further we can improve this project by using RTC 12C887. RTC 12C887 It reduces the unnecessary usage of microcontroller’s memory, it has three interrupts, namely, Alarm interrupt, Periodic interrupt & Update ended interrupt.