Published on

Room Automation using Bluetooth

Contributed By - Suraj Partani

Aim

To control the lights and fan of the room through an Android app over Bluetooth.

Hardware involved

  • 4* 5 Volts Relay Board
  • Arduino Board
  • HC-05 Bluetooth Module
  • Jumpers
  • The app which used is Ardudroid

Though Ardudroid has many Bugs but it works good.

Resistor

Technical details

Upload the code to Arduino (found at the bottom) and

Connect the schematics as shown in the diagram:-

Resistor

How to connect your setup to the switch board:-

  1. Go and find the MCB of your room. You will find a MCB Board in your corridor.
  2. Turn the MCB off for your room only.
  3. Open your Switch Board.
  4. Look for a wire which is common to all the switches. The above found wire is LIVE wire (Be cautious of it , Never touch it directly)
  5. Extend this wire and feed it to all COMs of your Relay Board.
  6. You will find the wire for tubelight connected to the other side of switch. Connect this wire to NO pin of any of the relays.
  7. Connect other wires(From Fan/Lamp/Tubelight) to different Relays .
  8. Pack your Switch Board.

Precautions

  • Don’t mess with the AC current.
  • Use High quality wires for AC current.

Code files can be found here ooth-code.docx)