

A Light Emitting Diode (LED) is a semiconductor device that emits light when an electric current flows through it. This specific LED emits yellow light, making it ideal for applications requiring visual indicators or decorative lighting. Its compact size, low power consumption, and long lifespan make it a popular choice in electronics projects.








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 - 595nm (Yellow light) |
| Viewing Angle | 20° - 30° |
| Power Dissipation | 60mW |
| Operating Temperature | -40°C to +85°C |
The Yellow Two-Pin LED has two terminals:
| Pin | Description |
|---|---|
| Anode (+) | The longer pin, connected to the positive terminal of the power supply or circuit. |
| Cathode (-) | The shorter pin, connected to the negative terminal or ground. |
Note: If the pins are trimmed or indistinguishable, the flat edge on the LED casing indicates the cathode (-).
Determine the Resistor Value: LEDs require a current-limiting resistor to prevent damage. Use Ohm's Law to calculate the resistor value: [ R = \frac{V_{supply} - V_f}{I_f} ]
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.
The Yellow LED can be easily interfaced with an Arduino UNO for various projects. Below is an example of blinking the LED:
// LED Blinking Example for Yellow Two-Pin LED
// Connect the LED anode (+) to pin 13 through a 220Ω resistor
// Connect the LED cathode (-) to GND
void setup() {
pinMode(13, OUTPUT); // Set pin 13 as an output
}
void loop() {
digitalWrite(13, HIGH); // Turn the LED on
delay(1000); // Wait for 1 second
digitalWrite(13, LOW); // Turn the LED off
delay(1000); // Wait for 1 second
}
Tip: Adjust the
delay()values to change the blinking speed.
LED Does Not Light Up:
LED is Dim:
LED Burns Out:
Flickering LED:
Q: Can I use the LED without a resistor?
A: No, using the LED without a resistor can cause excessive current flow, damaging the LED.
Q: What happens if I reverse the polarity?
A: The LED will not light up. In most cases, it will not be damaged unless exposed to high reverse voltage.
Q: Can I use this LED with a 3.3V supply?
A: Yes, but recalculate the resistor value to ensure proper current limiting.
Q: How do I know the LED's polarity if the pins are trimmed?
A: Look for the flat edge on the LED casing, which indicates the cathode (-).
By following this documentation, you can effectively use the Yellow Two-Pin LED in your projects while avoiding common pitfalls.