

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, or decorative purposes. 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 to 2.2V |
| Forward Current (If) | 20mA (typical), 30mA (maximum) |
| Reverse Voltage (Vr) | 5V (maximum) |
| Power Dissipation | 60mW |
| Wavelength | 585nm to 595nm (yellow light) |
| Viewing Angle | 20° to 30° |
| Operating Temperature | -40°C to +85°C |
| Storage Temperature | -40°C to +100°C |
The yellow two-pin LED has the following pin configuration:
| Pin | Description |
|---|---|
| Anode (+) | The longer pin of the LED. Connect this to the positive terminal of the circuit. |
| Cathode (-) | The shorter pin of the LED. Connect this to the negative terminal or ground. |
Note: If the pins are trimmed or difficult to distinguish, the flat edge on the LED casing indicates the cathode (-).
Determine the Resistor Value: To prevent damage, always use a current-limiting resistor in series with the LED. Calculate the resistor value 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:
Power the Circuit: Apply the supply voltage, and the LED will emit yellow light.
Below is an example of how to connect and control a yellow LED using an Arduino UNO:
// This code blinks a yellow LED connected to pin 9 of the Arduino UNO.
// Ensure a 220Ω resistor is used to limit current to the LED.
const int ledPin = 9; // Define the pin connected to the LED
void setup() {
pinMode(ledPin, OUTPUT); // Set the LED pin as an output
}
void loop() {
digitalWrite(ledPin, HIGH); // Turn the LED on
delay(1000); // Wait for 1 second
digitalWrite(ledPin, LOW); // Turn the LED off
delay(1000); // Wait for 1 second
}
LED Does Not Light Up:
LED is Dim:
LED Burns Out Quickly:
LED Flickers:
Q: Can I connect the LED directly to a 3.3V or 5V supply?
A: No, always use a current-limiting resistor to prevent damage to the LED.
Q: How do I adjust the brightness of the LED?
A: Use a lower-value resistor for higher brightness (within safe limits) or use PWM (Pulse Width Modulation) with a microcontroller like Arduino.
Q: Can I use this LED for AC circuits?
A: LEDs are designed for DC circuits. For AC applications, use a rectifier circuit to convert AC to DC.
Q: What happens if I exceed the maximum forward current?
A: Exceeding the maximum current can permanently damage the LED or significantly reduce its lifespan.
This documentation provides all the essential details to effectively use and troubleshoot a yellow two-pin LED in your projects.