Project showcase
MatrixClock

MatrixClock

Orientation-aware 8x8 LED matrix clock

  • 7,867 views
  • 13 comments
  • 23 respects

Components and supplies

Eleven (Uno clone)
×1
8x8 LED module, common cathode ("NFM-12883AS-11")
×1
DS3232 RTC module
×1
LDR Light sensor module
×1
3-Axis Accelerometer module
×1
74HC595 (8-bit serial-in, parallel-out shift register)
×1
resistor 150 ohm
×8

About this project

Building it up

Setting time

Arduino sketch

What I did

LEDs are cool and so are grids! I bought an 8x8 red LED matrix online a while ago and determined to make a clock with it. 

The challenge was to come up with a way of displaying the time with so few pixels. I use the outer LEDs to show the minutes (to the nearest 5) and I designed a 4x4 pixel "font" to show the hour on the inner LEDs. 3:50 is shown on the left (3 in the middle, 3 quarters + 5 minutes). 
Having played with accelerometers in my SleepyTimer project I decided to use them here too: the clock has no buttons. The various display modes are selected based on orientation.
Changes in the orientation are used to set the time.

There are more photos, videos and details on flickr.

Demo mode

Display modes

Code

MatrixClock-jan-2018.zipArduino
I've updated the sketch (see MatrixClock-jan-2018.zip) to deal with changes to PROGMEM and possible case-sensitivity of #includes. Compiles with Arduino v1.8.3
No preview (download only).

Schematics

Schematic
The ASCII-art schematic from PINS.h in the Arduino sketch
Schematic

Comments

Similar projects you might like

Arduino Clock with Neopixel Ring Animation

Project tutorial by Alexander

  • 42,067 views
  • 39 comments
  • 64 respects

Arduino 32x8 LED Matrix Info Display

Project showcase by ericBcreator

  • 23,265 views
  • 31 comments
  • 40 respects

WordClock with Two 8x8 Character Faces

Project showcase by Mark Wilson

  • 16,339 views
  • 0 comments
  • 33 respects

LCD with DS3231 Real Time Clock Module

Project showcase by Tan See Youu

  • 39,445 views
  • 0 comments
  • 30 respects

Making a Wooden LED Clock

Project tutorial by Andrew Jones

  • 29,818 views
  • 18 comments
  • 90 respects

Digital Clock with Arduino, RTC and Shift Register 74HC595

Project tutorial by LAGSILVA

  • 20,727 views
  • 16 comments
  • 46 respects
Add projectSign up / Login