I wanted a simple digital clock that could also double as a message board — something fun and functional. I had an ESP8266 and an LED matrix lying around and thought: “Why not build a smart display that shows the time… or anything I want?”
No cloud, no mobile app — just raw Wi-Fi and code, with a web server to switch between display modes.
🔌 Wiring:
MAX7219 ESP8266
VCC---------------------------------------------3V
GND---------------------------------------------GND
DIN----------------------------------------------D7 (GPIO13)
CS-----------------------------------------------D8 (GPIO15)
CLK---------------------------------------------D5 (GPIO14)
📦 Software Setup:Install Arduino IDE
- Install Arduino IDE
Add ESP8266 board from Board Manager
- Add ESP8266 board from Board Manager
Install required libraries:MD_ParolaMD_MAX72XXNTPClientESP8266WiFiWiFiUdp
🧩 How It Works:The ESP8266 connects to your WiFi, gets real-time clock data using NTP, and displays it on the LED matrix in HH:MM format. The colon blinks every second for a clean digital clock vibe.
But here’s the twist — it runs a web server too.
You can:
Tap a button to switch to Clock Mode
- Tap a button to switch to Clock Mode
Type a message into a text box to show a scrolling message
- Type a message into a text box to show a scrolling message
When the device boots, it prints its IP address on the LED matrix.Visit that IP from any browser on the same network, and boom — you see this UI:
⏰ Clock Mode button
- ⏰ Clock Mode button
💬 Message Mode input + send button
- 💬 Message Mode input + send button
No app needed. Just Wi-Fi.
🧪 Testing It:- I powered it via USB
- LED matrix lit up — showed “Connecting…”
- Then “192.168.xx.xx” appeared
- Opened browser → typed IP → Web interface loade
- Typed “Hello Hackster!” → It scrolled on the matrix
- Switched to Clock Mode → Time appeared with blinking colon
Comments
Please log in or sign up to comment.