DEV Community

Bit to Build
Bit to Build

Posted on

Build a Smart Clock with ESP32 and WLED — The DIY Smart Lamp That Actually Works

🚀 Want a LED clock YOU control? ESP32 + WLED makes it happen!

So LED strips are everywhere — but what if yours could change colors with time, show temperature, or even wake you up with a light show? That's what this project is all about!

🔧 What is WLED?

It's open-source firmware for ESP32 that turns addressable LEDs (WS2812B) into something magical — over 100 built-in effects, color palettes, and music-reactive patterns you can control right from your browser.

📦 What you need

  • ESP32 board (Wemos D1 Mini works great)
  • WS2812B LED strip
  • DS3231 RTC module for accurate timekeeping
  • PIR sensor to detect motion and save power
  • DHT11 for temperature & humidity

✨ The cool stuff

  • Customize effects via web UI
  • Integrates with Home Assistant
  • Set multiple alarms with sound + light combos
  • 3D print your own enclosure — totally custom!

💡 Ideas to extend

Turn it into an ambient lamp for your bedroom, or wire it to a gaming setup for color-reactive lighting. The possibilities are endless!

📚 Resources

Top comments (0)