- 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.
Technical details
Upload the code to Arduino (found at the bottom) and
Connect the schematics as shown in the diagram:-
How to connect your setup to the switch board:-
- Go and find the MCB of your room. You will find a MCB Board in your corridor.
- Turn the MCB off for your room only.
- Open your Switch Board.
- 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)
- Extend this wire and feed it to all COMs of your Relay Board.
- 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.
- Connect other wires(From Fan/Lamp/Tubelight) to different Relays .
- 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)