I have got a DS1302 Real Time Clock Module with Battery Backup, and I was eager to making a digital clock. As I also had a 7-segment 4-digit display, I was looking for the best way to make that clock. But I was always reluctant to use this type of display, because of the amount of wires it requires.
Then, "digital tube" 4-wire 4-digit display came across, and I knew that was the solution I was searching for. Now I had all the pieces of my little system.
I used the examples of the DS1307RTC library to set the date and time on the RTC board. Then I created this sketch based on that example and based on Prometec's example to use the display.
It was a piece of cake. Great fun in a short time. Next challenge: making it on a Arduino Nano (instead of the UNO R3) and look for a nice box to keep it safe.
Comments