How To Control NeoPixels With WLED

Control NeoPixels With WLED
(Image credit: Tom's Hardware)

NeoPixels, or to give them their formal name WS2812B RGB LEDs are candy for makers. They produce pleasing light shows and can be controlled by nearly every microcontroller, we’ve even controlled them using a Raspberry Pi Pico and the BASIC programming language.

Writing code to control NeoPixels isn’t difficult, but what if you just want to bring a little light into your home or workplace, and control it all from the browser? For that we look to WLED, a feature-rich web server for the ESP8266 and ESP32 that enables us to have ultimate control of many different RGB LEDs.

Latest Videos FromTom's Hardware
Les Pounder
Associate Editor

Les Pounder is an associate editor at Tom's Hardware. He is a creative technologist and for seven years has created projects to educate and inspire minds both young and old. He has worked with the Raspberry Pi Foundation to write and deliver their teacher training program "Picademy".

  • barthchris
    Nice tutorial! I've set up WLED on many different but compatible ESP-based MCs. Works well and it's a super easy way to control neopixels, its lightyears more versatile and much easier than Arduino libraries such as FastLED! one thing that may create a headache if following this without prior experience is after flashing WLED, successfully connecting to the WLED app GUI, then navigating to options, LED setup. The screenshot shown here under hardware setup shows GPIO 2. If using a wemos D1 mini and the user has soldered the data line exactly to D4 as shown in the fritzing image at the beginning of the article then the GPIO will need to be changed to GPIO D4 vs leaving it assigned to GPIO 2 because it won’t work without knowing what GPIO to send the data signal to.
    Reply