RGB LED (common anode) with ESP32

Supply 3.3 V Bus GPIO
R+GB

Pins and ESP32 wiring

PinRoleESP32 pinNotes
RInput (the ESP32 drives it)D25Red, through a 220 Ω resistor. LOW = on
+Power3V3Longest leg, common anode: to 3V3
GInput (the ESP32 drives it)D26Green, through a 220 Ω resistor. LOW = on
BInput (the ESP32 drives it)D27Blue, through a 220 Ω resistor. LOW = on

Suggested wiring for the 30-pin ESP32 DevKit, avoiding flash, input-only and strapping pins. BoardPilot checks it for you as you wire.

Sources

Try it in 3D in BoardPilot

BoardPilot Part data (JSON)

Related parts

Part data: CC BY 4.0, free to reuse with credit to BoardPilot.