IR Receiver Sensor Module – 38kHz (3 Pin, Black PCB)
1. What Is an IR Receiver Module?
The IR Receiver Module is a compact infrared sensing module designed to receive coded infrared signals transmitted by compatible remote controls.
It features a metal-shielded infrared receiving component, three connection pins, an onboard indicator LED and a small black PCB.
The module detects appropriately modulated infrared signals and converts them into electrical pulses that a microcontroller can decode.
It is commonly used with Arduino, ESP32 and other microcontroller boards for remote-controlled electronics, robotics and automation projects.
This listing is for the IR receiver module only. A remote control is not included.
2. What Can You Build With an IR Receiver Module?
The IR Receiver Module is suitable for projects such as:
- Arduino IR remote-controlled LED
- Remote-controlled robotic car
- Infrared wireless switching systems
- Remote-operated buzzer projects
- RGB LED colour control
- Wireless servo motor control
- LCD menu navigation
- Electronic counters
- Remote-controlled display systems
- Infrared communication experiments
- DIY automation demonstrations
- STEM and engineering projects
It is particularly useful for projects that need to receive button commands from a compatible handheld infrared remote.
3. Who Is It For?
The IR Receiver Module is suitable for:
- Arduino beginners
- School and college students
- Engineering students
- Robotics hobbyists
- ESP32 and microcontroller developers
- STEM educators and trainers
- DIY electronics makers
- Embedded system developers
It helps learners understand infrared communication, signal modulation, digital signals and remote-control decoding.
4. How Does an IR Receiver Module Work?
An infrared remote typically transmits coded bursts of infrared light when a button is pressed.
Many conventional consumer infrared remotes use a carrier frequency near 38kHz.
The IR receiver module contains a photosensitive receiving element and signal-processing circuitry designed to detect appropriately modulated infrared light.
The internal circuitry filters and demodulates the received signal, producing a digital pulse sequence.
A connected microcontroller reads these pulses and uses a compatible software library to interpret the transmitted commands.
Working principle:
IR Remote Button → Infrared Light Pulses → IR Receiver → Digital Signal → Arduino → Decoded Command
What happens when a button is pressed?
- The handheld remote transmits an infrared command.
- The receiver detects the modulated infrared light.
- The receiver outputs corresponding digital pulses.
- Arduino reads the pulses.
- The decoding library identifies the command.
- The program performs the assigned action.
For example, the remote can instruct an Arduino to turn on an LED or change a servo motor position.
Important Difference
An IR receiver module does not independently measure the distance of an obstacle.
It is designed primarily for receiving modulated infrared communication signals.
5. Technical Specifications
| Specification | Details |
|---|---|
| Product Type | Infrared Receiver Sensor Module |
| Module Design | KY-022-type |
| Receiver Function | Infrared remote-control signal reception |
| Nominal Carrier Frequency | 38kHz reference |
| Typical Supply Voltage | 3.3–5V DC |
| Output Type | Demodulated Digital Signal |
| Number of Pins | 3 |
| Connection Labels | S, +, − |
| Onboard Indicator | LED |
| PCB Colour | Black |
| Receiving Component | Metal-shielded IR receiver |
| Mounting | Two PCB mounting holes |
| Communication | Infrared |
| Typical Applications | Remote-control decoding and wireless input |
Technical notes:
- The receiver is intended for compatible modulated infrared signals.
- It is not a general-purpose distance-measuring sensor.
- Reception depends on remote compatibility, battery condition, orientation and ambient light.
- Strong sunlight and infrared interference can affect performance.
- The exact receiving IC, supported supply limits and carrier frequency require batch verification.
- The onboard LED should not be treated as a guaranteed indication of every successfully decoded command.
6. IR Receiver Module Pinout
The IR Receiver Module has three electrical connection pins.
| Pin | Function |
|---|---|
| S | Digital signal output |
| + | Positive power supply (VCC) |
| − | Ground (GND) |
According to the labels visible in the supplied photograph, with the PCB facing you and the three pins pointing towards the right:
Top pin: S
Middle pin: + (VCC)
Bottom pin: − (GND)
Pin Functions
S – Signal Output
Provides the digital pulse sequence generated by the infrared receiver circuit.
+ – VCC
Connects to a suitable regulated supply.
− – GND
Connects to the common electrical ground.
Always verify the physical pin arrangement before connecting the module.
7. How to Connect the IR Receiver Module to Arduino
The IR Receiver Module can be connected to an Arduino Uno using three jumper wires.
Components Required
- 1 × IR Receiver Module
- 1 × Arduino Uno
- 1 × Compatible Infrared Remote Control
- 3 × Jumper Wires
Arduino Wiring
| IR Receiver Pin | Arduino Uno |
|---|---|
| S | D2 |
| + | 5V, if supported by your module |
| − | GND |
Connection Procedure
- Identify the three pins on the IR receiver.
- Connect S to Arduino digital pin D2.
- Connect the positive power pin to the appropriate supply.
- Connect the ground pin to Arduino GND.
- Power the Arduino.
- Upload a compatible infrared decoding program.
- Point a compatible remote towards the receiver.
- Press a remote button and observe the output in the Arduino Serial Monitor.
A 38kHz-compatible remote is a practical choice for testing.
8. Arduino Example Code
The following program uses the Arduino IRremote library to detect and decode compatible infrared remote signals.
Required Library
Install IRremote by Armin Joachimsmeyer and contributors using Arduino IDE’s Library Manager.
Arduino Code
#include <IRremote.hpp>
const int receiverPin = 2;
void setup() {
Serial.begin(9600);
IrReceiver.begin(
receiverPin,
ENABLE_LED_FEEDBACK
);
Serial.println("IR Receiver Ready");
}
void loop() {
if (IrReceiver.decode()) {
IrReceiver.printIRResultShort(&Serial);
Serial.print("Command: 0x");
Serial.println(
IrReceiver.decodedIRData.command,
HEX
);
IrReceiver.resume();
}
}
How to Test the Module
- Connect the receiver to Arduino.
- Upload the program.
- Open Serial Monitor.
- Set the baud rate to 9600.
- Point a compatible infrared remote towards the receiver.
- Press any button.
- Observe the received protocol and command information.
- Record the codes for your intended project.
Different remote controls may use different protocols and command codes.
Some unsupported protocols may be reported as unknown or may require additional decoding support.
9. Beginner Project: Remote-Controlled LED
Build a wireless LED control system using the IR Receiver Module, Arduino Uno and a compatible infrared remote.
Components Required
- 1 × IR Receiver Module
- 1 × Arduino Uno
- 1 × Compatible IR Remote Control
- 1 × 5mm Red LED
- 1 × 330Ω Resistor
- Breadboard
- Jumper Wires
Wiring Connections
| Component | Arduino Uno |
|---|---|
| IR Receiver S | D2 |
| IR Receiver + | Compatible power supply |
| IR Receiver − | GND |
| Red LED Anode | D8 through 330Ω resistor |
| Red LED Cathode | GND |
Arduino Code
The following example allows you to learn an ON command and an OFF command from a compatible remote.
#include <IRremote.hpp>
const int receiverPin = 2;
const int ledPin = 8;
uint16_t onCommand = 0;
uint16_t offCommand = 0;
decode_type_t onProtocol = UNKNOWN;
decode_type_t offProtocol = UNKNOWN;
uint16_t onAddress = 0;
uint16_t offAddress = 0;
int learningStep = 0;
void setup() {
Serial.begin(9600);
pinMode(ledPin, OUTPUT);
digitalWrite(ledPin, LOW);
IrReceiver.begin(receiverPin);
Serial.println("Press your LED ON button");
}
void loop() {
if (IrReceiver.decode()) {
auto data = IrReceiver.decodedIRData;
bool repeated =
data.flags & IRDATA_FLAGS_IS_REPEAT;
if (!repeated && data.protocol != UNKNOWN) {
if (learningStep == 0) {
onCommand = data.command;
onAddress = data.address;
onProtocol = data.protocol;
learningStep = 1;
Serial.println("Press your LED OFF button");
} else if (learningStep == 1) {
offCommand = data.command;
offAddress = data.address;
offProtocol = data.protocol;
learningStep = 2;
Serial.println("Remote is ready");
} else if (
data.protocol == onProtocol &&
data.address == onAddress &&
data.command == onCommand
) {
digitalWrite(ledPin, HIGH);
Serial.println("LED ON");
} else if (
data.protocol == offProtocol &&
data.address == offAddress &&
data.command == offCommand
) {
digitalWrite(ledPin, LOW);
Serial.println("LED OFF");
}
}
IrReceiver.resume();
}
}
Project Working
- Upload the program to Arduino.
- Open the Serial Monitor.
- Press the remote button you want to assign to LED ON.
- Press another button for LED OFF.
- Arduino stores the decoded commands in memory.
- Press the ON button to illuminate the LED.
- Press the OFF button to turn it off.
The learned commands remain available until the Arduino restarts.
This example is intended for supported, normally decoded infrared protocols.
What Will Students Learn?
- Infrared remote-control reception
- Digital signal decoding
- Arduino input processing
- Remote command mapping
- LED output control
- Conditional programming
10. Related Products
Complete your infrared electronics project with:
- IR Remote Control Kit with Receiver Module – 17 Key
- IR Obstacle Avoidance Sensor Module
- Arduino Uno R3 Compatible Board
- Arduino Nano
- ESP32 Development Board
- 5mm Red LED
- 5mm Green LED
- 5mm Blue LED
- 5mm LED Assorted Pack of 5
- RGB LED Module
- SG90 9g Servo Motor
- 5V Passive Buzzer
- 16×2 LCD Display with I2C Interface
- Breadboard
- Jumper Wires
- 330Ω Resistor
11. Related Tutorials
Explore these electronics learning topics:
- How to Connect an IR Receiver Module to Arduino
- Arduino IRremote Library Tutorial
- How to Decode IR Remote Buttons
- How to Control LEDs Using an IR Remote
- IR Receiver Module Pinout Explained
- How to Use an IR Receiver with ESP32
- How Infrared Remote Communication Works
- How to Build a Remote-Controlled Servo Project
- IR Receiver vs IR Obstacle Sensor
- How to Troubleshoot an IR Receiver Module
12. Frequently Asked Questions
What is an IR Receiver Module?
An IR Receiver Module is an electronic component that receives compatible modulated infrared signals and produces a digital output that a microcontroller can decode.
Does this product include an infrared remote control?
No. This listing includes only the IR receiver module.
What is the difference between an IR receiver and IR remote?
An IR remote transmits infrared commands, while the receiver detects those commands and passes the decoded signal information to a connected controller.
What is the operating frequency of the IR receiver?
Comparable modules commonly use a nominal 38kHz infrared carrier. The exact specification should be verified for the supplied module.
How many pins does the IR Receiver Module have?
It has three pins: Signal, VCC and GND.
Does the receiver provide analog or digital output?
It provides a digital output carrying demodulated infrared pulses.
Can I use this module with Arduino Uno?
Yes. Connect the receiver signal output to a digital pin and use a compatible IR decoding library.
Can I use this module with ESP32?
Yes, provided the supply and signal levels are compatible with ESP32’s 3.3V GPIO.
Can I use my TV remote with this module?
Many infrared TV remotes may work if their carrier frequency and protocol are supported. Compatibility is not guaranteed with every remote.
Can the receiver detect a signal through walls?
No. Infrared signals generally cannot pass through opaque walls and normally require a suitable optical path.
Does the receiver require a battery?
The receiver itself is powered by a connected circuit. The transmitting remote may require its own battery.
Can I control an LED with this receiver?
Yes. Arduino can decode a remote command and turn an LED on or off.
Can I use it to control a servo motor?
Yes. A microcontroller can translate received infrared commands into servo control instructions.
Does the IR receiver measure distance?
No. It is designed to receive infrared communication signals, not measure obstacle distance.
What is the difference between an IR Receiver Module and an IR Obstacle Avoidance Sensor?
An IR receiver detects modulated infrared commands from a transmitter. An IR obstacle avoidance sensor uses reflected infrared light to detect nearby objects.
What happens in strong sunlight?
Strong ambient infrared light may reduce reception reliability or cause interference.
Why is my IR receiver not responding?
Check the power connections, signal pin, remote battery, carrier compatibility, library version and wiring.
Does this module have an indicator LED?
Yes. The module shown includes an onboard LED.
Where can I buy an IR Receiver Module in Surat?
You can purchase the IR Receiver Module online from Yagobotix with same-day delivery and pickup available in Surat.
13. What Is Included?
- 1 × IR Receiver Sensor Module – 3 Pin, Black PCB
The module includes the receiver component, PCB, three-pin header and onboard indicator circuitry.
Not included:
- IR remote control
- Arduino or ESP32 board
- Breadboard
- Jumper wires
- External LEDs and resistors
If you need both the remote and receiver, choose the separate IR Remote Control Kit listed on Yagobotix.
14. Compatibility
The IR Receiver Module can be used with suitable electronic systems involving:
- Arduino Uno
- Arduino Nano
- Arduino Mega
- ESP32
- ESP8266 NodeMCU
- STM32 Development Boards
- Raspberry Pi
- Other digital-input microcontrollers
The microcontroller must use suitable software or hardware decoding to interpret the receiver’s output.
For 3.3V microcontrollers, ensure the receiver output voltage does not exceed the GPIO input rating.
Compatibility with a specific remote depends on the transmitted carrier frequency, protocol and software support.
15. Buy IR Receiver Module Online in India
Add infrared wireless control to your electronics projects with the IR Receiver Sensor Module – 38kHz (3 Pin, Black PCB) from Yagobotix.
Featuring a compact black PCB, metal-shielded receiving element and three-pin digital interface, this module is ideal for Arduino, ESP32, robotics, remote-controlled indicators and interactive electronics.
Whether you are learning infrared communication, developing a wireless LED controller or building a remote-controlled robot, this receiver module is a useful addition to your electronics collection.
Why Choose Yagobotix?
- Compact 3-pin IR receiver module
- Suitable for compatible remote-control applications
- Components for students, makers and engineers
- Shipping across India
- Same-day delivery available in Surat
- Same-day pickup available in Surat
Same-day services are subject to stock availability, delivery location and applicable order cut-off times.
Add the IR Receiver Module to your cart and start building your next infrared electronics project with Yagobotix!







There are no reviews yet.