/ledstrip

Control an RGBW LED strip with ESP8266.

Primary LanguageC++GNU General Public License v3.0GPL-3.0

ledstrip

An IoT project to control a multi-colored (RGBW) LED strip for decoration and home lighting. Using the ESP8266 chip, it serves a web page one can use to control the light.

The LED strip used is SK6812. It has strict timing requirements down to 150 ns level. Thus assembler commands had to be used to control it fast enough. On the physical side, the I/O of ESP8266 is 3.3 V whereas the LED strip uses 5 V. A "sacrificial LED" technique was used to pump up the signal level to a theoretical 4.3 V for the other LEDs, as a traditional level shift circuit did not work.