Skip to Content

RGB LED 5MM

5 mm RGB LED (4‑Pin Through‑Hole)

Overview

A classic 5 mm RGB LED, combining red, green, and blue light emitters in a single package—perfect for adding full-color effects to electronic projects. Compatible with Arduino, ESP32, Raspberry Pi, and other microcontrollers. Use PWM control to mix colors and create custom lighting effects.

Key Features

  • 4-pin through-hole: common anode or common cathode versions

  • Diffused lens for smooth color blending

  • Individual forward voltages: approx. 2.0 V (red), 3.2 V (green/blue) 

  • Typical max current: 20 mA/color, combined up to ~60 mA

  • 60° viewing angle; durable plastic housing

  • Lifespan: 50,000+ hours

Technical Specifications

ParameterValue
Diameter5 mm
Pins4 (1 common + 3 color pins)
Forward VoltageRed: 2.0 V; Green/Blue: 3.2 V
Current per LEDMax 20 mA
Viewing Angle~60°
LED TypeDiffused

Wiring with Arduino UNO (Common Cathode Example)

LED PinArduino Connection
Common (longest)GND
RedPWM pin ~11 via 270 Ω resistor
GreenPWM pin ~10 via 270 Ω resistor
BluePWM pin ~9 via 270 Ω resistor

Use analogWrite() on each pin to mix RGB colors via PWM.

Applications

  • Indicator lights and status displays

  • RGB fading effects and animations

  • Mood lighting and color mixing experiments

  • Visual output in interactive electronics

  • Learning PWM and LED control techniques

Resources

5.00 LE 5.00 LE

This combination does not exist.

led