Stufin
Home Quick Cart Profile

5mm White Yellow Led (Pack of 10)

Buy Now on Stufin

Component Name

5mm White Yellow LED (Pack of 10)

Description

The 5mm White Yellow LED is a high-intensity, dual-color light-emitting diode (LED) component, available in a pack of 10 pieces. This LED is designed to emit a bright, white-yellow light when energized, making it suitable for a wide range of applications, including indicator lights, backlighting, and decorative lighting.

Functionality

The primary function of the 5mm White Yellow LED is to convert electrical energy into visible light. When a forward voltage is applied across the LED, electrons recombine with holes, releasing energy in the form of photons, which are emitted as light. The LED's dual-color design allows it to produce a unique, warm-white to yellowish color, depending on the voltage and current applied.

Key Features

  • Size and Shape: The LED has a round shape with a diameter of 5mm and a height of approximately 4.5mm.
  • Dual-Color Emission: The LED emits a white-yellow light, with a dominant wavelength of around 590-600nm, which falls within the yellow-orange spectrum.
  • High Brightness: The LED has a high luminous intensity, making it suitable for applications where high visibility is required.
  • Low Power Consumption: The LED operates at a low voltage (typically 1.8-2.2V) and current (typically 15-20mA), making it an energy-efficient option.
  • Wide Operating Temperature: The LED is designed to operate within a temperature range of -25C to +85C, making it suitable for use in a variety of environments.
  • Long Lifespan: The LED has a typical lifespan of 50,000 hours or more, depending on operating conditions.
  • Easy Mounting: The LED has a standard lead spacing of 2.5mm, making it easy to mount on printed circuit boards (PCBs) or other substrates.
  • Packaging: The LEDs are packaged in a pack of 10 pieces, each individually wrapped to prevent damage during shipping and storage.

Forward voltage

1.8-2.2V

Forward current

15-20mA

Reverse voltage

5V

Operating temperature

-25C to +85C

Storage temperature

-40C to +100C

Luminous intensity

800-1000mcd

Dominant wavelength

590-600nm

Viewing angle

60

Applications

The 5mm White Yellow LED is suitable for a variety of applications, including

Indicator lights for electronic devices

Backlighting for LCD displays

Decorative lighting for automotive, industrial, or consumer products

Status indicators for machinery or equipment

Signaling devices for safety or warning applications

Pin Configuration

  • Component Documentation: 5mm White Yellow LED (Pack of 10)
  • Overview
  • The 5mm White Yellow LED is a standard through-hole LED component commonly used in various IoT projects and electronic circuits. This component is available in a pack of 10 and is suitable for a wide range of applications, including indicator lights, backlights, and status indicators.
  • Pinout
  • The 5mm White Yellow LED has two pins:
  • ### Pin 1: Anode (Positive Leg)
  • Function: The anode is the positive leg of the LED, where current flows into the device.
  • Identification: The anode pin is typically longer than the cathode pin and may have a slight bend or curvature.
  • Connection: Connect the anode pin to the positive voltage supply or the collector of a transistor (if used as a switch).
  • ### Pin 2: Cathode (Negative Leg)
  • Function: The cathode is the negative leg of the LED, where current flows out of the device.
  • Identification: The cathode pin is typically shorter than the anode pin and may have a flat surface.
  • Connection: Connect the cathode pin to the negative voltage supply or the emitter of a transistor (if used as a switch).
  • Connection Structure
  • To connect the 5mm White Yellow LED, follow these steps:
  • 1. Determine the polarity: Ensure you identify the anode (positive leg) and cathode (negative leg) pins correctly to avoid damaging the LED.
  • 2. Connect the anode: Attach the anode pin to the positive voltage supply or the collector of a transistor (if used as a switch). Use a suitable conductor, such as copper wire or a breadboard, to make the connection.
  • 3. Connect the cathode: Attach the cathode pin to the negative voltage supply or the emitter of a transistor (if used as a switch). Use a suitable conductor, such as copper wire or a breadboard, to make the connection.
  • 4. Add a resistor (optional): If desired, add a current-limiting resistor in series with the LED to control the current and prevent overheating. Calculate the required resistor value based on the LED's forward voltage and the desired current.
  • 5. Verify the connection: Double-check the connections to ensure the LED is connected correctly and the polarity is respected.
  • Important Notes
  • Always handle the LED by the body, avoiding direct contact with the pins to prevent static electricity damage.
  • Use a suitable voltage supply and current-limiting resistor to prevent overheating or damage to the LED.
  • Ensure the LED is connected correctly to avoid reverse bias, which can damage the component.
  • By following these guidelines, you can safely and effectively connect the 5mm White Yellow LED to your IoT project or electronic circuit.

Code Examples

Component Documentation: 5mm White Yellow LED (Pack of 10)
Overview
The 5mm White Yellow LED is a general-purpose Light Emitting Diode (LED) used for indication, backlighting, and decorative lighting applications. This pack of 10 LEDs is suitable for a wide range of projects, from basic electronics to robotics and IoT systems.
Specifications
LED Type: 5mm White Yellow LED
 Voltage: 2.0-2.4V
 Current: 20mA (max)
 Luminous Intensity: 100-150mcd
 Viewing Angle: 60
 Operating Temperature: -25C to +85C
 Storage Temperature: -40C to +100C
Pinout
The 5mm White Yellow LED has two pins:
Anode (Positive): Longer leg
 Cathode (Negative): Shorter leg
Code Examples
Example 1: Basic LED Blinking using Arduino
In this example, we'll use an Arduino Uno board to blink the LED at a rate of 1 Hz.
```c
const int ledPin = 13;  // Choose a digital pin on your Arduino board
void setup() {
  pinMode(ledPin, OUTPUT);  // Set the pin as an output
}
void loop() {
  digitalWrite(ledPin, HIGH);  // Turn the LED on
  delay(500);                 // Wait for 500ms
  digitalWrite(ledPin, LOW);  // Turn the LED off
  delay(500);                 // Wait for 500ms
}
```
Example 2: LED as an Indicator using Raspberry Pi and Python
In this example, we'll use a Raspberry Pi board to turn the LED on and off using Python.
```python
import RPi.GPIO as GPIO
import time
# Set up GPIO mode
GPIO.setmode(GPIO.BCM)
# Set the LED pin as an output
led_pin = 17
GPIO.setup(led_pin, GPIO.OUT)
try:
    while True:
        # Turn the LED on
        GPIO.output(led_pin, GPIO.HIGH)
        time.sleep(1)  # Wait for 1 second
# Turn the LED off
        GPIO.output(led_pin, GPIO.LOW)
        time.sleep(1)  # Wait for 1 second
except KeyboardInterrupt:
    # Clean up GPIO on exit
    GPIO.cleanup()
```
Example 3: LED with Resistor and Voltage Divider using ESP32 and MicroPython
In this example, we'll use an ESP32 board to control the LED using MicroPython.
```python
import machine
import utime
# Set the LED pin as an output
led_pin = machine.Pin(15, machine.Pin.OUT)
# Create a voltage divider with a 220 resistor
voltage_divider = machine.ADC(machine.Pin(32))  # Assuming a 3.3V voltage source
try:
    while True:
        # Read the voltage divider value
        voltage = voltage_divider.read_u16()  3.3 / 65535
# Turn the LED on if the voltage is above 2.5V
        if voltage > 2.5:
            led_pin.value(1)
        else:
            led_pin.value(0)
utime.sleep_ms(50)  # Wait for 50ms
except KeyboardInterrupt:
    # Clean up on exit
    machine.reset()
```
Important Notes
Always use a suitable current-limiting resistor when connecting the LED to a power source.
 Ensure the LED is connected to a microcontroller or board with a compatible voltage and current rating.
 Follow proper safety precautions when working with electronics and electrical components.
By following these examples and guidelines, you can successfully integrate the 5mm White Yellow LED into your IoT projects.