I made this clock in early 2015 and it has been running continuously since then. The display was purchased from Rollsign Gallery, who sells used and surplus displays from busses, trains, etc. It’s a half-flip type of display where the hinged flap for each pixel folds over on itself when it’s black, and when it’s open it exposes the white inside. The display panel is a matrix of 7×25 pixels. The unit was obviously very old and well used when I got it, the light color was actually yellow stickers adhered to the black plastic of the mechanism. The yellow stickers were quite faded and bubbled due to age and exposure to the sun, so I carefully removed them and painted the inside of each digit white, which made the display look nice and fresh.
MIC5821 (eight sink drivers) and MIC5891 (eight source drivers). These ICs allow interfacing to standard 5 volt logic and allow control of the 9 volts required to flip the pixels. The MIC5821 and MIC5891 utilize a serial shift-register driven design. The desired states of the outputs are shifted in and then the output enable is raised to assert the state on the output driver.
At the 9 volt level that I used, it takes approximately 36 milliseconds to flip a single pixel. Updating all 175 (7×25) pixels therefore takes over 6 seconds. To make the display update faster, the software remembers the current display state and takes into account which pixels actually need to be flipped and changes only those that require it so the clock updates much faster in practice.
A PIC16F887 is used as the central processor, and a battery backed DS1307 real time clock provides timekeeping through power outages. The PIC is programmed using the Microchip MPASM assembly language IDE, but I first drew out all the code as flowcharts. It was decided later to add an MCP2200 USB-to-serial bridge chip to allow a terminal program running on my windows tablet to control the time and mode setting functions of the clock. The USB cable does not need to be connected for normal operation, just when I want to change something or adjust the time a couple times a year.
Eagle schematic editing software. Press-n-peel blue transfer paper was used to put the circuit on a single sided copper clad board and then it was etched using ferric chloride. My board is single sided, but there are a large number of jumpers on the top side of the board due to the complexity of the circuit. The MCP2200 USB chip is mounted on a small surface-mount to DIP adapter board that was made using the same technique, and the rest of the USB circuitry is just on a small piece of perfboard.
CNC router machine was used to put decorative grooves on the top panel along with recesses for the mode switches. The front and back are clear plexiglass panels held in grooves in the panels.
– Large 5×7 pixels hours:minutes
– Large 5×7 pixels minutes:seconds
– Small 3×5 pixels hours:minutes:seconds
– Small 3×5 pixels month-day-year
– Small 3×5 pixels day of the week and date
– Auto mode – switches between all the modes automatically
– All black – changes the display to all black
– All white – changes the display to all white
Additionally, two functions are available to tailor the display:
– Row/column invert – switches the display to update in row-major or column-major order
– Invert black/white – inverts all the pixels so the display can be black-on-white instead of white-on-black
Finally, there are a couple time management commands used with the serial terminal when it is connected:
– Read time – reads the time from the DS1307 chip and displays it to the serial terminal
– Set time – allows the serial terminal to enter time updates and store into the DS1307 chip
Hackaday Tell Time Contest! Woohoo!