• Home
  • Articles
  • Basics
  • Components
  • Projects
  • Communications
  • MCQ

WatElectronics.com

You are here: Home / Components / KY-022 Module : PinOut, Features, Specifications, Interfacing, Working & Its Applications

KY-022 Module : PinOut, Features, Specifications, Interfacing, Working & Its Applications

July 1, 2025 By WatElectronics

An IR receiver module or IR receiver is an electronic component that detects & decodes emitted IR signals from a remote control. This module enables a device to receive remote commands by converting the IR light into a digital signal that the device can process. These modules receive IR radiation at a specific frequency and convert it into a data stream, allowing any processing unit to understand the information. Manufacturers widely use this module in various consumer electronics to enable remote control functionality. This article elaborates on the KY-022 module, pin-out, specifications & its applications.

What is the KY-022 IR Receiver Module??

The KY-022 is an IR receiver module that reacts to 38 kHz infrared light and converts it into digital data. Thus, a microcontroller can read it, allowing you to design different electronic projects that react to commands from a typical IR remote control. This module provides a digital output signal that you can easily interface with and read through different microcontrollers.

The  KY-022 module includes a TSOP IR sensor, an LED, and a small resistor to specify signal reception.  This module provides IR remote control functionality in applications such as remote-controlled devices, robotics, home automation systems, and more

How the KY-022 IR Receiver Module Works?

A KY-022 module works as an IR receiver to detect IR light signals and change them into digital signals at a specific frequency. Thus, a microcontroller unit can read it, allowing you to control different devices with a standard IR remote control by understanding the received IR signals..

The module features a phototransistor as a core component, which is sensitive to IR light at the 38kHz carrier frequency typically used in remote controls. Whenever the module receives an IR signal, it decodes the embedded data within that signal and changes it into a digital output that a microcontroller pin can read. Additionally, this module can include an LED that lights up whenever it detects an infrared signal, providing visual evidence of reception.

KY-022 Module Pin Configuration:

The pin configuration of the KY-022 module is shown below. This module features three pins, which will be explained below.

KY-022 Module Pin Configuration

KY-022 Module Pin Configuration

  • Pin-1 (GND (Ground)): This is a ground pin that can be connected to the GND pin of your microcontroller.
  • Pin-2 (VCC (Power)): The second pin is the power supply pin, which provides power to the module. You can connect this pin to the 5V power supply pin on your microcontroller..
  • Pin-3 (OUT (Signal)): The final pin is the signal pin, which outputs a digital signal whenever it detects an IR signal. You can connect this pin to a digital input pin of your microcontroller unit to read the data.

Features & Specifications:

The features and specifications of the KY-022 module include the following.

  • KY-022 is an IR receiver module.
  • This module includes three pins.
  • Its operating voltage ranges from 2.7V to 5.5V DC.
  • Its operating current ranges from 0.4 to 1.5 mA.
  • Pulse duration ranges from 400µs to 800µs
  • The reception distance of this module is 18m.
  • Its reception angle is ±45°.
  • The wavelength of this module is 940 nm.
  • Its ambient light filter is up to 500 lux.
  • The carrier frequency is 38 KHz.
  • The low-level voltage is 0.4V.
  • The high-level voltage is 4.5V.
  • Module dimensions L x W x H are 24.5mm x 16mm x 7mm.
  • Its weight is 5gm.
  • Daylight rejection is up to 500LUX.
  • This module uses a TSOP1838 IR receiver chip.
  • The typical operating temperature ranges from 0°C to 50°C.

Equivalents & Alternatives

Equivalents to KY-022 modules are; VS1838B, TSOP-1838, HX1838, TL1838, etc. Alternatives to KY-022 modules are; TSOP38233, TSAL6100, SFH5110, etc.

KY-022 IR Receiver Module Circuit

The KY-022 IR receiver module schematic diagram is shown below. So this module includes a VS1838 IR receiver, an LED, a 1kΩ resistor & 3 male header pins. Generally, an IR remote emits IR light pulses whenever a button is pushed. So, these pulses are modulated at a 38 kHz specific frequency to separate the signal from ambient IR light.

KY-022 Module Circuit

          KY-022 Module Circuit

The KY-022 infrared receiver module is tuned to detect the specific frequency. It includes a photodiode that detects the IR light and changes it into electrical signals. So, this module has a demodulator that simply filters out the modulated frequency by separating the signal from ambient infrared noise.

The demodulated signal is a set of electrical pulses equivalent to the on-off prototype of the IR light. These electrical pulses signify the binary data sent by the remote control. The output signal pin of the IR receiver transmits the digital signal to a digital i/p pin on the Arduino.

Thus, the Arduino reads the incoming pulse train on the selected pin with the IR remote library. So this library is useful in processing the pulse timing to change the binary data so it matches a particular button press of the remote control. Thus, this decoded binary data usually changes into a hexadecimal value. After that, the Arduino board uses this value to determine which button was pushed to perform equivalent actions.

KY-022 IR Receiver Module Interfacing with Arduino Uno

The KY-022 IR receiver module’s interfacing with an Arduino diagram is shown below. The required components to make this interfacing mainly include an Arduino Uno, a KY-022 IR receiver module, and connecting wires.

The connections of this interfacing are as follows;

  • Connect the power pin of the KY-022 IR receiver to the +5V pin of the Arduino board.
  • The circuit connects the GND pin of the IR receiver module to the GND pin of the Arduino board.
  • The setup connects the signal pin of the module to digital pin 3 of the Arduino.
KY-022 IR Receiver Module Interfacing with Arduino Uno

                    KY-022 IR Receiver Module Interfacing with Arduino Uno

Code:

The required code for interfacing the KY-022 IR receiver module with Arduino Uno is shown below. This simple code reads the received IR signals by the KY-022 IR receiver module & prints the equivalent hexadecimal values on the Serial Monitor.

#include <IRremote.h>
const int RECV_PIN = 3; // Pin where the KY-022 is connected
IRrecv irrecv(RECV_PIN); // Create an IRrecv object
decode_results results; // Create a results object
void setup() {
Serial.begin(9600); // Initialize serial communication at 9600 baud rate
irrecv.enableIRIn(); // Start the receiver
}
void loop() {
if (irrecv.decode(&results)) { // Check if we have received an IR signal
Serial.print(“Received IR signal: “);
Serial.println(results.value, HEX); // Print the value in hexadecimal format
irrecv.resume(); // Receive the next value
}
}

Working

Once you upload the above code onto your Arduino Uno board, open the Serial Monitor within the Arduino IDE at a 9600 baud rate. This will allow the Serial Monitor to print the measured ambient temperature readings every second.

Advantages & Disadvantages

The advantages of KY-022 modules include the following.

  • This module can simply detect IR signals from a typical remote control.
  • It is compatible with different microcontrollers.
  • This module is simple to use.
  • PCB clearly labels the module pins to decrease confusion in wiring.
  • An integrated LED provides visual confirmation.
  • These are cost-effective modules.

The disadvantages of KY-022 modules include the following.

  • This module has limited line-of-sight detection.
  • It is susceptible to intrusion from short-range, ambient light, and the potential for signal disturbance from obstacles.
  • Bright ambient light interfaces with the infrared signal reception, which causes potentially fake readings.
  • The IR signal works effectively only when you aim it directly at the receiver with minimal obstruction.
  • The efficient detection distance range generally restricts itself to a few meters.
  • This module has low bandwidth, which limits the amount of data you can send..

Applications

The applications of the KY-022 module include the following.

  • The KY-022 infrared receiver module primarily allows users to detect IR signals from remote controls in various applications.
  • Engineers utilize these modules in home automation to control different loads remotely.
  • Hobbyists use them in DIY remote control projects and to design custom remote controls for a variety of devices.
  • This module enables the implementation of remote control functionality, mainly for robots, allowing users to control actions or movements with an infrared remote.
  • Security systems use these to detect IR signals from intruders with PIR sensors.
  • Operators can control elements by waving an infrared remote with this module in interactive displays. Educational projects utilize the KY-022 module.
  • This module allows users to send data wirelessly.
  • Different home appliances like heaters, electric fans, and air conditioners use it.

FAQs

1). What is the difference between TSOP1838 and KY-022?

The TSOP1838 is a component, while KY-022 is a module that frequently uses the TSOP1838 or related components. The TSOP1838 is enough if you require just the IR receiver. The KY-022 module is the better choice if you require a ready-to-use module through suitable connections & an indicator.

2). How far can the KY-022 module detect signals?

The KY-022 IR receiver module can normally detect signals from a distance of approximately 18 meters. But various factors can affect this range, including the strength of the transmitted signal, the angle of the receiver, and ambient light..

3). Can KY-022 be used in sunlight?

No, you cannot use this module in sunlight because ambient IR light from the sun can interfere with its operation, leading to false signals and interference..

Please refer to this link for the KY-022 infrared receiver module datasheet.

The KY-022 infrared receiver module can receive & convert infrared signals into digital signals. So this module unlocks an immense range of remote control & automation possibilities by empowering electronic projects to react to the hidden infrared light language. You can utilize this module in different electronics projects, like wireless data transmission and remote controls, etc. Here is a question for you: What is the SFH5110 module?

Filed Under: Components Tagged With: Arduino, IR

Recent Posts

  • KY-022 Module : PinOut, Features, Specifications, Interfacing, Working & Its Applications
  • LM7815 IC : PinOut, Features, Specifications, Circuit, Working, Equivalents, Datasheet & Its Applications
  • DIY Solar USB Phone Charger : Step-by-Step Guide
  • DIY USB Fan Powered by a Temperature Sensor
  • LM3876 IC : PinOut, Features, Specifications, Circuit, Working & Its Applications
  • KY-034 Module : PinOut, Features, Specifications, Interfacing, Working & Its Applications
  • Voice-Controlled Home Automation using IFTTT and ESP8266
  • LM7818 IC : PinOut, Features Equivalent, Circuit, Working, Datasheet & Its Applications
  • KY-012 Active Buzzer Module : PinOut, Features, Specifications, Interfacing, Working, Datasheet & Its Applications
  • KY-025 Module : PinOut, Features, Specifications, Interfacing, Working, Datasheet & Its Applications
  • SSD1306 OLED Display : PinOut, Features, Specifications, Interfacing & Its Applications
  • KY-011 LED Module : PinOut, Features, Specifications, Interfacing, Datasheet & Its Applications

Categories

  • Articles (20)
  • Basics (110)
  • Communications (54)
  • Components (239)
  • Digital Electronics (43)
  • Digital Signalling (3)
  • Electronics (227)
  • Embedded Systems (12)
  • Magnetism (5)
  • Microprocessors (3)
  • Modulation (1)
  • Projects (15)

Subscribe to Our Newsletter

Don’t miss these articles!

We don’t spam! Read our privacy policy for more info.

Check your inbox or spam folder to confirm your subscription.

Category

  • Electronics
  • Components
  • Digital Electronics
  • Embedded Systems
  • Projects

Copyright © 2025 · WatElectronics.com | Contact Us | Privacy Policy