5mm RGB LED: Mix Any Colour From Three PWM Pins

5mm RGB LED (4-Pin)

Rs. 15 - In stock - SKU ABH-LEDS-0607 - Brand Generic

A 5mm 4-pin RGB LED with red, green and blue chips in one lens. Drive each with PWM to mix colours for indicators and mood lights.

Delivery anywhere in Pakistan for a flat Rs. 250 paid in advance, product price Cash on Delivery. 7-Day Checking Warranty.

Key features

Specifications

Diameter5mm
Pins4 (R, G, B, Common)
Forward VoltageR:2.0V, G/B:3.2V
Notes20mA/channel

What's in the box

Use cases

Description

What it is

Three LEDs in one package sharing a common pin. The longest leg is the common pin (cathode or anode depending on type).

How to use it

Use a separate resistor for each colour: about 220Ω for red and 150Ω for green and blue on 5V. Connect each colour to a PWM pin and use analogWrite to set its brightness.

Good to know

Common cathode connects the long leg to GND; common anode connects it to VCC and inverts the PWM. Write your preference in the order notes.

Frequently asked questions

How do I find the common pin?

It is the longest leg.

Why do I need three resistors?

Each colour has a different forward voltage, so each needs its own resistor.

What is common anode vs common cathode?

Common cathode connects the shared pin to ground; common anode connects it to VCC and the colour pins sink current.

Related products

All LEDs, Buzzers & Optoelectronics