In present times there are many types of Home Automation Systems which are available in the market. Most of these are simple Home Appliances Controlling Systems like DTMF controlled Home Appliances, GSM based Home Appliances Controlling, RF based Home Appliances Controlling. Here we are going to discuss about TV or DVD Remote Control LED Home / Office Appliances Control (Home Automation System) using Arduino Board.
In this project, TSOP (IR Receiver) is connected with Arduino. Arduino receives encoded signal coming from IR Remote and then decodes by using IRremote.h library, which is easily available on internet (Find this library by typing on Google IR remote library for Arduino). After decoding the signal, compare decoded signal with defined value, if the match occurs then perform related function or switching on/off related relay by using digital input/output. Here AC load is used for demonstration. Three Home/Office Appliances are used for demonstration. In which one zero watt bulb indicated by light 1 and second is 100 watt bulb indicated by light 2 and third and last is TV/LCD indicated by TV. LCD is also interfaced with arduino in this system for displaying the current status of Appliances like TV ON, TV OFF, light 1 ON, light 1 OFF, light 2 ON, light 2 OFF, ALL ON, ALL OFF etc.
Fig. 1: Image showing IR Remote used for controlling Home Automation System
Fig. 2: Prototype of Arduino based IR Remote controlled Home Automation System
Fig. 3: Image showing switching a bulb on by IR Remote via Home Automation System
Fig. 4: Image showing display panel in prototype of Arduino based Home Automation System
Fig. 5: Image showing Relay Circuit used in Arduino based Home Automation System
Fig. 6: Image of Display Panel of Home Automation System showing switching status of a home appliance
Fig. 7: Image of LED TV controlled by Arduino based Home Automation System
Fig. 8: Image showing circuit connections of Arduino based Home Automation System with an LED TV
Fig. 9: Block Diagram of Arduino based IR Remote controlled Home Automation System
It is assumed that the reader has gone through the project how to get started with the arduino and done all the things discussed in it. Circuit of this system is very simple in this TSOP 1738 connected to digital pin 9 of Arduino, which detects 38 KHz IR frequency and relays are connected to digital pin 10, 11, 12 of Arduino for controlling light 1, light 2, TV respectively using ULN 2003 IC is a high-voltage high-current Darlington transistor arrays. Each consists of seven NPN Darlington pairs that feature high-voltage outputs with common-cathode clamp diodes for switching inductive loads and 5 volt relays are used here, which are best suitable for these types of Projects. Light 1 is connected with relay 1, light 2 is connected with relay 2 and TV is connected with relay 3.
Fig. 10: Circuit Diagram of TSOP1738 based IR Receiver
Relay Connection Circuit for DC supply (connect AC supply in place of battery and electrical appliances in place of LED polarity does not effects in AC.)
You can add more Home/Office Appliances with this system by adding some functions in the program. 16×2 LCD’s commands pins RS and EN is directly connected with pin 7 and 6 respectively and Data pins d4, d5, d6, d7 are connected with 5, 4, 3, 2 pins of Arduino.
Working & Components Used
1. When we press key 1, this is responsible for tuning on TV/LCD and if we again press this, key is now responsible for tuning off TV.
2. When we press key 2 this is responsible for tuning on light 1 and if we again press this key it is now light 1 tuned off.
3. When we press key 3 this is responsible for tuning on light 2 and if we again press this key it is now light 2 tuned off.
Programming of this project is very easy. Initialize IR Remote library and LCD library. Then define some strings for match or compare. Store IR decoded result and compare this with defined strings. If any match occurs perform related function then enjoy it.
2. TSOP 1738
3. Connecting wires
4. Power supply
5. AC appliances
8. IR remote