How to Control Appliances With IR Remote

by JunezRiyaz in Circuits > Arduino

2495 Views, 9 Favorites, 0 Comments

How to Control Appliances With IR Remote

57da4f8645bcebe26000020e.jpeg

Controlling appliances with IR remote is nothing but when we press a button/key of a remote it generates digital pulse and transmit out in the form of IR radiation with a certain fixed frequencies. The output of the IR remote is received by IR receiver module and transfer pulse through its output pin to Arduino. Arduino compiles the code and gives specific output at assigned digital pin. The output of the Arduino is taken to the relay driver board through a connector .As per the give input to relay board it switches the appliances.

Components

IMG_20160415_112843_HDR.jpg
IMG_20160415_112856_HDR.jpg
57209ed415be4df4d0000b41.jpeg
57209f54937ddbd7df00141c.jpeg

Arduino UNO

Relay Board

TSOP1738

Jumpers

Ordinary IR remote

Recording Data of IR Remote

Screenshot (40).png
2016-03-30 18.40.57.jpg
Screenshot (160).png

Now upload the Code attached into the Arduino

As the output of the remote varies from remote to remote, to make use of the remote we have to know codes initially. So to record the codes of the remote we have to make a setup.

As per our project we connected tsop 1738 vcc to 5v supply of arduino,ground pin of tsop1738 to ground arduino and output pin of tsop 1738 to 11th digital pin of arduino. The arduino is programmed in such away that when it receives input it shows IR code of specific key in serial monitor of Arduino software.Note down the code displayed on serial monitor.

Setting Up Arduino With Relay Board

2016-04-15 12.59.54.jpg
571de8e02e7fb676d200011b.jpeg

After noting the codes of each key we have to program arduino once again to give inputs to relay driver board.

Now edit the code according to your remote output codes displayed in serial monitor in the code attached and upload it into arduino.

As per our project we connected tsop1738 ground,vcc,output is connected to ground, digital pin 13, digital pin 11 of arduino respectively .Relay driver board vcc,ground is connected to 5v output pin, ground of arduino respectively. Input pins 1,2,3,4 of relay driver board is connected to digital pins 7,6,5,4 of arduino respectively .Load of 230v AC is connected to NO pin of all relays of relay driver board and of relay driver board is connected to two pin plug holder individually,another pin of 2 pin holder is connected to neutral(ground) of 230v AC.

Downloads

Relay Module Tutorial

Relay Module Tutorial | Arduino

Testing

Remote Control for Home Appliance | With IR remote and Arduino

If you have any doubts about this project please feel free to Comment.

If you want to learn ​C Programming you can easily learn at ​codingtute. It will enhance your arduino programming skills.

Don't forget to subscribe my youtube channel