Wednesday, September 14, 2016

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

Now days IR is very common that every automatic electronic device consist for the control from a distance. 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 of power supply. It receive the IR signal and decode it then give you a clear binary signal (Square Ware) 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


0 comments:

Post a Comment


Popular Posts

ElectronicsLovers. Powered by Blogger.

Contact Form

Name

Email *

Message *