Infrared sensor receiver module guide (KY-022)

in this article we tried to explain Infrared receive module (KY-022), how it works and what projects it can be used for. We showed Ky-022 pinout, infrared receiver module pinout and circuit diagrams.

0
4212

Infrared (IR) beam technology has long been widely used in technological devices. The TV controls we use constantly send information to the television via infrared light signals. The infrared sensor receiver module is simply a receiver module as the name implies. It is used to detect infra-red rays at a specific frequency.

Various companies produce IR modules. If you want to make IR receiver circuit with a few electronic materials easily.

Keyes KY-22 38 KHZ

KY 022 IR Sensor Module Circuit Diagram:

As you can see from the image above, the circuit diagram of the IR sensor module is very simple. You actually just need to materialize the 1838B IR receiver. When using this receiver in your circuits, you can use LEDs and Resistors, as is the case with Keyes.

 

VS(OS) 1838B IR receiver spesifications:

KY 022 IR Sensor Module Pinout:

  • +VCC = 3.0V or 5.0V supply voltage
  • GND is Gound (-)
  • Signal will connect to arduino, raspberry etc…
  • Reception distance: 17m
  • Carrier Frequency: 38kHz

 

Infrared sensor receiver module Arduino sample connection

As follows, a connection can be made between Arduino and the infrared receiver circuit. The signal output of the KY-022 infrared receiver circuit is connected to Arduino’s digital input number 10.

Example Code:

 

/* * IRremote: IRrecvDemo - demonstrates receiving IR codes with IRrecv * An IR detector/demodulator must be connected to the input RECV_PIN. * Version 0.1 July, 2009 * Copyright 2009 Ken Shirriff */ 
#include <IRremote.h> 
int RECV_PIN = 11; 
IRrecv irrecv(RECV_PIN); 
decode_results results; 
void setup() { 
Serial.begin(9600); 
irrecv.enableIRIn(); // Start the receiver 
}
void loop() { 
if (irrecv.decode(&results)) { Serial.println(results.value, HEX); 
irrecv.resume(); // Receive the next value } 
}

 

 

The IRRemote library was used in the above code. To use this code, download the IRRemote library here and add it to Arduino.

What to do with Infrared sensor receiver module

#1 IR remote Home Control using the KY-022 IR receiver

In this project, you can control the lighting of multiple rooms by remote control. We need additional equipment like Relay Module, buzzer, remote control.

#2 Universal Arduino Remote

This project won the award for best remote control project at Instructables. Ky 022 and encoder are used in this project, you can control hundreds of buttons with a single controller.

#3 Sensor Based 4WD Vehicle

As in the above project, you can control a 4-wheeled vehicle with the KY 022 module and the remote control.

#4 Controlling LED’s With an IR Remote

This may be the first project that beginners should do. In this project, you control several leds by remote.

#5 Servo motor control with KY 022 infrared receiver module

You can easily control the motors such as servo motor via arduino. In this project, how to control servo motor using KY 022 is explained.

consequently;

in this article we tried to explain Infrared receive module (KY-022), how it works and what projects it can be used for. We showed Ky-022 pinout, infrared receiver module pinout and circuit diagrams. If you have any questions, you can ask them in the comments section.

LEAVE A REPLY

Please enter your comment!
Please enter your name here