Wednesday, December 14, 2005

Powers of 2 BCD Clock

Time to tell time differently. The usual big hand, small hand, seconds hand clock or the LCD something-or-other display clocks are getting a bit dull at look at. They are still effective at telling time but I want something different. Then I found this: the powers of 2 BCD clock. When I was in school, BCD meant binary coded decimal. I think this is how this clock tells the time. There are six columns of LEDs. I'm guessing that the two rightmost columns make up the seconds, the two middle ones make up the minutes and the two leftmost ones make up the hours. Let's look at how to tell the time. Take the two rightmost columns that represents seconds. We will concentrate on the rightmost column with the 4 LEDs because once this is understood, the rest is the same. From bottom to top, the lights represent 1, 2, 4 & 8. Why? That is how binary works. The first position is 2 to the power of 0, the second is 2 to the power of 2 and so on. That is how you get representations for 1, 2, 4 & 8 for the LEDs. To get a sensible number, you just add up the LEDs that light up. For example, in the picture, the rightmost LEDs have the bottom three positions lit up. These represent 1, 2 & 4. Add it all up and you get 7. The second from right column has only the LED on position 2 lit up - so this is representing 2. Since the two rightmost LED columns represent seconds, the clock is showing 27 seconds! Confused? You'll get used to it! Plus, you'll have a good excuse next time you are late - "I was late because I was trying to figure out what time it was!" By the way, the clock is showing 7:17.27 AM. I gotta have one.

No comments:

Post a Comment