About: I am an innovative self starter with broad interest in Hardware and software programming.

Today I am going to show how to make Scrolling and animated LED MATRIX CALENDAR CLOCK for arduino. This project has following features

What is new in Version 2.0

  • Added IR remote based Date/Time Adjusting
  • Smooth animation
  • Many bug fixes in software

Version 1.0
• Custom LED Matrix using easily available LEDS
• Scroll effect horizontally and vertically
• Arduino compatible(Easy interfacing)
• DS1307 based RTC

Step 1: Parts

• LEDs 320 pcs
• Arduino UNO
• DS1307
• Lithium Battery 3V
• 74HC595 shif registers 6 pcs
• ULN 2003 (optional) if you need to drive leds with high current,
• 3.3k Resistors 2 pcs
• 1 K resistor 40 pcs
• Few jumper wires


First make led matrix board using LEDs in whole PCB. For this connect components as in picture attached

Make connection to 74HC595 as in schematic

Step 3: DS1307 RTC Clock

DS1307 is easily available almost everywhere. it is a popular RTC chip which requires few wiring. connect SDA pin to A4 and SCL pin to A5 pin of arduino

Step 4: Software

The program is written in arduino. it uses RTCLib arduino library for communicating with DS1307. for that download library from RTCLib Github and IRRemote library from IRRemote Github and add it to libraries folder of your arduino installation.

and download Zip file which contains required files and Proteus simulation.(To make simulation work, uncomment line 375, comment line 373) and Arduino program file and load it to arduino. I have also provided hex file if you want to burn it to separate atmega328 chip.

Step 5: Final Prototype (Image and Video)

After connecting all parts, Here is final build, You can watch video also.

How to adjust Time?

Device uses NEC IR protocol. For this i have used Huayu Universal remote.

  1. Press 5 key of remote
  2. You will get setup message
  3. Press OK, you will see Y=2000 now increment by Ch+ or decrement by ch-
  4. when done press OK, year is adjusted, repeat same for Month, day, hour, minute



    • Clocks Contest

      Clocks Contest
    • Creative Misuse Contest

      Creative Misuse Contest
    • Oil Contest

      Oil Contest

    16 Discussions

    Dear admin did you tested this clock?

    It's not giving the perfect time can you help by giving me the fuse bit setting

    'class DateTime' has no member named 'dayOfWeek' pls what does it mean...

    he file is not working

    Giving this error message

    Arduino: 1.7.5 (Windows 7), Board: "Arduino Uno"

    LED_MATRIX_UART_RTC_OPTIMIZED.ino: In function 'void showScrollingTime()':

    LED_MATRIX_UART_RTC_OPTIMIZED.ino:220:130: error: 'class DateTime' has no member named 'dayOfWeek'

    Error compiling.

    What to do --please help

    This report would have more information with

    "Show verbose output during compilation"

    enabled in File > Preferences.

    If .HEX file to be downloaded with separate Atmega328 then how hardware will match because Arduino Uno and atmega328 without boot loader pin configuration is different

    when compiling the "LED_MATRIX_UART_RTC_OPTIMIZED.ino" giving error, all files kept in same directory.

    What is the use of .Hex file , can it be used with Arduino Uno, ..how

    please reply


    2 years ago

    This report would have more information with

    "Show verbose output during compilation"

    enabled in File > Preferences.

    Arduino: 1.0.6 (Windows 7), Board: "Arduino Uno"

    C:\Program Files\Arduino\libraries\RobotIRremote\IRremoteTools.cpp:5: error: 'TKD2' was not declared in this scope

    why this error ?

    Can you write text on it and display it? How about animations? I'm looking to make this and put it in my daft punk helmet. Please respond.

    5 replies

    Yes,Sure, I have two versions, first to display our desired message, and second, calendar like date, time

    My current code can display message as scroll left or up. you can modify code to add other effects

    go on, i will help you and use arduino 0,1 (rx,tx) for your requirement to load message from PC. i will send you code from email for scrolling message.

    yes..I double checked and found some leds being broken. ...fixed wiring...