How to interface IR MODULE to Arduino Uno ( For beginners )

Nowadays IR is very common, every automatic electronic device having the capability to control it from a reasonable distance using IR remote. This is very easy to use and require very small setup.in this part we are going to implement a system in which a IR recorder interfaced with Arduino is used to control the electronics devices as well as heavy electrical devices. Ordinary IR remote control (e.g. TV, DVD Player) will be used for this purpose.

IR Decoder:

TSOP38238 shown in the figure. This device consist of IR sensitive photocell, automatic gain control and, a 38 kHz band pass filter. It can be operate on 3.3v or 5v the of power supply. It receive the IR signal and decode it then give you a clear binary signal (Square Ware) a of voltage level that you have given to the IR Module. Due to this it’s very ideal for feeding its 5v output direct to the Arduino digital pin. 
Experimental Setups:  


1. There are three pins on the module Power and GND are common pins .The SIG pin are
output pin and connect it to the digital pin of Arduino here we connected on pin D11.

2. This module will not work unless you import the desired library to the Arduino IDE Download it from the internet make sure the is some serial code available in the sketch to see the results on the serial monitor

3. Start a new sketch and click
Sketch->Import Library->IR.

4. Connect the Arduino to your computer using the usb port, then upload the sketch. Open up the Serial Monitor, get the remote and press the buttons. Some hex codes should appear on
the Serial Monitor
  

Control Home Appliances using infrared tv Remote

Related posts

Arduino Opta PLC Pros & Cons

Breakthrough of Ardino-Pro Opta: Micro-PLC with industrial IoT proficiency

Top Arduino sensors – the ultimate list 2021