Drivers and actuators

WLED LED Strip Controller (ESP32)

An ESP32-based WLED firmware controller for addressable LED strips like WS2812B, controlled over WiFi from a browser or mobile app.

Drivers and actuators WLEDLED stripESP32addressable LEDWiFi ESP32

Official path: https://oshwhub.com/xpya/WLED

01 Overview

WLED is an open-source LED control firmware running on ESP32, supporting addressable strips such as WS2812B and SK6812.

The board carries an ESP32 module with a GPIO output for LED data; power input is 5V or 12V depending on the strip.

Once on WiFi, the strip is controlled from a web page or mobile app for effects, color, and brightness.

Ideal for home ambiance lighting, decorative installations, and rapid prototyping without additional hardware.

This is not a general-purpose dev board; it is optimized for LED control and not intended for other I/O expansion.

02 Hardware

MCU: ESP32 family module (e.g., ESP32-WROOM-32) with integrated WiFi and Bluetooth.

LED data pin: default GPIO2 (check silkscreen on the board).

Power: 5V input, on-board regulator to 3.3V for the ESP32; LED strip power must be external.

Programming: USB or pin headers for flashing and debugging.

Strip connection: 3P or 4P terminal with VCC, GND, DATA; mind voltage levels.

Level shifting: if the strip expects 5V data, add a level shifter or use 3.3V-compatible strips.

Power design: high-current strips need a separate supply; avoid ground loops with the ESP32.

Layout: keep data traces short and away from power lines to reduce interference.

03 Software flow

Flash the official WLED firmware from GitHub releases using esptool or the web installer.

On first boot, enter AP mode and connect to the WLED-AP hotspot to configure WiFi.

Configure LED type, count, and data pin (default GPIO2).

Use the web UI or mobile app to control effects, brightness, color, and presets.

OTA updates are supported, so future firmware upgrades don't require rewiring.

Advanced features like schedules or sound reactivity can be enabled with additional hardware.

04 Core points

No additional core modules; single ESP32 MCU.

Remember: the strip must have its own power supply; the on-board regulator only powers the ESP32.

Data pin voltage may not match 5V strips; verify or add level shifting.

Different strip protocols (e.g., WS2812B vs SK6812) have different timings; select the correct type in config.

WiFi interference can affect control; adjust channel or use wired connection if needed.

Do not reverse the strip power polarity to avoid damaging the board.

中文

驱动与执行

WLED 灯带控制器(ESP32)

基于 ESP32 的 WLED 固件灯带控制器,支持 WS2812B 等可寻址 LED,通过 WiFi 网页或手机 App 控制。

驱动与执行 WLEDLED stripESP32addressable LEDWiFi ESP32

官方路径: https://oshwhub.com/xpya/WLED

01 项目概述

WLED 是开源 LED 控制固件,运行在 ESP32 上,支持 WS2812B、SK6812 等可寻址灯带。

板载 ESP32 模组,引出 GPIO 用于数据输出,供电 5V/12V 可选。

通过 WiFi 接入局域网,浏览器或手机 App 即可控制灯效、颜色和亮度。

适用于家居氛围灯、装饰照明、小型项目原型,无需额外硬件即可快速部署。

这不是一个通用开发板,而是专为 LED 控制优化的固件载体,不适合作为通用 IO 扩展使用。

02 项目硬件描述

主控:ESP32 系列模组(如 ESP32-WROOM-32),内置 WiFi 和蓝牙。

LED 数据引脚:默认 GPIO2(板子丝印标注,请以实物为准)。

供电:5V 输入,板载稳压至 3.3V 供 ESP32;灯带电源需外接。

接口:USB 或排针用于烧录和调试。

灯带连接:提供 3P 或 4P 端子,包含 VCC、GND、DATA,注意电平匹配。

电平转换:若灯带数据电平为 5V,建议加电平转换或使用 3.3V 兼容灯带。

电源设计:灯带电流大,需独立电源,避免与 ESP32 共地干扰。

布局注意:数据线尽量短,远离电源走线,减少信号干扰。

03 项目软件流程描述

烧录 WLED 固件(GitHub 官方发布版),使用 esptool 或浏览器 Web 安装器。

首次上电进入配网模式,手机连接 WLED-AP 热点配置 WiFi。

配置 LED 类型、数量、数据引脚(默认 GPIO2)。

网页 UI 或 App 控制灯效、亮度、颜色和预设场景。

支持 OTA 更新,后续固件升级无需重新接线。

可设置定时任务、麦克风联动等高级功能(需额外硬件)。

04 项目核心点

无额外核心模块,纯 ESP32 主控。

注意灯带供电必须外接,板载稳压仅给 ESP32 使用。

数据引脚电平可能不匹配 5V 灯带,需确认或加转换。

不同灯带协议(如 WS2812B vs SK6812)时序不同,配置时需选择正确型号。

WiFi 干扰可能影响灯带控制,必要时调整通道或使用有线连接。

请勿将灯带电源反接,以免损坏板载电路。