Main Content

Digital & Binary Clock in 8 Digits X 7 Segments LED Display

This is my upgraded version of a Digital & Binary Clock using an 8 Digit x 7 Segment LED Display.
I like to give new features for usual devices, specially clocks, and in this case the use of 7 Seg display for Binary Clock is unconventional and it is an interesting and a different way of applying it.
My choice in this project was to use a display powered by the MAX72xx wich is really useful because it uses only three digital Arduino ports. I also used an inexpensive DS1307 RTC module to store the time mode of clock on its internal memory: standard 24HS or AM-PM.
Every time you reset or restart the Arduino, the time mode will change.
The first four digits at left of display show the hours and minutes in decimal numbers. The next three digits show the hours, minutes and seconds in binary notation and the last digit at right inform the weekday.
About the code, I had to develop a way to use the “LedControl” library to turn conventional 7-Seg decimal display into a Binary display. The solution is to use “setRow” function that is usually applied for dot matrix display. With this function, you can control individually the display LEDs to create any chars pattern.”

Link to article