Realtime Lighting Control using sACN, ESP32, and WLED (Patreon)
Content
Hi lovely Patreons!
Lots of my previous projects have used an Arduino or ESP32 to control WS2812B LEDs using the FastLED library, e.g.
https://www.patreon.com/posts/magic-glyph-129787708
https://www.patreon.com/posts/orbital-escape-109970949
https://www.patreon.com/posts/christmas-lights-117644498
https://www.patreon.com/posts/connections-rfid-112252023
This works great for effects that provide direct feedback based on the state of the controller, but it doesn't scale to room-scale lighting, and limits the possibilites for more complex animations and effects.
In this video, I'm going to explain an alternative method for LED lighting effects to be manipulated in realtime and streamed as DMX data over Ethernet using the sACN (E1.31) protocol. Rather than calculating any lighting patterns itself, the ESP32 (or other MCU) then only needs to receive the data and stream it out to the LEDs - acting as a "dumb" lighting node.
This approach is much more aligned with how lighting is typically controlled in theatres, clubs, and live concerts, and there are many very comprehensive professional commercial software packages that can stream sACN data. However, there's also great free software including QLC+, xLights, and Jinx! which can send sACN data to be received on ESP32 running WLED.
Instead of reflashing firmware onto the controller every time you want a lighting change, this means you can:
Create complex animations (up to 40,000 LEDs)
Scaled across multiple rooms - Synchronised between fixtures
Manipulated in realtime from one PC
I honestly believe that the future of escape rooms lies in adapting to use more theatrical techniques, and this is one example of a step that can be taken towards that. It also opens up possibilities for even more impressive, more immersive, creative lighting effects such as projection mapping (which I'm hoping to cover in a future project, if anyone's interested).
If you have any questions or comments or want to discuss anything about lighting (or anything else!), I'd love to hear from you, and probably the best place to do that is to head over to Discord: https://discord.gg/76kDFjuZ (you can try messaging me on Patreon, but it's a very clunky system!)
Otherwise, I hope you find this useful, and please enjoy!