Project in progress
Simple Clock with LED Matrix

Simple Clock with LED Matrix © CC BY-NC-ND

A simple clock using LED matrix and RTC to display the time, date and temperature.

  • 2,660 views
  • 7 comments
  • 9 respects

Components and supplies

Apps and online services

About this project

1. Introduction

The LED matrix module is really versatile for use with microcontrollers and this project introduces a very simple digital clock using a single 8x8 LED matrix and an Arduino to show the time, date and temperature in degrees Celsius and Fahrenheit.

The matrix module is controlled by MAX7219 and the data of time and temperature are provided by a DS3231 RTC (Real Time Clock) module.

In this case, the DS3231 is more interesting to use because it has an internal temperature sensor and it is more accurate for time reading.

Video

2. Components

  • Arduino UNO R3
  • 8x8 LED matrix module with MAX7219
  • RTC DS3231 module
  • Breadboard
  • Jumpers

3. The Clock

Due to the size of LED matrix (8x8) only a number with two digits can be shown at same time.

The numbers are in 5x3 (rows x columns) and the first two rows at the top of matrix are used to represent the labels of all features.

Each feature is shown during a second before go ahead to the next.

At first row are:

  • Time: Hour (H) / Minute (M) / Second (S)
  • Date: Day (D) / Month (M) / Year (Y)
  • Temperature: Celsius (ºC) / Fahrenheit (ºF)

At second row are:

  • Weekdays: Mo / Tu / We / Th / Fr / Sa / Su

Note: The weekday is shown only when the date is viewed.

- RTC Time Setup:

If is the first time you are using the RTC module, you can adjust the time using the following statements I have included in the code marked as comments:

//setTime(20, 49, 00, 18, 02, 2019); // Set the Time and Date  
//RTC.set(now());                    // Set the RTC time

Remove the comments marks "//" at begining of those statements; set the values of time and date; compile the code again.

After these steps, rewrite the comments marks "//" on the same two statements, recompile the code and resend it to Arduino.

Custom parts and enclosures

Paper Template for LED Matrix
Printed paper template to cover the LED matrix

Schematics

Schematic - Simple Digital Clock
Fritzing schematic

Comments

Similar projects you might like

Digital And Binary Clock With Two LED Matrix And RTC

Project tutorial by LAGSILVA

  • 6,862 views
  • 23 comments
  • 31 respects

Analog Clock with LED Matrix and Arduino

Project tutorial by LAGSILVA

  • 12,999 views
  • 9 comments
  • 45 respects

Digital & Binary Clock In 8 Digits x 7 Segments LED Display

Project showcase by LAGSILVA

  • 2,110 views
  • 3 comments
  • 9 respects

Ternary Digital Clock with Arduino

Project tutorial by LAGSILVA

  • 4,550 views
  • 6 comments
  • 12 respects

Amazing Binary Clock using LED Matrix Module

Project tutorial by LAGSILVA

  • 9,351 views
  • 10 comments
  • 50 respects

Tiny Calendar and Clock Featuring Moon Phase in a LED Matrix

Project showcase by LAGSILVA

  • 6,331 views
  • 6 comments
  • 35 respects
Add projectSign up / Login