The IR LED (Infrared Light Emitting Diode) manufactured by ARDUINO with part ID LED is a versatile component that emits light in the infrared spectrum, which is invisible to the human eye. This component is widely used in applications such as remote controls, night-vision devices, and various sensing applications. Its ability to emit infrared light makes it an essential component in many electronic projects and devices.
Parameter | Value |
---|---|
Forward Voltage | 1.2V - 1.4V |
Forward Current | 20mA |
Power Rating | 30mW |
Wavelength | 850nm - 940nm |
Viewing Angle | 20° - 30° |
Package Type | Through-hole |
Pin Number | Pin Name | Description |
---|---|---|
1 | Anode | Positive terminal (longer lead) |
2 | Cathode | Negative terminal (shorter lead) |
- Connect the anode of the IR LED to digital pin 3 of the Arduino UNO through a 220Ω resistor.
- Connect the cathode of the IR LED to the GND pin of the Arduino UNO.
// Define the pin for the IR LED
const int irLedPin = 3;
void setup() {
// Initialize the IR LED pin as an output
pinMode(irLedPin, OUTPUT);
}
void loop() {
// Turn the IR LED on
digitalWrite(irLedPin, HIGH);
delay(1000); // Keep the LED on for 1 second
// Turn the IR LED off
digitalWrite(irLedPin, LOW);
delay(1000); // Keep the LED off for 1 second
}
Can I see the light emitted by the IR LED?
What is the typical range of an IR LED?
Can I use an IR LED with any microcontroller?
By following this documentation, users can effectively integrate the ARDUINO IR LED into their projects, ensuring proper usage and troubleshooting any issues that may arise.