Home automation is use for controlling home appliances with you smart phone. Instead of using mechanical switches, you can now conveniently control all the devices in your home from your fingertips. The core hardware is rather simple and only consists of an Arduino microcontroller kit, a Bluetooth wireless module, and a relay.
Components Required
- Arduino Uno (or Mega, Pro Mini, Nano – but in this tutorial we use the Arduino UNO)
- Relay module
- HC-05 Wireless Bluetooth Module
- Lamp
- Breadboard
- Jumper wires
- Arduino bluecontrol app
Circuit Diagram
Arduino UNO to HC -05 BT
Vcc---------------vcc
Gnd--------------Gnd
TXD--------------RXD
RXD--------------TXD
Arduino UNO to relay
Vcc--------------vcc
Gnd-------------Gnd
pin 2-----------IN(relay 1)
pin 3------------IN(relay 2)
- Com of both relay connected to line(ac).
- Neutral of both bulb connected to supply.
- Line of bulb1 connected to relay1 NO.
- Line of bulb2 connected to relay2 NO.
Arduino Code for Home Automation
Download Arduino blueControl app from Google Play Store. After opening the app go to >>button option . Set button key according to code command given.