Home Automation using Bluetooth enable mobile application

Published Sep 06, 2018
 4 hours to build
 Beginner

Home automation using Bluetooth is used for controlling the home appliances like light bulb, Fan etc. Platform used for this project is Arduino. HC-05 Bluetooth device used for wireless communication.

display image

Components Used

Bluetooth Module HC-05
Bluetooth is a wireless communication protocol used to communicate over short distances. It is used for low power, low cost wireless data transmission applications over 2.4 – 2.485 GHz (unlicensed) frequency band.
1
Relay Module Two channel
Relay Module Two-channel
1
Lamps
Lamps Candelabra Screw 230V
1
DC Gear Motor
AC, DC & Servo Motors 12V DC planetary gear motor, 27 rpm, 1/150 gear ratio, 37mm diameter
1
Description

Introduction

   Nowadays, people have smart phones with them all the time. So it makes sense to use these to control home appliances. I build a home automation system using a simple Android app, which you can use to control electrical appliances with clicks. Commands are sent via Bluetooth to Arduino Uno. So you need not get up to switch on or switch off the device.

Circuit Diagram

  • Make the connection as shown in bellow figure

                                                    Fig5.Circuit connection

  • Pin no 2,3 of arduino is used for serial communication with HC-05 bluetooth module.
  • Bluetooth module receives the data from user and send it to arduino.
  • According to received data arduino takes decision.
  • To control light it sends signal on pin 7.
  • To control fan it sends signal on pin 8.

Mobile Application

  • Application used for this project is ‘Bluetooth control home’.
  • Download this application from play store.

                                

 

                                                     Fig4.Application screen

Working of project

  • Using home automation application user send command like 'ON/OFF' fan and light.
  • This application send users command to HC-05 bluetooth device through bluetooth.
  • HC-05 receives the command and send it to arduino.
  • Arduino continues check serial pin for data.
  • When data is available it collects data and take appropriate control action.

Program Steps

  • If data is available on serial pin, read the data and store it into variable.
  • If Received data is 'a' then turn off light and if it is 'A' then turn on light.
  • If Received data is 'b' then turn on fan and if it is 'B' then turn off fan.

Video

Codes
Comments
Ad