Web controler hosted on an ESP32 to control WS2812b leds using a web browser.
Web page and program for controling WS2812b leds using the FastLED library
This project was made for an ESP32 using PlatformIO as compiler and programer and WebStorm for the web page developpment
This project aims to develop a fast and easy to use interface made for performance.
- Clone the repository
- Create a
login.h
file in theinclude
folder with the following content:
#ifndef LOGIN_H
#define LOGIN_H
//For AP mode
#define HOSTNAME "hostname"
#define AP_PASSWORD "ap-password"
//For STA mode
#define WIFI_SSID "ssid"
#define WIFI_PASSWORD "password"
#endif
-
You can tweak the parameters in the
params.h
file to change the XY stick numbers. -
Program the ESP32 using platformIO
-
Depending on the wifi mode you selected, the ESP32 will either create an access point or connect to your wifi network. You can then access the web page by going to the IP address of the ESP32 (you can find it in the serial monitor)