KY-022 VS1838B Infrared (IR) Receiver Sensor Module for Arduino
Add seamless remote control functionality to your microcontroller projects with the KY-022 VS1838B Infrared (IR) Receiver Module. Tuned to the standard 38 kHz carrier frequency, this highly sensitive module decodes wireless infrared commands from common TV, DVD, and appliance remote controllers up to a distance of 18 meters. Featuring an integrated demodulation IC, an onboard feedback status LED, and an ambient light filter, it delivers a clean, active-low digital output directly to your Arduino, ESP32, or Raspberry Pi. It is the premier choice for custom home automation hubs, remote-controlled robotics, and smart media centers.
₹ 21
₹ 32
| : |
Add FAQ
Detailed Description
The KY-022 VS1838B Infrared (IR) Receiver Module is a compact, highly reliable wireless interface breakout designed to receive and demodulate infrared signals. While raw photodiodes pick up significant interference from ambient environmental radiation—such as natural sunlight, incandescent bulbs, or overhead fluorescent lighting—the KY-022 isolates target data by utilizing a specialized VS1838B receiver core. This internal component includes an automatic gain control (AGC) array, a bandpass filter, and a demodulator circuit all sealed within a robust metal frame shield.
The system functions on a 38 kHz carrier frequency modulation principle. When a button is pressed on a standard handheld remote control, it fires a sequence of infrared light pulses flashing rapidly 38,000 times per second. The KY-022 receives this patterned light beam, filters out steady ambient background lux up to 500 lumens, strips the 38 kHz carrier wave away, and outputs the underlying binary data command stream as an Active-Low digital signal directly to your host processor. Additionally, the breakout board populates a built-in diagnostic LED that flashes briefly whenever an active IR burst is detected, making hardware troubleshooting and calibration swift and visual.
Key Features and Benefits
-
38 kHz Carrier Wave Filtering: Optimized for absolute compatibility with commercial remote protocols including NEC, RC5, Sony, and Samsung formats.
-
Integrated Visual Feedback LED: Onboard SMD indicator blinks upon signal reception, giving immediate confirmation that a remote command reached the sensor.
-
Long Distance Coverage Bounds: Operates reliably up to an 18-meter line-of-sight window under nominal atmospheric conditions.
-
Built-in Ambient Interference Protection: Incorporates dedicated daylight rejection layers to safeguard against false-triggering under indoor illumination.
-
Simple 3-Pin Breadboard Footprint: Standard 2.54mm pitch breakout arrangement exposes clearly labeled VCC, GND, and Signal ports to ease breadboard wire routing.
Technical Specifications
| Feature Component | Specification Details |
| Core Receiver Component | VS1838B / 1838 Integrated Demodulator Core |
| Target Carrier Frequency | 38 kHz Modulated Spectrum |
| Sensing Peak Wavelength | 940 nm Infrared Array |
| Logic Supply Voltage Window | 2.7V to 5.5V DC (Supports 3.3V and 5V MCUs) |
| Active Supply Current Draw | 0.4 mA to 1.5 mA Max |
| Effective Range Metric | Up to 18 Meters line of sight |
| Reception Spatial Angle | ±45° Conical Detection Arc |
| Output Signaling State | Digital Pulse Stream — Active Low (Normally High) |
| Ambient Daylight Rejection | Up to 500 Lux |
How to Configure & Wire
Module Pinout Identification:
The pin naming conventions on the breakout PCB can sometimes vary slightly between manufacturing batches. Always cross-reference your board with the layout below:
-
Pin 1 (S / OUT): Signal output line. Sends the demodulated digital pulse sequence. Connects to a digital input on your microcontroller.
-
Pin 2 (Middle / VCC): Power supply line (+3.3V to +5V input).
-
Pin 3 (- / GND): Common system ground reference pin.
Quick Setup Prototyping Steps:
-
Connect the module's ground pin (-) to Arduino GND, the middle power pin (VCC) to Arduino 5V, and the signal pin (S) to digital pin 2.
-
Open your Arduino IDE, navigate to the Library Manager, search for "IRremote" by Armin Joachimsmeyer, and install the latest version.
-
Flash the example sketch below to initialize the receiver loop and output decoded hexadecimal button signatures onto your PC screen via the serial interface:
#include <Arduino.h>
#define DECODE_NEC // Enable the standard remote protocol
#include <IRremote.hpp> // Include the core IR library
const int IR_RECEIVE_PIN = 2; // Pin wired to your KY-022 Signal (S) output
void setup() {
Serial.begin(115200); // Open serial monitor at 115200 bps
IrReceiver.begin(IR_RECEIVE_PIN, ENABLE_LED_FEEDBACK); // Start listening
Serial.println("IR Receiver Hub Initialized. Ready for remote commands...");
}
void loop() {
if (IrReceiver.decode()) {
// Print out the decoded HEX command and corresponding protocol
Serial.print("Protocol: ");
Serial.print(IrReceiver.getProtocolString());
Serial.print(" | Command Hex: 0x");
Serial.println(IrReceiver.decodedIRData.command, HEX);
IrReceiver.resume(); // Reset receiver logic to capture the next burst
}
}
Applications
-
Wireless Home Automation: Integrates into lighting networks, smart outlets, and motorized blinds, letting you toggle appliances using a spare TV remote control.
-
Remote-Controlled Robotics: Serves as the wireless control interface for educational Arduino rovers, robotic arms, and obstacle-avoidance buggies.
-
Media Center Control Hubs: Allows custom Raspberry Pi or Arduino DIY media systems to interface with standard consumer electronics remotes.
-
Interactive Art Displays: Embedded within public electronics installations to let users cycle through menu setups or animations wirelessly.
Package Includes
-
1 x KY-022 VS1838B Infrared (IR) Receiver Module
Shipping & Delivery
-
Free shipping on orders above ₹999 across India
-
Dispatched within 1-3 business days
-
Expected delivery: 3-7 business days depending on location
-
Secure packaging to ensure safe transit of electronic components
0 Reviews For this Product