LED Matrix Clock with Arduino
LED Matrix Clock with Arduino
This project combines 3D printing and Arduino to create a stunning LED matrix clock that fits right in with the synthwave aesthetic.
Parts List
- Arduino Nano
- MAX7219 LED Matrix (4 modules)
- DS3231 RTC Module
- 3D Printed Case (PLA)
- Jumper Wires
- USB Cable
The Build
The case was designed in Fusion 360 with a retro-inspired angular shape. The front panel has a slot for the LED matrices, and the back has openings for the USB port and a button for setting the time.
Wiring
The wiring is straightforward - the MAX7219 modules daisy-chain together and connect to the Arduino via SPI:
MAX7219 DIN -> Arduino D11
MAX7219 CS -> Arduino D10
MAX7219 CLK -> Arduino D13
DS3231 SDA -> Arduino A4
DS3231 SCL -> Arduino A5
Code
The Arduino code uses the MD_Parola library for the LED matrix and the RTClib for the real-time clock module.
Result
The finished clock looks amazing on the desk! The LED matrices are bright and easy to read, and the 3D printed case gives it a clean, professional look.
What I Learned
- How to daisy-chain MAX7219 modules
- Designing enclosures with proper tolerances for electronics
- Using the DS3231 RTC for accurate timekeeping