Semiconductors · LEDs and lights
LED 5 mm green
Green indicator LED. Needs a series resistor.
GreenColour / type
About 2.0 V (yellow-green) or 3.0 V (pure green)Forward voltage
20 mA continuousMax continuous current
5 mm through-holePackage
Long leg anode (+); flat edge cathode (−)Polarity
Get this part
In short
What is the LED 5 mm green and what is it used for?
Green indicator LED. Needs a series resistor. Makers use it for traffic lights, status.
In the real world
Power and OK lights
How it works
Green LEDs have a forward voltage of about 2 to 3 V depending on type.
Key specifications
| LED and switch spec | Value |
|---|---|
| Colour / type | Green |
| Forward voltage | About 2.0 V (yellow-green) or 3.0 V (pure green) |
| Max continuous current | 20 mA continuous |
| Package | 5 mm through-hole |
| Polarity | Long leg anode (+); flat edge cathode (−) |
Pinout
Long legAnode (+)
Short leg, flat sideCathode (−)
How to use it
Always in series with a resistor: 220 Ω from 5 V gives about 10 to 14 mA. Use the LED resistor tool for other supplies.
void setup() { pinMode(8, OUTPUT); }
void loop() {
digitalWrite(8, HIGH); delay(500);
digitalWrite(8, LOW); delay(500);
}Applications
Status lightsTraffic light builds
Builds that use it
Guided build
Traffic light with crossing button
Guided build
RFID door log
Guided build
Desk motion counter
Guided build
Water level indicator
Guided build
Two-player reaction game
Guided build
LPG gas leak alarm
Guided build
PIR intruder alarm with arm button
Guided build
Fingerprint door lock
Showing 8 of 116
Alternatives
- LED 5 mm redRed, lower forward voltage
Common questions
What is the LED 5 mm green used for?
In products: power and OK lights. In maker projects: traffic lights, status.
How does the LED 5 mm green work?
Green LEDs have a forward voltage of about 2 to 3 V depending on type.
What voltage does the LED 5 mm green need?
About 2.0 V (yellow-green) or 3.0 V (pure green).
What can I use instead of the LED 5 mm green?
LED 5 mm red.
