5mm White Blue LED (Pack of 10)
5mm White Blue LED (Pack of 10)
The 5mm White Blue LED is a light-emitting diode (LED) component that emits a bright, high-intensity white-blue light. This pack of 10 LEDs is ideal for various electronic projects, prototyping, and DIY applications. Each LED is designed to provide efficient and reliable operation, making it an excellent choice for a wide range of uses.
| The 5mm White Blue LED is a semiconductor device that converts electrical energy into visible light. When a suitable voltage is applied to the LED, it emits light in the white-blue spectrum. The LED's primary function is to provide a bright, directional light source for various applications, including |
Indicator lights
Backlighting
Decorative lighting
Sensor applications
Electronic signage
5mm
5mm
3.5mm
approximately 0.5g per LED
The pack of 10 LEDs comes in a resealable plastic bag or a cardboard box, depending on the supplier. Each LED is carefully packaged to prevent damage during transportation and storage.
Electronic circuits
Prototyping
DIY projects
Robotics
Automotive applications
Aerospace applications
Medical devices
Consumer electronics
Handle the LEDs with care to prevent damage or electrical shock.
Ensure correct polarity when installing the LED to avoid damage.
Use a suitable resistor or current-limiting device to prevent overvoltage or overcurrent.
Store the LEDs in a dry, cool place, away from direct sunlight.
Component Documentation: 5mm White Blue LED (Pack of 10)OverviewThe 5mm White Blue LED is a versatile light-emitting diode (LED) component suitable for various IoT projects, prototypes, and devices. This pack of 10 LEDs offers a convenient and cost-effective solution for incorporating visual indicators, status lights, or decorative lighting in your designs.Physical CharacteristicsSize: 5mm (T1 3/4)
Color: White Blue
Package: Through-hole LED with 2 leads (anode and cathode)
Voltage: 2-3.5V (typical operating voltage)
Current: 20mA (maximum continuous current)
Viewing Angle: 30Electrical CharacteristicsForward Voltage: 2.8-3.2V (typical)
Reverse Voltage: 5V (maximum)
Luminous Intensity: 400-600 mcd (typical)Connecting the LEDTo connect the LED, ensure the longer lead (anode) is connected to the positive voltage source, and the shorter lead (cathode) is connected to the negative voltage source or ground.Code Examples### Example 1: Basic LED Toggle with ArduinoIn this example, we'll use an Arduino board to toggle the LED on and off.
```cpp
const int ledPin = 13; // Choose a digital pin on your Arduino boardvoid setup() {
pinMode(ledPin, OUTPUT);
}void loop() {
digitalWrite(ledPin, HIGH); // Turn the LED on
delay(1000);
digitalWrite(ledPin, LOW); // Turn the LED off
delay(1000);
}
```
### Example 2: PWM Dimming with Raspberry Pi (Python)In this example, we'll use a Raspberry Pi to dim the LED using Pulse Width Modulation (PWM).
```python
import RPi.GPIO as GPIO
import timeGPIO.setmode(GPIO.BCM)
GPIO.setup(18, GPIO.OUT) # Choose a GPIO pin on your Raspberry Pipwm = GPIO.PWM(18, 50) # Create a PWM object with a frequency of 50 Hz
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% duty cycle
pwm.ChangeDutyCycle(dc)
time.sleep(0.1)
```
### Example 3: LED Flasher with ESP32 (MicroPython)In this example, we'll use an ESP32 board to create a simple LED flasher using MicroPython.
```python
import machine
import utimeled = machine.Pin(2, machine.Pin.OUT) # Choose a GPIO pin on your ESP32 boardwhile True:
led.value(1) # Turn the LED on
utime.sleep(0.5)
led.value(0) # Turn the LED off
utime.sleep(0.5)
```
Remember to adjust the pin connections and voltage levels according to your specific setup and requirements.