Main Content

Control an RGB LED strip using ESP32 hosting an HTTP server written in Arduino framework. Works in local network and through the internet.

Introduction
In this tutorial I will show you how to create web browser controlled WS2812 LED strip using ESP32 and Arduino IDE.

ESP32 is running an HTTP server and each time you click a button the theme is changed. That HTTP server is accessible both through a local network and the internet.

By default 5 LED themes are available:

- rainbow
- white shine
- red shine
- only white
- off

But you can easily add any theme you can imagine (and code :) ).

In the source code we use separate FreeRTOS tasks to handle HTTP server and LED strip theme - thanks to that code is clear, easy to understand and modify.”

Link to article