Stufin
Home Quick Cart Profile

5mm White Led (Pack of 10)

Buy Now on Stufin

Component Name

5mm White LED (Pack of 10)

Overview

The 5mm White LED is a standard, high-brightness light-emitting diode (LED) component that emits white light. The pack of 10 LEDs is ideal for various applications, including DIY projects, prototypes, and small-scale productions. This documentation provides a detailed description of the component's functionality, key features, and specifications.

Functionality

The 5mm White LED is a semiconductor device that converts electrical energy into visible white light. When a forward voltage is applied to the LED, it emits light in a specific direction, making it suitable for various applications that require a localized light source.

Key Features

  • Light Color: White
  • Package Type: 5mm Round Plastic Package
  • Lead Style: Through-Hole (THT)
  • Lens Type: Clear
  • Viewing Angle: 30
  • Forward Voltage (Vf): 3.0-3.2V
  • Typical Operating Current (If): 20mA
  • Maximum Power Dissipation (Pd): 65mW
  • Operating Temperature Range: -30C to +80C
  • Storage Temperature Range: -40C to +100C

Electrical Characteristics

Forward Voltage (Vf)3.0-3.2V
Reverse Voltage (Vr)5V
DC Forward Current (If)20mA
Peak Forward Current (I fp)30mA
Reverse Current (Ir)10A

Optical Characteristics

Luminous Intensity (IV)1.5-2.5cd
Dominant Wavelength (d)560-580nm
Viewing Angle (21/2)30

LED Package Dimensions

5mm (diameter) x 2.5mm (height)

Lead Length

20mm

Lead Spacing

2.5mm

Packaging

The 5mm White LED is supplied in a pack of 10 pieces, each individually packaged in an anti-static bag to prevent damage during transportation and storage.

Applications

The 5mm White LED is suitable for a wide range of applications, including

DIY projects

Prototypes

LED indicators

Automotive lighting

Lighting fixtures

Electronic signage

Display backlighting

Precautions

Handle the LEDs with care to avoid damage.

Avoid applying excessive force, pressure, or vibration.

Ensure proper soldering and handling techniques to prevent damage to the LEDs.

Follow proper safety precautions when handling electrical components.

By following the guidelines and precautions outlined in this documentation, users can ensure safe and effective use of the 5mm White LED component in their projects.

Pin Configuration

  • 5mm White LED (Pack of 10) Documentation
  • Pin Description:
  • The 5mm White LED has two pins, which are responsible for conducting electricity and facilitating the flow of current to illuminate the LED. The pins are typically labeled as Anode (+) and Cathode (-).
  • Pin 1: Anode (+)
  • Function: The anode pin is the positive terminal of the LED, which allows current to flow into the device.
  • Characteristics: The anode pin is typically longer than the cathode pin and has a smaller metal lead.
  • Connection: Connect the anode pin to the positive voltage source (e.g., VCC, 5V, or 3.3V) in your circuit.
  • Pin 2: Cathode (-)
  • Function: The cathode pin is the negative terminal of the LED, which allows current to flow out of the device.
  • Characteristics: The cathode pin is typically shorter than the anode pin and has a larger metal lead.
  • Connection: Connect the cathode pin to the negative voltage source (e.g., GND) or a resistor in your circuit.
  • Connection Structure:
  • To connect the 5mm White LED correctly, follow these steps:
  • 1. Identify the anode and cathode pins: Determine the anode (+) and cathode (-) pins by checking the length and metal lead size. The anode pin is usually longer and has a smaller metal lead, while the cathode pin is shorter and has a larger metal lead.
  • 2. Connect the anode pin: Attach the anode pin to the positive voltage source (e.g., VCC, 5V, or 3.3V) in your circuit. You can use a wire or a PCB track to make this connection.
  • 3. Add a current-limiting resistor (optional): If you're using a voltage source higher than the LED's recommended voltage, add a current-limiting resistor in series with the LED to prevent overcurrent. The resistor value can be calculated using Ohm's law and the LED's datasheet.
  • 4. Connect the cathode pin: Attach the cathode pin to the negative voltage source (e.g., GND) or the current-limiting resistor (if used) in your circuit. Use a wire or a PCB track to make this connection.
  • 5. Verify the connection: Double-check that the anode pin is connected to the positive voltage source and the cathode pin is connected to the negative voltage source or the current-limiting resistor.
  • Important notes:
  • Always handle the LED with care to avoid damaging the pins or the device.
  • Ensure the voltage and current ratings of the LED are not exceeded to prevent damage or overheating.
  • Use a suitable current-limiting resistor to prevent overcurrent, especially when using a voltage source higher than the LED's recommended voltage.
  • By following these instructions, you can properly connect the 5mm White LED in your IoT project and ensure it operates safely and efficiently.

Code Examples

Component Documentation: 5mm White LED (Pack of 10)
Overview
The 5mm White LED (Pack of 10) is a compact, high-intensity light-emitting diode (LED) component designed for various IoT applications. Each LED in the pack has a diameter of 5mm and emits a bright white light with a wavelength of approximately 6500K. This component is suitable for a wide range of projects, including robotics, home automation, wearable technology, and more.
Pinout and Technical Specifications
Anode (Positive Leg): Long leg
 Cathode (Negative Leg): Short leg
 Voltage: 2.0-3.5V DC
 Current: 20-30mA
 Luminous Intensity: 100-150mcd
 Viewing Angle: 30
 Operating Temperature: -25C to +85C
Code Examples
### Example 1: Basic LED Control with Arduino
In this example, we will use an Arduino Uno board to control the 5mm White LED. We will connect the LED to digital pin 13 and use the `digitalWrite()` function to turn the LED on and off.
Hardware Connection:
Connect the anode (long leg) of the LED to digital pin 13 on the Arduino Uno board.
 Connect the cathode (short leg) of the LED to a 220 resistor.
 Connect the other end of the resistor to the GND pin on the Arduino Uno board.
Arduino Code:
```c
int ledPin = 13;  // Choose the pin for the LED
void setup() {
  pinMode(ledPin, OUTPUT);  // Set the 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
}
```
### Example 2: PWM Dimming with Raspberry Pi (Python)
In this example, we will use a Raspberry Pi to control the 5mm White LED using Pulse Width Modulation (PWM). We will connect the LED to GPIO pin 18 and use the `RPi.GPIO` library to control the LED's brightness.
Hardware Connection:
Connect the anode (long leg) of the LED to GPIO pin 18 on the Raspberry Pi board.
 Connect the cathode (short leg) of the LED to a 220 resistor.
 Connect the other end of the resistor to the GND pin on the Raspberry Pi board.
Python Code:
```python
import RPi.GPIO as GPIO
import time
GPIO.setmode(GPIO.BCM)
GPIO.setup(18, GPIO.OUT)  # Set GPIO pin 18 as an output
pwm = GPIO.PWM(18, 50)  # Create a PWM object with a frequency of 50Hz
pwm.start(0)  # Start the PWM with a duty cycle of 0%
while True:
    for dc in range(0, 101, 5):  # Dim the LED from 0 to 100%
        pwm.ChangeDutyCycle(dc)
        time.sleep(0.1)  # Wait for 0.1 seconds
    for dc in range(100, -1, -5):  # Dim the LED from 100 to 0%
        pwm.ChangeDutyCycle(dc)
        time.sleep(0.1)  # Wait for 0.1 seconds
```
Note: Make sure to install the `RPi.GPIO` library and import it correctly before running the code.
These examples demonstrate the basic usage of the 5mm White LED (Pack of 10) in various IoT applications. You can adapt these examples to suit your specific project requirements.