Sy

WLED
Light system combining WLED and Ambilight

(2025)


1. PRESENTATION

This project is to mix together the Synlight project and a WLED controller.

I wasn't about to dive into the WLED's source code to add my (as of yet) vaguelly defined fonctionalities. I instead use a TS5A3159 analog switch to select which one of the two ESP32 controllers should drive the leds. One ESP32 controller runs WLED, the other runs Synlight.


2.PARTS


3. Schematic and board

Schematic
Click to view the full size

Board
Click to view the full size


3. How

The ESP32 running the Synlight code is concidered the master of the system. On top of the Ambilight part, it will react to a press of the button or to the distance sensor activating by incrementing the mode, from 0 to 2 and back to 0.

For the default mode, mode 0, the Synlight controller will select itself to drive the LEDs and will turn them off if no Ambilight signal is received. For mode 1, it will turn the LEDs on to a warm white. For mode 2, the controller will change the signal at the SELECT pin of the selection chip to let the WLED controller drive the LEDs. When pressing the button of triggering the distance sensor, the mode goes back to 0. The mode also goes back to 0 if an Ambilight signal is received, no matter what.