3mm Orange LED (Pack of 10)
3mm Orange LED (Pack of 10)
The 3mm Orange LED is a small, high-brightness light-emitting diode (LED) component used for indicating purposes in various electronic circuits and devices. This pack of 10 LEDs provides a convenient and cost-effective solution for projects requiring multiple indicator lights.
The 3mm Orange LED is designed to emit a bright, vibrant orange light when an electric current passes through it. The LED has a polarity-sensitive terminal configuration, meaning it requires a specific orientation of the anode (positive leg) and cathode (negative leg) to function correctly.
### Electrical Characteristics |
1.8-2.2V (typical forward voltage drop)
20mA (maximum recommended forward current)
Low power consumption, typically around 40mW
### Optical Characteristics |
Orange ( wavelength | 590-610nm) |
100-150 mcd (typical luminous intensity at 20mA)
30-40 (typical viewing angle)
### Mechanical Characteristics |
3mm Round LED with leads
3mm diameter, 10mm lead length
Approximately 0.2g per LED
### Environmental Characteristics |
-25C to +85C
-30C to +100C
MSL 3 (Moisture Sensitivity Level 3, J-STD-020C)
### Other Features |
Round, diffused lens for wide-angle viewing
The cathode (negative leg) is marked with a flat edge or a small notch on the epoxy package
Yes
Handle the LEDs by the edges or the leads to prevent damage or electrical shock.
Avoid applying excessive force or bending the leads.
Use a low-power soldering iron and a solder with a low melting point to prevent thermal damage.
Store the LEDs in a cool, dry place, away from direct sunlight.
The 3mm Orange LED (Pack of 10) comes in a sealed anti-static bag or a cardboard box, ensuring protection against electrostatic discharge and physical damage during shipping and storage.
Component Documentation: 3mm Orange LED (Pack of 10)
Overview
The 3mm Orange LED is a standard through-hole LED component that emits an orange light when an electric current is applied to it. This component is commonly used in various IoT projects, robotics, and electronic circuits to indicate device status, provide visual feedback, or add aesthetic appeal. The pack of 10 LEDs provides a convenient and cost-effective solution for projects that require multiple LEDs.
Technical Specifications
LED Type: Through-hole
LED Size: 3mm
Color: Orange
Voltage: 1.8-2.5V
Current: 10-20mA
Luminous Intensity: 100-200mcd
Viewing Angle: 30-40 degrees
Pinout
The 3mm Orange LED has two legs: Anode (+) and Cathode (-).
Anode (+): longer leg
Cathode (-): shorter leg
Code Examples
### Example 1: Basic LED Blinking using Arduino
In this example, we will connect the 3mm Orange LED to an Arduino board to create a simple blinking LED circuit.
Hardware Requirements:
Arduino Board (e.g., Arduino Uno)
3mm Orange LED
1 k Resistor
Breadboard
Jumper Wires
Code:
```c
const int ledPin = 13; // Pin 13 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
}
```
Explanation: This code sets up the Arduino board to control the LED connected to pin 13. The `digitalWrite()` function is used to turn the LED on and off, and the `delay()` function is used to create a 1-second delay between each state change.
### Example 2: LED Dimming using ESP32 and PWM
In this example, we will connect the 3mm Orange LED to an ESP32 board to demonstrate LED dimming using Pulse Width Modulation (PWM).
Hardware Requirements:
ESP32 Board
3mm Orange LED
1 k Resistor
Breadboard
Jumper Wires
Code:
```c
const int ledPin = 14; // Pin 14 for the LED
int brightness = 0; // Initialize brightness to 0
void setup() {
ledcSetup(0, 5000, 8); // Set up PWM channel 0 with 5000 Hz frequency and 8-bit resolution
ledcAttachPin(ledPin, 0); // Attach the LED pin to PWM channel 0
}
void loop() {
for (brightness = 0; brightness <= 255; brightness++) {
ledcWrite(0, brightness); // Set the LED brightness using PWM
delay(10); // Wait for 10 milliseconds
}
for (brightness = 255; brightness >= 0; brightness--) {
ledcWrite(0, brightness); // Set the LED brightness using PWM
delay(10); // Wait for 10 milliseconds
}
}
```
Explanation: This code sets up the ESP32 board to control the LED connected to pin 14 using PWM. The `ledcSetup()` function is used to configure the PWM channel, and the `ledcAttachPin()` function is used to attach the LED pin to the PWM channel. The `ledcWrite()` function is used to set the LED brightness, and the `for` loops are used to create a fading effect.
Note: These code examples are for demonstration purposes only and may require modifications to work with your specific setup. Always ensure the LED is properly connected and powered to avoid damage.