Introduction: Arduino MAX7219 Real Time Clock

Picture of Arduino MAX7219 Real Time Clock

Arduino-MAX7219-7-Segment-Led-Clock

This real time clock is based on RTC chip DS3231

7 Segment led construction ( common cathode type )

Display board is a custom made 7 Segment led (you can use any readily available 7 segment leds).
it uses 5 parallel connected 3mm diffused leds to make one segment. A total of 35 leds needed for one digit. since we are using max7219 as 7 segment driver we must construct the diplay as common cathode type ie all -ve of the one digit leds should be tied together.

Microcontroller

I have used Arduino Pro Mini as the microcontroller ( you can use any arduino compatiable board ).

Buttons

  1. Select button

  2. Menu button

  3. Up button

  4. Down Button

Pressing the menu button will cycle through the all available menus

  • MENU_HH_MM ( clock displays current Hours and Minutes )

  • MENU_MM_SS ( clock displays current Minutes and Seconds )

  • MENU_DD_MM ( clock displays current date and month )

  • MENU_YY_YY ( clock displays current year )

  • MENU_LIGHT ( clock displays current brightness level of the display )

Pressing the select button will enter into the edit mode for the current
menu (edit mode will timeout after 12 seconds of inactivity), Pressing again will cycle through the current menu items. Pressing Up Down buttons when in edit mode will increase or decrease the value. Pressing Up button when not in edit mode will diplay the current menu info as follows (info mode will timeout after 3 seconds)

Pressing Down button will run the test code, which will test the display

  • test for each individual segment.

  • test for full 16 hex characters.

  • test for display intensity from min t0 max and max to min

Power Supply

5v/500ma ( i used my old nokia charger )

Display Filter

used 2mm black transparent acrylic sheet as glass.

CODE

GitHub

Comments

azadbd (author)2017-09-18

hello dear can i get schematics

zeevy (author)azadbd2017-09-26

i don't have a schematic for this, but this is pretty easy to connect.

http://playground.arduino.cc/Main/MAX72XXHardware

azadbd (author)2017-09-18

hell dear can get the schamatics

Ed Marjosef (author)2017-02-06

Good Morning, Sir how about the connections of the switches?.. Thank you

zeevy (author)Ed Marjosef2017-02-06

Button are connected to analog pins (A0 - A3) of arduino with common ground.

No external resistors are required.

You can use push to on micro switches

Ed Marjosef (author)2017-01-29

Sir zeevy, the schematic of the rtc module... where shall we connect the rtc module?... Thank you

zeevy (author)Ed Marjosef2017-01-29

RTC is connected to arduino via I2C lines.

A4 on arduino is connected to the SDA pin of RTC

a5 on arduino is connected to the SCL pin of RTC

Ed Marjosef (author)zeevy2017-01-30

ok thanks

Ed Marjosef (author)2017-01-02

Sir can you upload the diagram on this project

zeevy made it! (author)Ed Marjosef2017-01-02

Unfortunately i don't have the circuit diagram for this,

for wiring from arduino to display board you can refer the arduino sketch file.

these may be helpful

http://playground.arduino.cc/Main/MAX72XXHardware

Ed Marjosef (author)zeevy2017-01-03

Thank you sir zeevy

zeevy (author)Ed Marjosef2017-01-03

Choose a good quality LEDs. I had a bad experience with cheep LED imported from china through ebay. They stopped working after few months.

As you can see it is very hard to replace them from the display board

DIY Hacks and How Tos (author)2016-06-27

This looks like it would be easy to read from a long distance away.

yes, as the digit size is over 2 inches it is easy to read from long distance.

About This Instructable

1,953views

7favorites

Add instructable to: