

A yellow light-emitting diode (LED) is a semiconductor device that emits yellow light when an electric current flows through it. This two-pin LED is widely used in electronic circuits for status indication, visual signaling, and decorative lighting. Its compact size, low power consumption, and long lifespan make it a versatile component in various applications.








Below are the key technical details for the yellow two-pin LED:
| Parameter | Value |
|---|---|
| Forward Voltage (Vf) | 2.0V - 2.2V |
| Forward Current (If) | 20mA (typical) |
| Maximum Current (Imax) | 30mA |
| Wavelength | 590nm (yellow light) |
| Viewing Angle | 20° - 30° |
| Power Dissipation | 60mW (maximum) |
| Operating Temperature | -40°C to +85°C |
| Storage Temperature | -40°C to +100°C |
The yellow LED has two pins, as described below:
| Pin | Description |
|---|---|
| Anode (+) | The longer pin, connected to the positive terminal. |
| Cathode (-) | The shorter pin, connected to the negative terminal. |
Note: The flat edge on the LED casing corresponds to the cathode (-) pin.
Determine the Resistor Value: To prevent damage, always use a current-limiting resistor in series with the LED. The resistor value can be calculated using Ohm's Law: [ R = \frac{V_{supply} - V_f}{I_f} ] Where:
For example, with a 5V supply: [ R = \frac{5V - 2.1V}{0.02A} = 145\Omega ] Use the nearest standard resistor value, such as 150Ω.
Connect the LED:
Test the Circuit: Power the circuit and observe the yellow light emitted by the LED.
Below is an example of how to connect and control a yellow LED using an Arduino UNO:
// Define the pin connected to the LED
const int ledPin = 9;
void setup() {
// Set the LED pin as an output
pinMode(ledPin, OUTPUT);
}
void loop() {
// Turn the LED on
digitalWrite(ledPin, HIGH);
delay(1000); // Wait for 1 second
// Turn the LED off
digitalWrite(ledPin, LOW);
delay(1000); // Wait for 1 second
}
Tip: Modify the
delay()values to change the blinking speed of the LED.
LED Does Not Light Up:
Cause: Incorrect polarity.
Solution: Ensure the anode (+) is connected to the positive terminal and the cathode (-) to ground.
Cause: No current-limiting resistor.
Solution: Add a resistor in series with the LED to limit the current.
LED is Dim:
LED Burns Out:
Flickering LED:
Q: Can I connect the LED directly to a 3.3V or 5V power supply?
A: No, you must use a current-limiting resistor to prevent excessive current from damaging the LED.
Q: How do I control the brightness of the LED?
A: Use PWM (Pulse Width Modulation) from a microcontroller like Arduino to adjust the brightness.
Q: Can I use this LED with a 12V power supply?
A: Yes, but you must calculate and use an appropriate resistor to limit the current.
Q: What happens if I reverse the polarity of the LED?
A: The LED will not light up, but it typically won't be damaged unless exposed to high reverse voltage.
By following this documentation, you can effectively use the yellow two-pin LED in your electronic projects!