Introduction: IR Home Automation Using Arduino
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
- Arduino
- BC547 Transistor
- 1k and 10k Resistors
- 4 Relays 12V
- Breadboard And PCB
- TSOP-1738 IR Sensor
Step 1: How to Find Binary Code of Remote Buttons.
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.
Step 2: How to Make Relay Module.
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.
Step 3: How to Connect Relay Module With Arduino
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.
Step 4: Make Final Circuit
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.
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.