Project showcase

Analog Clock with LED Matrix and Arduino © CC BY-NC-ND

This is my project about an Analog Clock on a LED matrix and Arduino.

  • 20,171 views
  • 17 comments
  • 74 respects

Components and supplies

Necessary tools and machines

Paper Template to cover the LED Matrix

Apps and online services

About this project

Introduction

LED matrix with MAX7219 are very versatile and can be used in several projects with Arduino.

In this case, I used it to simulate an analog clock without its hands, with very interesting results. The hours and minutes are placed around the center of matrix giving a familiar look of analog clocks. The code I have developed applies a little of trigonometry (sine and cosine) to calculate the coordinates of hours and minutes to be shown into LED matrix. With that I saved many lines of coding.

The assembly is very simple using few components and you will have no problems to work on it.

Let's do it!

Video

Material List

The material you need is shown in the following list:

  • Arduino UNO R3
  • Module of LED Matrix with MAX7219 (Maxim Integrated)
  • Tactile Push Buttons (02 x)
  • Breadboard (small size)
  • Jumper Wires
  • Paper template to cover the LED Matrix (see attached file for printing)

Note: This project uses the Arduino internal clock. It is not so accurate as an external RTC (Real Time Clock), but for the purposes of this project, it works very well.

Schematic

The schematic is attached and you should follow it closely for the jumpers connections.

Setup

After starting, the default time shown is 00:00 hs.

For adjustments there are only two tactile buttons to perform the setup of time:

  • Setup of Hours
  • Setup of Minutes

Just keep it pressed for adjustments.

The hours are shown in the display by numbers between 1 and 12. The minutes are shown by numbers between 0 and 55 in steps of 5 minutes.

In the last column of display is shown the fractional minutes from 1 to 4 that must be added to the minutes shown in the main template of clock.

In the middle of display, there is an LED blinking each second and there are also two LEDs for AM and PM indication.

Custom parts and enclosures

Paper Template
Paper Template to be print and put over the LED Matrix

Comments

Similar projects you might like

Amazing Binary Clock using LED Matrix Module

Project in progress by LAGSILVA

  • 11,923 views
  • 13 comments
  • 63 respects

Tiny Calendar and Clock Featuring Moon Phase in a LED Matrix

Project in progress by LAGSILVA

  • 7,678 views
  • 6 comments
  • 37 respects

Digital And Binary Clock With Two LED Matrix And RTC

Project tutorial by LAGSILVA

  • 12,567 views
  • 41 comments
  • 46 respects

Simple Clock with LED Matrix

Project tutorial by LAGSILVA

  • 7,280 views
  • 13 comments
  • 24 respects

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

Project tutorial by LAGSILVA

  • 3,492 views
  • 3 comments
  • 11 respects

Random Number Generator with 8x8 LED Matrix and Arduino

Project tutorial by LAGSILVA

  • 2,983 views
  • 2 comments
  • 18 respects
Add projectSign up / Login