

An Infrared Light Emitting Diode (IR LED) emits infrared light, which is invisible to the human eye but detectable by electronic sensors. When an electric current passes through the diode, it produces infrared radiation. IR LEDs are widely used in applications such as remote controls, proximity sensors, optical communication systems, and security systems. Their ability to transmit data wirelessly and detect objects makes them a versatile component in modern electronics.








Below are the key technical details and pin configuration for a typical IR LED:
An IR LED typically has two pins: the anode (positive) and the cathode (negative). The table below describes the pin configuration:
| Pin | Description | Identification |
|---|---|---|
| Anode | Positive terminal; connects to Vcc | Longer leg of the LED |
| Cathode | Negative terminal; connects to ground | Shorter leg of the LED or flat edge |
Connect the IR LED:
Choose a Resistor:
Test the IR LED:
Integrate with Sensors:
Below is an example of how to use an IR LED with an Arduino UNO to blink the LED at regular intervals:
// Define the pin connected to the IR LED
const int irLedPin = 9;
void setup() {
// Set the IR LED pin as an output
pinMode(irLedPin, OUTPUT);
}
void loop() {
// Turn the IR LED on
digitalWrite(irLedPin, HIGH);
delay(500); // Wait for 500 milliseconds
// Turn the IR LED off
digitalWrite(irLedPin, LOW);
delay(500); // Wait for 500 milliseconds
}
Note: Use a 220 Ω resistor in series with the IR LED to limit the current.
IR LED Not Emitting Light:
IR LED Overheating:
IR LED Not Detected by Receiver:
IR LED Not Visible to Camera:
Q: Can I use an IR LED without a resistor?
A: No, a resistor is essential to prevent excessive current, which can damage the LED.
Q: How far can an IR LED transmit?
A: The range depends on the power of the LED and the sensitivity of the receiver. Typical ranges are 5–10 meters.
Q: Can I use an IR LED for data communication?
A: Yes, IR LEDs are commonly used in remote controls and optical communication systems.
Q: How do I know if my IR LED is working?
A: Use a digital camera or smartphone camera to check for a faint purple glow when the LED is powered.
By following this documentation, you can effectively use an IR LED in your projects and troubleshoot common issues.