Nov 9, 2010

Digital clock

Digital Clock


A Digital Clock is a type of clock that display the time digitally. Digital Clock have to contain a few basic components that any kind of clock needs to work. Digital Clock just use these elements in different way.


We use  Atmega8 microcontroller ,shift registor and RTC(real time clock). To represent the time, digital clock use seven segment LED,s. Digital alarm clock work off the repetitive electronic signal known as oscillation, so we use a 4MHz crystal oscillator.
Circuit Diagram of Digital Clock


The software for this project is written in Eclipse notepad. For programming we use some advance facilities in AVR known as timer and interrupt. We use internal interrupts for synchronising hour , minute and second.  We are also use some extra features like AM-PM and alarm .
Source Code for Digital Clock