Introduction: 8X40 LED MATRIX CALENDAR CLOCK WITH REMOTE
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
Step 2: LED MATRIX BOARD AND SCHEMATIC
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.
Attachments
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.
- Press 5 key of remote
- You will get setup message
- Press OK, you will see Y=2000 now increment by Ch+ or decrement by ch-
- when done press OK, year is adjusted, repeat same for Month, day, hour, minute
19 Comments
3 years ago
Hi Sagar, cool project! I am repeating the question:
What should I change in the sketch to use 5 MAX7219 LED Matrix Modules with the LedControl.h library Like this: https://www.ebay.com/itm/MAX7219-Dot-led-matrix-MCU-control-LED-Display-module-for-Arduino-Raspberry-Pi-S/172350102745?var=471172004615 Thanks
Question 4 years ago on Step 2
HII ,, I AM NOT GETTING HOW TO CONNECT ROWS ..IE COMMON -VE..?
Question 4 years ago on Step 2
how can i implement on 8x24 led martix without remote control what changes i have to do in the code ..?
4 years ago on Step 5
Dear admin did you tested this clock?
It's not giving the perfect time can you help by giving me the fuse bit setting
Question 5 years ago on Step 5
'class DateTime' has no member named 'dayOfWeek' pls what does it mean...
Reply
Question 5 years ago on Step 4
he file is not working
5 years ago
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.
5 years ago
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
5 years ago
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
7 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 ?
7 years ago on Introduction
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.
Reply 7 years ago on Introduction
Yes,Sure, I have two versions, first to display our desired message, and second, calendar like date, time
Reply 7 years ago on Introduction
Thanks for replying. Is it possible to make animations to be displayed?
Reply 7 years ago on Introduction
My current code can display message as scroll left or up. you can modify code to add other effects
Reply 7 years ago on Introduction
Thanks, I'm going to use the matrix in a daft punk helmet.
Reply 7 years ago on Introduction
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.
7 years ago on Introduction
some leds are broken? Or is it a camera glitch?
Cool project! I own this device:
http://www.dx.com/nl/p/jy-mcu-3208-lattice-clock-h...
Which is pretty awesome if you are not into wiring that much leds :)
Reply 7 years ago
yes..I double checked and found some leds being broken. ...fixed wiring...
7 years ago on Introduction
Cool project. Thanks for sharing.