Binary Clock

2017hardware

Close-up of the Python source code that splits the time into hours, minutes and seconds
Raspberry Pi Sense HAT LED matrix showing the time in binary

This project was made to display the time in binary on an 8x8 LED matrix. The code was written in Python 3 and utilized the Sense HAT API. The code was made to run on a Raspberry Pi with the Sense HAT shield connected to it. The clock has a safety turn-off which displays a pause screen in case the Raspberry Pi gets too hot; during testing the Raspberry Pi never reached high temperatures.

Reading the clock

  • The bottom row is left blank.
  • The first 2 columns on the right represent the hours in a 24-hour format.
  • The next 2 columns represent the minutes.
  • The last 2 columns represent the seconds.
  • The first digit of the hours, minutes, and seconds corresponds to the first column in its respective category.
  • The second digit of the hours, minutes, and seconds corresponds to the second column in its respective category.

Can you figure out the time in the photo?