IR Home Automation Using Arduino

by secretofelectronics in Circuits > Arduino

1028 Views, 2 Favorites, 0 Comments

IR Home Automation Using Arduino

20210314_151824.jpg

Four Channel Home Automation With IR

Intro:- This is a home automation circuit using Arduino microcontroller.I have only connected 4 Appliences.But you can connect more Appliences.


Components

  1. Arduino
  2. BC547 Transistor
  3. 1k and 10k Resistors
  4. 4 Relays 12V
  5. Breadboard And PCB
  6. TSOP-1738 IR Sensor

How to Find Binary Code of Remote Buttons.

Arduino Ir.png
IMG_20210314_150106.jpg

First take your ir sensor and see its Number. And search on google type pinout of sensor number. Connect Vcc of ir sensor with 5V of arduino uno. And connect GND of ir sensor with GND of arduino uno. Connect out terminal of ir sensor with digital pin 11 of arduino uno.

Connect your arduino uno with your pc and open Arduino ide. And select board and port. Download this code and import IRreceiver library in your ide. After uploaded this code. open the serial Monitor and press any key of your remote you see the code will printed on serial monitor.

Note:- Copy this code on your notped.



Download IR Receiver Code.

How to Make Relay Module.

20210314_123407.jpg
20210314_123021.jpg

If you no intersted to purchase relay module don't worry. I explain you how to make diy relay module. First take a 12v relay connect any one coil terminal with collector of transistor. Take one IN4007 diode connect positive terminal of diode with collector terminal of Transistor. And connect negative terminal of diode with second coil terminal of relay. Connect one terminal of 1k resistor with base terminal of transistor and connect negative terminal of Transistor and connect negative terminal of diode with +12v and connect Emitter terminal with -12v.

The diy relay module has completed. make 3 other relay module according 1st relay module.

How to Connect Relay Module With Arduino

20210313_145307.jpg
20210313_145324.jpg
20210313_145344.jpg
20210313_145721.jpg
20210313_145728.jpg
20210313_145421.jpg
20210313_145337.jpg

Connect input of all relay module with digital pin of Arduino according this Circuit. And connect your appliences with common terminal and N/O terminal of relay in series.




Sefty If you not have good knowledge of Electrical then. Do not try make this yourself. Go any Electrical shop. He will help you.

Make Final Circuit

20210314_124801.jpg

After connecting all components. Add switch statement in your Arduino code. If you not have programming language Knowledge then download this code and open this code with your Arduino ide and upload this code on your arduino uno.

Complete Code of This Project

Your project have completed. if you have any questions. please tell me in comments. if you interested in electronics then subscribe our youtube channel and follow instagram.