LEDWall
FastLED-Based LED Wall as Clock/Alarm Clock/Decoration/Mood Light
A fellow Maker created this beautiful video: https://www.youtube.com/watch?v=E3wuyTViBlI&t=
Thank you very much!
Also check out the other branches of this project!
HowTo
-
Install necessary libraries
-
Acquire ESP8266
-
Upload Sketch data
-
Settings Ardino File (top part of file)
-
Flash program
-
Connect FasLED-compatible (e.G. WS2812) LED strip to µC
- See https://www.mschoeffler.de/2017/08/24/how-to-control-an-led-pixel-strip-ws2812b-with-an-arduino-and-the-fastled-library/ for example
- I had problems with a resistor in the data line, as often suggested, so directly connect data ESP data pin to LED strip data pin
- Propably caused by signal being only 3V -> ESP
-
Power LED strip with 5V
-
Power ESP8266 MCU via 5V from LED strip
-
...
-
PROFIT
-
ESP opens it's own WiFi-AP
- Connect to it
- Go to 192.168.4.1
- Connect to your WiFi
-
Now you can connect to the ESP via it's IP, mDNS (ledwall.local) or it's hostname (ledwall.fritz.box) via your home router (Propably best, as Android does not like mDNS and IP is via DHCP)
-
Set brightness and speed via sliders on Main Page
-
"Alarm Settings" to set up light alarm
-
Set Color via "Solid Color"
-
Effects with the other buttons
Explanatory Images
Demo:
Alarm Clock:
Wiring:
Basic WebInterface:
Alarm Clock Settings:
Color Picker:
Needs:
- ESP8266 board library (perhaps works with ESP32 as well, don't know)
- Provided Font library in the Arduino library folder
- WiFiManager
- ArduinoJson 6.X
- WebSocketsServer
- ArduinoOTA (iirc provided with ESP libraries)
- Timezone
- THE GREAT FastLED-Library
- Time
- Propably more, that I forgot
Resources (THANK YOU!)
- Fonts: https://www.mikrocontroller.net/topic/54860
- Color Selctor: https://github.com/russp81/LEDLAMP_FASTLEDs
- Using http://jscolor.com/
- Effects:
- https://github.com/jasoncoon/SmartMatrix-FastLED-Examples/blob/master/Fire1/Fire1.ino
- https://gist.github.com/kriegsman/36a1e277f5b4084258d9af1eae29bac4
- Some more, that I do not remember right now
- Webinterface: https://randomnerdtutorials.com/esp8266-web-server/
- Single pixel drawing webinterface: https://rayshobby.net/wordpress/wifi-color-led-matrix/
ToDo
-
Alarm Clock with Weekday settings
- Possibly more than one alarm
-
Via Browser settable AutoBrightness
-
Let Firework escape from the WDT
Untested
- Vertical clock layout (Hour over Minute instead of Hour:minute)
- Matrix-Layouts other than serpent layout
FAQ
- The matrix here is set to 10x20, but I want 30x8 as in the pictures?
- Set the matrix dimensions to 30x8
- Take the more fitting font
#include <Font6x8_meins_nodemcu_v.h>
- If you want the blinking colon between hours and minutes, as there is enough space for that with a 30x8 matrix
#define drawColon true