RGB LED 5 mm, diffused, common anode
One light that can show any color by mixing red, green and blue.
Three LEDs (R 630 nm, G 525 nm, B 460 nm) in one diffused package. Common anode: the long leg goes to + and each color pin is pulled LOW through its own resistor to light (PWM inverted). Red 1.9-2.3 V, green and blue 3.0-3.4 V at 20 mA.
Electrical
- Supply voltage
- 1.9 to 3.4 V
- Current
- 15 mA typical, 20 mA max
- Talks over
- pwm
Needs alongside it
- One resistor per color: about 150 Ω for red, 100 Ω for green and blue at 5 V.
Pins
| Pin | Can do | Max V | Max mA |
|---|---|---|---|
| R | digital, PWMRed cathode. LOW = on. | ||
| ANODE | 3.3 V, 5 VLongest leg, to 5 V (3.3 V makes blue and green dim). | ||
| G | digital, PWMGreen cathode. LOW = on. | ||
| B | digital, PWMBlue cathode. LOW = on. |
Size and material
- Size
- 6 × 9 × 6 mm
- Material
- led
- Sold by the
- piece
Works with
- Arduino Uno R3
- Arduino Nano
- Arduino Mega 2560 Rev3
- Arduino UNO R4 WiFi
- Arduino UNO R4 Minima
- Arduino Nano ESP32
- ESP32 DevKitC (ESP32-WROOM-32, 38-pin)
- ESP32-S3-DevKitC-1 (N8R8)
- Adafruit ESP32-S3 Feather (4 MB flash, 2 MB PSRAM)
- Seeed XIAO ESP32S3 Sense (camera + mic)
- Seeed XIAO ESP32C3
- Seeed XIAO ESP32C6
- Raspberry Pi Pico (RP2040)
- Raspberry Pi Pico W (RP2040, Wi-Fi)
- Raspberry Pi Pico 2 (RP2350)
- Raspberry Pi Pico 2 W (RP2350, Wi-Fi)
- Seeed XIAO RP2040
- Seeed XIAO nRF52840 (Bluetooth LE)
- Raspberry Pi 5 (4 GB)
- Raspberry Pi 4 Model B (4 GB)
- Raspberry Pi Zero 2 W
Projects using it
No public project uses it yet. Design one that does.