![]() |
Forum Index : Microcontroller and PC projects : Yet another Clock
Author | Message | ||||
William Leue Guru ![]() Joined: 03/07/2020 Location: United StatesPosts: 405 |
I seem to be into clocks today ![]() The picture shows the displayed time of 15:59:32 (24-hour time). Each column is a single digit of the time, hours for the leftmost 2 columns, minutes for the middle, and seconds for the rightmost 2. Each column shows the binary equivalent of the decimal digit for that column, with the 1's bit at the bottom (yellow), 2's bit above it (green), 4's bit above that (blue) and the 8's bit at the top (red). Using constants at the top, you can choose not to display seconds, and also switch between 12-hour and 24-hour time. Enjoy! -Bill ![]() BCDClock.zip |
||||
William Leue Guru ![]() Joined: 03/07/2020 Location: United StatesPosts: 405 |
I forgot to mention a little bit of history related to this clock. I first built a physical clock with this output in 1969 using surplus AT&T stepping relays. The mechanism weighed about 25 pounds! Just a couple of years ago, I reimplemented it using an Arduino Uno, which weighs a few ounces. Times change! -Bill |
||||
cletus3x![]() Newbie ![]() Joined: 31/07/2020 Location: United StatesPosts: 17 |
Awesome story Bill! Thanks for sharing. -George CMM2 Demos: Kit Cat Clock BCD Clock Video |
||||
cletus3x![]() Newbie ![]() Joined: 31/07/2020 Location: United StatesPosts: 17 |
Bill, Ran this one as well. Nice work! -George BCD Clock Video Edited 2021-01-27 06:29 by cletus3x CMM2 Demos: Kit Cat Clock BCD Clock Video |
||||
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |