Project showcase
MatrixClock

MatrixClock

Orientation-aware 8x8 LED matrix clock

  • 8,542 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 32x8 LED Matrix Info Display

Project showcase by ericBcreator

  • 46,069 views
  • 81 comments
  • 75 respects

Arduino Clock with Neopixel Ring Animation

Project tutorial by Alexander

  • 51,872 views
  • 43 comments
  • 76 respects

WordClock with Two 8x8 Character Faces

Project showcase by Mark Wilson

  • 21,178 views
  • 4 comments
  • 42 respects

LCD with DS3231 Real Time Clock Module

Project showcase by Tan See Youu

  • 47,904 views
  • 0 comments
  • 40 respects

Making a Wooden LED Clock

Project tutorial by Andrew Jones

  • 37,570 views
  • 18 comments
  • 106 respects

Arduino Weather Station

Project tutorial by woutvdr

  • 21,667 views
  • 8 comments
  • 51 respects
Add projectSign up / Login