LED 5 mm yellow
Yellow indicator LED. Needs a series resistor.
Colour / typeYellow
Forward voltageAbout 2.0 to 2.2 V
Max continuous current20 mA continuous
Package5 mm through-hole
SemiconductorsReviewedMPN 5 mm yellow LEDUsed in 36 projects
In short
What is the LED 5 mm yellow and what is it used for?
Yellow indicator LED. Needs a series resistor. Makers use it for traffic lights, status.
In the real world
Warning lights
How it works
Yellow LEDs have a forward voltage of about 2 V.
Key specifications
| LED and switch spec | Value |
|---|---|
| Colour / type | Yellow |
| Forward voltage | About 2.0 to 2.2 V |
| 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 13 mA.
void setup() { pinMode(9, OUTPUT); }
void loop() {
digitalWrite(9, HIGH); delay(500);
digitalWrite(9, LOW); delay(500);
}Applications
Warning lightsTraffic light builds
Builds that use it
Guided build
Traffic light with crossing button
Guided build
Water level indicator
Guided build
Two-player reaction game
Guided build
Indoor air quality monitor with MQ-135
Guided build
Classroom CO2 traffic light
Guided build
TV remote code reader
Guided build
Simon memory game
Guided build
Pocket logic probe
Showing 8 of 36
Alternatives
- LED 5 mm redRed
Common questions
What is the LED 5 mm yellow used for?
In products: warning lights. In maker projects: traffic lights, status.
How does the LED 5 mm yellow work?
Yellow LEDs have a forward voltage of about 2 V.
What voltage does the LED 5 mm yellow need?
About 2.0 to 2.2 V.
What can I use instead of the LED 5 mm yellow?
LED 5 mm red.
