Lesson 15 IR Receiver Module
Lesson 15 IR Receiver Module
Introduction
In this lesson,you will learn how to connecting the IR Receiver to the UNO R3
to have wireless control of your project.
Hardware Required
1 * RexQualis UNO R3
1 * IR receiver module
1 * IR remote
Principle
IR Receiver Module
There are plenty of interesting Arduino projects that use IR communication too.
With a simple IR transmitter and receiver, you can make remote-controlled
robots, distance sensors, heart rate monitors, DSLR camera remote controls,
TV remote controls, and lots more
Infrared radiation is a form of light similar to the light we see all around us. The
only difference between IR light and visible light is the frequency and
wavelength. Infrared radiation lies outside the range of visible light, so humans
can’t see it:
Code interpretation
#include "IRremote.h"
switch(results.value)
{
case 0xFFA25D: Serial.println("POWER"); break;
default:
} //END translateIR
Serial.begin(9600);
translateIR();
The “-” is the Ground, “S” is Signal, and “+” pin is Voltage 5V.
Connect the 5V and ground of the Arduino to the 5v and ground of the IR
receiver and the pin 11 of the Arduino to the signal pin of IR receiver.
Schematic Diagram
Step 2: Open the code:IR_Receiver_Module_Code
Step 3: Attach Arduino UNO R3 board to your computer via
USB cable and check that the 'Board Type' and 'Serial Port' are
set correctly.
Step 6:Open the Serial Monitor then you can see the data as
below: