Introduction: How to Make a Simple Home Automation System
Home automation gives you access to control devices in your home from a mobile device and other device anywhere in the world. The heart of device is programmable microcontroller devices, like Arduino, Raspberry pi, BeagleBone Black, SparkCore, DigiSpark, DigiSpark, ExtraCore system, but home automation more accurately describes homes in which nearly everything -- Room light, cooling AC, Motors, Fans, control any A.C. devices and D.C. devices are hooked up to a remotely controllable network. From a home security perspective, this also includes your alarm system, and all of the doors, windows, locks, smoke detectors, surveillance cameras and any other sensors that are linked to it.
This instructable is based on IR (Infrared) remote technology. In which you can control any A.C. and D.C. device by using a simple T.V. and other normal remotes. In today smartphone have a feature of IR transmitter which is easily available in market at a middle budget.
Lets gets Started.....
Step 1: Requirement
- Arduino Nano
- Relay 5V
- Transistor BC548
- Female header
- 5V charger/5V power supply
- Srew terminal
- IR receiver TSOP
- Copper PCB
- DipTrace Software and other Stuffs.
Step 2: Design and Make PCB
Design PCB in PC software and than print on a Photo paper by using a laser Printer. Take a new copper PCB and clean it. Iron the photo paper on PCB and than Etch the PCB. After that drill the hole by mini drill machine as hole size component required.
Step 3: Attached Component
Follow the schematic.
First check data sheet of transistor and Relay and collect useful information like transistor pins detail, relay connection, LED terminals, power supply and IR transmitter. Than placed all component and soldered it carefully as shown in image. Soldered fist all small components.
- On the PCB one copper line for transistor Emitter terminal is always connected to GND.
- Arduino nano mostly gives 5 V output so LEDs positive terminals is connected to Arduino output pins.
- LED negative terminal is connect to Base of transistor. (Use of indicate ON/OFF state)
- Pins 7,8,9 is use for output signal as ON/OFF state.
- Pin 11 is use for receive the IR signal by IR receiver.
- Connect IR Receiver TSOP 1738. ( Check pin configuration )
- Connect Female header at the position of Arduino nano.
- Connect relays.
- At the last stage connect 5 V regulated power supply.
Step 4: Scan Raw Value
Now its turns to choose any remote as you want for controlling purpose. And download Arduino IR libraryand past in Arduino library. And do not forgot to delete the library file of Robot_IRreceiver. Open Arduino IDE and click on File---Example---IRremote---IRrecvDemo.
Connect Arduino to PC and Select COM port and Type of Board in Tools. After selection both things Upload the sketch in Arduino. Connect IR receiver to Arduino Board. ( first see pins of your's TSOP IR receiver from data sheet)
Now press remote buttons, you receive some Hexadecimal value. Note down all values of remote transmit in front of buttons of remote in a list.
Step 5: Raw Value Put in Arduino Code
Which buttons are going to use put that button value in Arduino sketch. Process of changing values are given in above image.
Select COM port and board type in tools: COMxx ---- Arduino Nano
Complete the sketch and upload to Arduino Nano board.
At the final stage connect the Arduino Nano to PCB board.
Step 6: Test It
This times to testing the whole circuit. When your test is completed than Connect the relay to your's Home appliances as a Normal switch connection.
You done all thing. Now your Home automation is ready.
I hope you enjoy this instructable and thank you for reading this instructable
Please like and subscribe My youtube channel for new updates : - Technocrat
Blog : - technocrat.tech.blog
Participated in the
Green Electronics Contest 2016
Participated in the
Make it Glow Contest 2016
Participated in the
Arduino Contest 2016
1 Person Made This Project!
- AshokK17 made it!