Wednesday 27 April 2011

Digital Clock

I made a Digital Clock without Micro-controller or a RTC chip (Real Time Clock) .
Digital clock now is a part of our day today life. But the it comes in different structure or format for everyone. its always seen in the right side corner of the desktop or laptop or even in our mobiles. it never stops (unless n until we do some wrong with it). So i wanted to make one for me.

But when i think of making one I was asked to make a clock only to count 8 hours.

As we are aware of the clock format as 00:00:00 i.e. it always displays Hrs:Min:Sec resptly. We learnt in the school particularly in maths to count the seconds and conversion of them to minutes or Hours.
Its very simple.... 60 seconds equal to 1 min and 60 mins equal to 1 hr. That means Hr section is derived by Min section and Min section is derived by Second section. We our observation about the clocks(digital) each Min & Second section is designed to count from 00 to 59 then resets to 00. And Hour section counts from 00 to 23(if it is 24 hr clock else counts upto 12) & resets to 00. Each cycle of count of Seconds from 00 to 59 increases 1 count in Min. Similarly each cycle of min count from 00 to 59 increases 1 count in Hour section.
Normally in Hour section when count reaches to 23 or 12 it resets to 00:00:00 i.e.oth hr. But in my project I reset the clock when it reaches to 08:00:00 that means it counts only 8 hrs.