0% found this document useful (0 votes)
206 views

Keyes - Infrared Receiver Module

The Keyes IR receiver module allows for infrared remote control of projects using low power and an easy-to-use package. It uses a PIN diode and preamplifier on a lead frame with an epoxy package acting as an IR filter. It can directly decode signals from a microprocessor. Specifications include a supply voltage of 2.7-5.5V, 1.5mA current, -25-85°C operating temperature, 37.9kHz frequency, 90° receiving angle, and 18m receiving distance. To use it, connect the module to an Arduino via the pin connections and load the IRremote library to display the hex code of buttons pressed on a remote control.

Uploaded by

Murat Tanır
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
206 views

Keyes - Infrared Receiver Module

The Keyes IR receiver module allows for infrared remote control of projects using low power and an easy-to-use package. It uses a PIN diode and preamplifier on a lead frame with an epoxy package acting as an IR filter. It can directly decode signals from a microprocessor. Specifications include a supply voltage of 2.7-5.5V, 1.5mA current, -25-85°C operating temperature, 37.9kHz frequency, 90° receiving angle, and 18m receiving distance. To use it, connect the module to an Arduino via the pin connections and load the IRremote library to display the hex code of buttons pressed on a remote control.

Uploaded by

Murat Tanır
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

Keyes

Infrared Receiver Module

General Description
Use this simple Keyes IR receiver for infrared remote control of your next project. With low
power consumption and an easy to use package, it mates well with embedded electronics and can be
used with common IR remotes.
The TSOP18.. – series are miniaturized receivers for infrared remote control systems. PIN diode
and preamplifier are assembled on lead frame, the epoxy package is designed as IR filter. The
demodulated output signal can directly be decoded by a microprocessor. The main benefit is the reliable
function even in disturbed ambient and the protection against uncontrolled output pulses.

Page 1 of 5 pages
Specifications
 Supply Voltage: 2.7V to 5.5V
 Supply Current : 1.5mA
 Operating Temperature: -25°C to 85°C
 Frequency: 37.9KHZ
 Receiving Angle: 90°
 Receiving Distance: 18m

Schematic

Using the Module


You need:
Arduino
Keyes IR Receiver Module
Connecting wires
Any Remote / IR transmitter
1. Connect the Keyes IR Module to your arduino by following the pin connections shown below.

Page 2 of 5 pages
2. Download IRremote library and extract it to library folder in your Arduino directory.
3. Enter this sketch to your Arduino IDE then click upload. You can also find this at RFID library
examples. This program will display the hex equivalent of the button pressed on a remote.

#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
delay(200);
}
}

4. Get your remote and press some buttons.

Actual Setup

Page 3 of 5 pages
Results

Sample Program
This sample program will assign a message on a remote button. I have used QRemote on
android to transmit remote data.
#include <IRremote.h>

int message;
int RECV_PIN = 11;

IRrecv irrecv(RECV_PIN);

decode_results results;

void setup()
{
Serial.begin(9600);
irrecv.enableIRIn(); // Start the receiver
}

Page 4 of 5 pages
void loop() {
if (irrecv.decode(&results)) {
message = results.value, HEX;
switch (message){
case 0xA90: Serial.println(" = Power ON"); break;
case 0x290: Serial.println(" = Mute"); break;
case 0x90: Serial.println(" = Channel +"); break;
case 0x890: Serial.println(" = Channel -"); break;
case 0x490: Serial.println(" = Volume +"); break;
case 0xC90: Serial.println(" = Volume -"); break;
default: Serial.println("Press a button");
}
irrecv.resume(); // Receive the next value
delay(500);
}
}

Page 5 of 5 pages

You might also like