loading

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

<p>Good Morning, Sir how about the connections of the switches?.. Thank you</p>
<p>Button are connected to analog pins (A0 - A3) of arduino with common ground.</p><p>No external resistors are required.</p><p>You can use push to on micro switches</p>
<p>Sir zeevy, the schematic of the rtc module... where shall we connect the rtc module?... Thank you</p>
<p>RTC is connected to arduino via I2C lines.</p><p>A4 on arduino is connected to the SDA pin of RTC</p><p>a5 on arduino is connected to the SCL pin of RTC</p>
<p>ok thanks</p>
<p>Sir can you upload the diagram on this project</p>
<p>Unfortunately i don't have the circuit diagram for this, </p><p>for wiring from arduino to display board you can refer the arduino sketch file. </p><p>these may be helpful</p><p><a href="http://playground.arduino.cc/Main/MAX72XXHardware" rel="nofollow">http://playground.arduino.cc/Main/MAX72XXHardware</a></p>
<p>Thank you sir zeevy</p>
<p>Choose a good quality LEDs. I had a bad experience with cheep LED imported from china through ebay. They stopped working after few months.</p><p>As you can see it is very hard to replace them from the display board</p>
<p>This looks like it would be easy to read from a long distance away.</p>
<p>yes, as the digit size is over 2 inches it is easy to read from long distance. </p>

About This Instructable

1,152views

7favorites

More by zeevy:Arduino MAX7219 Real Time Clock 
Add instructable to: