ESP32-C3 firmware that drives a WS2812B LED strip and is controlled remotely over MQTT.
- Nologo ESP32C3 Super Mini
- WS2812B LED strip (200 pixels), data pin on GPIO5
- Board: ESP32 Arduino -> Nologo ESP32C3 Supermini
- Settings: Hardware CDC and JTAG: Disabled, Enabled, Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS), 160MHz (WiFi), QIO, 80MHz, 921600, None, Disabled
- Port: e.g.
/dev/ttyACM0
Set your Wi-Fi and MQTT broker details at the top of led-strip.ino:
const char* ssid = "";
const char* password = "";
const char* mqttServer = "";| Topic | Payload | Description |
|---|---|---|
esp32/led-strip/color/R |
0-255 |
Red channel |
esp32/led-strip/color/G |
0-255 |
Green channel |
esp32/led-strip/color/B |
0-255 |
Blue channel |
esp32/led-strip/brightness |
0-255 |
Brightness |
esp32/led-strip/power |
1/ON/true or other |
Turn the strip on/off |