Linux Format

Build light shows with multi-coloured LEDs

Credit: https://kno.wled.ge

T his month we’ll be looking at the WLED firmware and what it’s used for. We’ll be building a project that features LEDs being controlled via a web interface and home automation software. We’ll also discover ways to make the lights react to music.

This type of LED are commonly known as NeoPixels. They’re strung together and are usually multicoloured and can be addressed individually. Versions of the LEDs are available that take different input voltages and they can all be controlled in the same way. NeoPixel is the name given to this style of LEDs by Adafruit (that offers a wide- -range of models), but the same driver is used for a large number of them (WS2811/WS2812), whoever the manufacturer or supplier happens to be. Models are available with separate RGB channels, so that any colour can be made by mixing the values (think of HTML colours). Furthermore, some have a Wchannel as well, which is an LED that outputs white light.

WLED is open source firmware, which can be installed on ESP8266 and ESP32 microcontroller boards. The ESP8266 is the older board of the two and has lower processor power. The ESP8266 is powerful enough to run the firmware and a smaller number of LEDs. When considering a larger number of LEDs, it’s a good idea to spend a little extra money on an ESP32 board. When installed, configuration takes place using an integrated web interface, integration with Home Assistant, or the lights can be controlled with software so that they react to music being played on a PC.

In this tutorial, we’ll install on an ESP8266, NodeMCU board, investigate the web interface, briefly talk about the

You’re reading a preview, subscribe to read more.

More from Linux Format

Linux Format1 min read
Kaki Pi
Another Pi-like SBPC appears! From Yuridenk-Shokai in Japan, this packs a Renesas RZ/V2H Coretex-A55/R8/M33 MPU with 80 TOPS of AI. It’s aimed at robotics and has four CSI video inputs along with a PCIe 3 connection. Find out more in Japanese: www.ka
Linux Format11 min readInternet & Web
Ultra-smooth Home Game Streaming
Credit: https://moonlight-stream.org, https://github.com/LizardByte Michael Reed is a consummate Linux professional who has been moonlighting for us so that he can live in the sunshine. (are we actually paying for these gags?–Ed) You can install the
Linux Format1 min read
Nvidia Moves To Block ZLUDA
As more and more applications rely on the combination of Nvidia and CUDA, it was inevitable that third-parties would try to build on their success. There’s already examples of this, such as ZLUDA, a drop-in replacement for CUDA. The implications of

Related Books & Audiobooks