

The Adafruit Infrared IR Remote Receiver (Manufacturer Part ID: 5939) is a compact and reliable sensor designed to detect infrared (IR) signals from remote controls. This component enables wireless communication and control of electronic devices by decoding IR signals transmitted by standard remote controls. It is widely used in home automation, robotics, and consumer electronics projects.








The Adafruit Infrared IR Remote Receiver is designed for ease of use and compatibility with a wide range of microcontrollers, including Arduino boards. Below are the key technical details:
The IR receiver has three pins, which are typically labeled on the component. Below is the pinout:
| Pin | Name | Description |
|---|---|---|
| 1 | VCC | Power supply pin. Connect to 3.3V or 5V depending on your microcontroller. |
| 2 | GND | Ground pin. Connect to the ground of your circuit. |
| 3 | OUT | Digital output pin. Outputs the decoded IR signal as a digital pulse stream. |
The Adafruit Infrared IR Remote Receiver is straightforward to use in a circuit. Follow the steps below to integrate it into your project:
Below is an example of how to use the IR receiver with an Arduino UNO to decode IR signals:
#include <IRremote.h> // Include the IRremote library
const int RECV_PIN = 2; // Define the pin connected to the IR receiver's OUT pin
IRrecv irrecv(RECV_PIN); // Create an IRrecv object
decode_results results; // Create a variable to store decoded IR data
void setup() {
Serial.begin(9600); // Initialize serial communication for debugging
irrecv.enableIRIn(); // Start the IR receiver
Serial.println("IR Receiver is ready to decode signals.");
}
void loop() {
if (irrecv.decode(&results)) { // Check if a signal is received
Serial.print("IR Code: ");
Serial.println(results.value, HEX); // Print the received IR code in hexadecimal
irrecv.resume(); // Prepare to receive the next signal
}
}
No Signal Detected:
Unstable or Incorrect Signals:
Short Reception Range:
Q: Can this IR receiver work with any remote control?
A: The receiver is optimized for 38kHz carrier frequency, which is used by most standard remote controls. However, it may not work with remotes operating at different frequencies.
Q: Can I use this receiver with a 3.3V microcontroller?
A: Yes, the receiver operates at 2.7V to 5.5V, making it compatible with both 3.3V and 5V logic levels.
Q: How do I decode custom remote control signals?
A: Use the provided Arduino example to capture and log the IR codes. These codes can then be used to program custom actions in your project.
Q: What is the maximum range of this IR receiver?
A: The receiver can detect signals up to 10 meters away, depending on the remote control's power and environmental conditions.
By following this documentation, you can effectively integrate the Adafruit Infrared IR Remote Receiver into your projects for wireless control and communication.