You are on page 1of 6

Project

on
IR Remote Controlled Home Automation

for the
Course: Analog and Digital Systems (UEE505)

Submitted to: Submitted by:


Dr. Sangeeta Kamboj Avikant Chhibber (101505030)
Divye Kotwal (101505036)
Kanha Malik (101505048)
Karan Juneja (101505049)

Electrical & Instrumentation Engineering Department


Thapar University, Patiala (Punjab)
Table of Contents
Objective .................................................................................................................................... 1
Introduction ................................................................................................................................ 1
Work done.................................................................................................................................. 1
Circuit Diagram ......................................................................................................................... 1
Specifications.2
Component
List..3
Result..4
Conclusion..4
References..4

i
Objective
To remotely control home appliances wirelessly using any IR remote control.

Introduction
Each button on remote controllers generate a particular code corresponding to that button.
The sensor interprets that signal and converts it into corresponding hex code which is fed to
the Arduino UNOs input pin. It then matches the code with the pre-defined set values and the
output corresponding to that code (or button pressed) is set high/low. Therefore, the same
button can be used to either switch on or off (if already on) that particular appliance connected
to that pin via a relay module.

Work done
Working of this project is easily understandable. When we press any button of IR
Remote, the remote sends a code in form of a train of encoded pulses using 38kHz
modulating frequency. These pulses are received by TSOP1738 sensor and read by
Arduino and then Arduino decodes received train of pulse into a hex value and compares
that decoded value with the predefined hex value of the pressed button. If any match
occurs, Arduino performs the corresponding operation (setting a pin HIGH in this case).
Here in this project, we have used 3 bulbs for demonstration.
There are many types of IR Remotes which are available for different devices but most of
them work on around 38kHz frequency signal. Here in this project we control home
appliances using IR transmitter in a phone. For detecting IR signal, we use TSOP1738 IR
receiver. This TSOP1738 sensor can sense 38kHz frequency signal.

Circuit Diagram

Figure 1. Circuit diagram

1
Specifications of the Project:
TSOP1738 :
The TSOP 1738 is a member of IR remote control receiver series. This IR sensor module
consists of a PIN diode and a pre-amplifier which are embedded into a single package. The
output of TSOP is active low and it gives +5V in off state. When IR waves, from a source,
with a centre frequency of 38 kHz incident on it, its output goes low.
The infrared receiver has 3 pins:
First pin: Vout, outputs HIGH when no signal is present and LOW when a mark is received.
Second pin: GND.
Third pin: Vcc.

Arduino Uno :
Arduino Uno is a microcontroller board based on the ATmega32. It has 14 digital input/output
pins (of which 6 can be used as PWM outputs), 6 analog inputs, a 16 MHz quartz crystal, a
USB connection, a power jack, an ICSP header and a reset button. It contains everything needed
to support the microcontroller; simply connect it to a computer with a USB cable or power it
with a AC-to-DC adapter or battery to get started.

2
RELAY :
Relay is an electromagnetic switch, which allows much larger current to flow when a small
current is applied to it, like we use transistor as a switch. Relay is generally used to control
the AC (alternate current) devices, using a much smaller DC current.
Here we use a 6V operating relay, which allow 7A-250VAC current to flow.

Component List:
S.No Component Specifications Quantity Cost ()
1 Battery 9V 1 25
2 IC 7805 1 30
3 IR Sensor TSOP1738 1 ?

4 Op-amp LM358 1 35
5 Resistor 10k 1 10
6 Resistor 1k 3 10
7 Relay 6v 1 ?
8 Bulb 3 60

ExtraExpenditure ?
(Wires+Breadboard+other)
Total ?

3
Result :
The bulb can be switched ON/OFF using IR remote control.

Conclusion :
The code controls the relay. Any detected IR code will toggle the output on or off. Press a
button once on the remote and the output will turn on. Press a button again and the output will
turn off.

References :
www.instructables.com/id/Arduino-Control-LEDs-with-a-Remote-Control/
www.electroschematics.com/9522/arduino-control-leds-ir-remote/
https://diyhacking.com/controlling-leds-arduino-ir-sensor-remote/
https://brainy-bits.com/blogs/tutorials/ir-remote-arduino