

The IR Receiver Module (part ID: v1222) is a compact and efficient device designed to detect and process infrared (IR) signals emitted by remote controls and other IR sources. It converts the received IR light into an electrical signal, making it suitable for integration with microcontrollers, such as Arduino, and other electronic systems. This module is widely used in applications like remote-controlled devices, home automation systems, and IR-based communication.








The following table outlines the key technical details of the IR Receiver Module (v1222):
| Parameter | Value |
|---|---|
| Operating Voltage | 2.7V to 5.5V |
| Operating Current | ≤ 1.5 mA |
| Carrier Frequency | 38 kHz (typical) |
| Reception Distance | Up to 10 meters (line of sight) |
| Reception Angle | ±45° |
| Output Signal | Digital (active low) |
| Response Time | ≤ 400 µs |
| Operating Temperature | -25°C to +85°C |
| Dimensions | 7.8mm x 5.8mm x 3.1mm |
The IR Receiver Module typically has three pins, as described in the table below:
| Pin | Name | Description |
|---|---|---|
| 1 | VCC | Power supply pin. Connect to a voltage source between 2.7V and 5.5V. |
| 2 | GND | Ground pin. Connect to the ground of the circuit. |
| 3 | OUT | Digital output pin. Outputs a low signal when an IR signal is detected. |
VCC pin to a 3.3V or 5V power source and the GND pin to the ground of your circuit.OUT pin to a digital input pin of your microcontroller or other logic-level device.OUT pin to ensure a stable high signal when no IR signal is detected.VCC and GND to reduce noise and improve stability.Below is an example of how to connect and use the IR Receiver Module (v1222) with an Arduino UNO to decode IR signals:
VCC pin of the IR receiver to the 5V pin of the Arduino.GND pin of the IR receiver to the GND pin of the Arduino.OUT pin of the IR receiver to digital pin 2 of the Arduino.#include <IRremote.h> // Include the IRremote library for decoding IR signals
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 decode_results object to store decoded data
void setup() {
Serial.begin(9600); // Initialize serial communication for debugging
irrecv.enableIRIn(); // Start the IR receiver
Serial.println("IR Receiver Module is ready to receive signals.");
}
void loop() {
if (irrecv.decode(&results)) { // Check if an IR signal is received
Serial.print("IR Code Received: ");
Serial.println(results.value, HEX); // Print the received IR code in hexadecimal
irrecv.resume(); // Prepare to receive the next signal
}
}
IRremote library in the Arduino IDE before uploading the code.No Signal Detected
VCC pin is receiving the correct voltage.Unstable or Noisy Output
OUT pin and use a decoupling capacitor between VCC and GND.Short Reception Range
Interference from Ambient Light
Q1: Can this module work with a 3.3V microcontroller?
A1: Yes, the IR Receiver Module (v1222) operates within a voltage range of 2.7V to 5.5V, making it compatible with 3.3V systems.
Q2: What is the maximum distance for signal reception?
A2: The module can receive IR signals from up to 10 meters, provided there is a clear line of sight and the IR source is strong enough.
Q3: Can I use this module to control multiple devices?
A3: Yes, by decoding the IR signals, you can program your microcontroller to control multiple devices based on the received codes.
Q4: Does the module support protocols like NEC or Sony?
A4: The module itself does not decode protocols but outputs the raw signal. Use an IR decoding library (e.g., IRremote) to interpret specific protocols.
Q5: How do I know if the module is working?
A5: Use a serial monitor to check if the module outputs data when an IR signal is sent. Alternatively, use an LED to test the output pin's activity.