Introduction: How to Make a Simple Home Automation System

About: I love electronic and made new things. Electronic gives to us lots o adventure and explore new things. DIY is the best way to learn and make new electronics feature.

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.....

[Play Video]

Step 1: Requirement

  1. Arduino Nano
  2. Relay 5V
  3. LED
  4. Transistor BC548
  5. Female header
  6. 5V charger/5V power supply
  7. Srew terminal
  8. IR receiver TSOP
  9. PCB
  10. Encloser
  11. Copper PCB
  12. DipTrace Software and other Stuffs.

Step 2: Design and Make PCB

All stuff for PCB, Arduino library and code.

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.

  1. On the PCB one copper line for transistor Emitter terminal is always connected to GND.
  2. Arduino nano mostly gives 5 V output so LEDs positive terminals is connected to Arduino output pins.
  3. LED negative terminal is connect to Base of transistor. (Use of indicate ON/OFF state)
  4. Pins 7,8,9 is use for output signal as ON/OFF state.
  5. Pin 11 is use for receive the IR signal by IR receiver.
  6. Connect IR Receiver TSOP 1738. ( Check pin configuration )
  7. Connect Female header at the position of Arduino nano.
  8. Connect relays.
  9. 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