

The 5mm Red/Green LED (Common Cathode) is a dual-color light-emitting diode that can emit either red or green light. It features a common cathode configuration, meaning both LEDs share a single cathode pin, simplifying circuit design and control. This component is widely used in status indicators, signal displays, and decorative lighting applications due to its compact size and dual-color functionality.








Below are the key technical details for the 5mm Red/Green LED (Common Cathode):
| Parameter | Value |
|---|---|
| LED Type | Dual-color (Red/Green) |
| Package Size | 5mm |
| Forward Voltage (Red) | 1.8V - 2.2V |
| Forward Voltage (Green) | 2.0V - 2.4V |
| Forward Current | 20mA (per LED) |
| Viewing Angle | 30° - 45° |
| Cathode Configuration | Common Cathode |
| Maximum Power | 50mW |
The 5mm Red/Green LED (Common Cathode) has three pins. The table below describes each pin:
| Pin Number | Pin Name | Description |
|---|---|---|
| 1 | Anode (Red) | Connect to the positive terminal for red light. |
| 2 | Cathode | Common cathode, connect to ground (GND). |
| 3 | Anode (Green) | Connect to the positive terminal for green light. |
Below is an example of how to connect and control the 5mm Red/Green LED (Common Cathode) using an Arduino UNO:
// Define pin numbers for the red and green anodes
const int redPin = 9; // Red LED anode connected to pin 9
const int greenPin = 10; // Green LED anode connected to pin 10
void setup() {
// Set the LED pins as output
pinMode(redPin, OUTPUT);
pinMode(greenPin, OUTPUT);
}
void loop() {
// Turn on the red LED and turn off the green LED
digitalWrite(redPin, HIGH); // Red LED ON
digitalWrite(greenPin, LOW); // Green LED OFF
delay(1000); // Wait for 1 second
// Turn on the green LED and turn off the red LED
digitalWrite(redPin, LOW); // Red LED OFF
digitalWrite(greenPin, HIGH); // Green LED ON
delay(1000); // Wait for 1 second
}
Neither LED Lights Up:
Only One LED Lights Up:
LEDs Are Dim:
LED Flickers:
Q: Can I light up both colors simultaneously?
A: Yes, you can light up both colors by applying voltage to both anodes simultaneously. However, the resulting color will be a mix of red and green, appearing yellowish.
Q: Can I use this LED without resistors?
A: No, resistors are essential to limit the current and prevent damage to the LEDs.
Q: What happens if I reverse the polarity?
A: LEDs are polarity-sensitive. Reversing the polarity may prevent the LED from lighting up or, in some cases, damage the component.
Q: Can I control this LED with a microcontroller?
A: Yes, the 5mm Red/Green LED (Common Cathode) can be easily controlled using microcontrollers like Arduino, Raspberry Pi, or others.
By following this documentation, you can effectively use the 5mm Red/Green LED (Common Cathode) in your projects and troubleshoot common issues with ease.