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](/proxy/?url=https://content.instructables.com/F03/6G53/IT22XFEE/F036G53IT22XFEE.jpg&filename=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](/proxy/?url=https://content.instructables.com/F4W/HNPC/INI7SEQE/F4WHNPCINI7SEQE.jpg&filename=IMG_20160415_112843_HDR.jpg)
![IMG_20160415_112856_HDR.jpg](/proxy/?url=https://content.instructables.com/F6R/533I/INI7SEQI/F6R533IINI7SEQI.jpg&filename=IMG_20160415_112856_HDR.jpg)
![57209ed415be4df4d0000b41.jpeg](/proxy/?url=https://content.instructables.com/FFC/YBMZ/INI7SERZ/FFCYBMZINI7SERZ.jpg&filename=57209ed415be4df4d0000b41.jpeg)
![57209f54937ddbd7df00141c.jpeg](/proxy/?url=https://content.instructables.com/F91/APRK/INI7SEV2/F91APRKINI7SEV2.jpg&filename=57209f54937ddbd7df00141c.jpeg)
Arduino UNO
Relay Board
TSOP1738
Jumpers
Ordinary IR remote
Recording Data of IR Remote
![Screenshot (40).png](/proxy/?url=https://content.instructables.com/FKZ/HF3J/IT22X5QD/FKZHF3JIT22X5QD.png&filename=Screenshot (40).png)
![2016-03-30 18.40.57.jpg](/proxy/?url=https://content.instructables.com/FUU/NEBX/INI7SGVI/FUUNEBXINI7SGVI.jpg&filename=2016-03-30 18.40.57.jpg)
![Screenshot (160).png](/proxy/?url=https://content.instructables.com/FBO/5GAE/IT22XG8R/FBO5GAEIT22XG8R.png&filename=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.
Downloads
Setting Up Arduino With Relay Board
![2016-04-15 12.59.54.jpg](/proxy/?url=https://content.instructables.com/FUH/5A51/INI7SIHQ/FUH5A51INI7SIHQ.jpg&filename=2016-04-15 12.59.54.jpg)
![571de8e02e7fb676d200011b.jpeg](/proxy/?url=https://content.instructables.com/FON/0TJY/INF9GP3C/FON0TJYINF9GP3C.jpg&filename=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](/proxy/?url=https://content.instructables.com/FXM/YG27/IT22X7ZP/FXMYG27IT22X7ZP.jpg&filename=Relay Module Tutorial | Arduino)
Testing
![Remote Control for Home Appliance | With IR remote and Arduino](/proxy/?url=https://content.instructables.com/F4W/EC3M/IT22X9Z6/F4WEC3MIT22X9Z6.jpg&filename=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