0% found this document useful (0 votes)
109 views

Android Based Home Automation System

Uploaded by

Gaurav Shekhar
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
109 views

Android Based Home Automation System

Uploaded by

Gaurav Shekhar
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

International Journal of Scientific & Engineering Research Volume 9, Issue 11, November-2018

ISSN 2229-5518
294

Android Based Home Automation


System
Roshan Gosalia, Student, MPSTME, Darshil Gala, Student, MPSTME, Ami Munshi, Mentor, Asst.
Prof, MPSTME

Abstract— This project has been undertaken with the [6] Mohd Nor Azni designed a home automation
aim to address various issues regarding electric load system in which web interface has framework known
handling. It involves the use of an android device as Restful Api and function as to control Raspberry Pi
which is responsible for providing functionality to using an http request. Besides that, Android apps will
homes and offices by optimizing the switching exploit the services provided by Restful Api for
operations of various applications. A Bluetooth controlling gpio of Raspberry Pi.
receiver is interfaced with microcontroller in order to
[7] 1P.Siva Nagendra Reddy, 2K.Tharun Kumar
accept the commands and then it reacts accordingly.
This paper also deals with controlling various
Reddy the main feature of their system is to control
domestic applications and in industrial setups. the voltage levels of home appliance in home like
speed of fan based on temperature, intensity of light
based on light intensity etc. and another feature is we
Keywords – Android Smart Phones, Bluetooth Module, may get the status of our home appliances from our
Operating System, Electrical Appliances android mobile phone.

IJSER
INTRODUCTION OVERALL SCHEMATIC

I n the present scenario the majority of switching


operations are manual and do not imbibe the idea of
IOT and the interconnection of various applications to
As far as automation goes, ergonomics is the essence of
all function. Therefore in our project we implement the
usage of a modem that follows such a philosophy.
help optimize operation. These days there is a clear
divide between electrical and software systems, and this
leads to inefficient and often incompatible processes. To
solve this dearth in integration of a variety of
applications, this project of Home Automation aims to
use a modem that brings all switches and control to the
user in one place.

LITERATURE SURVEY Figure 1: Overall Block Diagram

[1] Amul Jadhav developed an application in a universal The above diagram shows the overall schematic flow
XML format which can be easily ported to any other that illustrates user control, the modem’s functions and
mobile devices rather than targeting a single platform. the end applications to be operated. First we see that the
[2] Shiv Kumar designed a prototype in which the master user operates an android based smartphone on which an
controller of smart-home system supports both Bluetooth application geared towards automated control is
and Internet connectivity. installed. This Android application includes support for
the Bluetooth network stack through which it allows data
[3] Er. Vikram Puri has proposed a working protocol of
transfer and control of another Bluetooth device and its
PIC Technology utilizing PIC 16F877A microcontroller. parameters.
Also their wireless communication ranges from 10m –
30m. Then we see the heart of the project, the Automation
Modem wherein a combination of a microcontroller, fuse
[4] Prof.H.B.Shinde, Abhay Chaudhari, Prafull Chaure, and a relay system form the processor that takes in input
Mayur Chandgude, Pratik Waghmare designed a model data such as Bluetooth packets and voice data and then
using Arduino Atmega328 controller and ESP8266 Wi- sends it to a rely system that is responsible for
Fi module for wireless communication. interfacing with applications. This relay system uses a
[5] Alper Gurek, Caner Gur, Cagri Gurakin, Mustafa relay driver that drives four relays used to drive four
Akdeniz, designed an Android based home automation external applications.
system that allows multiple users to control the
appliances by an Android application or through a web
site.

IJSER © 2018
http://www.ijser.org
International Journal of Scientific & Engineering Research Volume 9, Issue 11, November-2018
ISSN 2229-5518
295

The Android platform includes support for the Bluetooth


network stack, which allows a device to wirelessly
exchange data with other Bluetooth devices. The
application framework provides access to the Bluetooth
functionality through the Android Bluetooth APIs. Using
these functionalities we can scan for other Bluetooth
devices, Establish RFCOMM channels and transfer data
to and from other devices. To find other devices we use
two methods namely, through device discovery or by
posing a query to the already paired devices. When you
have successfully connected two (or more) devices, each
one will have a connected Bluetooth Socket.
As shown in the figure, an android based application has
channeled communication through the wireless medium
of Bluetooth.

MODEM

We begin with what this module is comprised of: We


Figure 1: Circuit Diagram have a 5 switch circuit relay board, along with an
AT89S52/8051 microcontroller responsible for
processing, Bluetooth module HC-05 as well as a fuse
that poses as a preventative measure. (Elecrow)

IJSER
ANDROID & BLUETOOTH FUNCTION
The first aspect of this project deals with granting the user
external control with the aspect of an android application
that uses Bluetooth capabilities to control a module which
in turn helps relay relevant information to external
applications.
Android's user interface is based on manipulation, using
touch inputs that loosely correspond to real-world actions,
like swiping, tapping, pinching and reverse pinching to
manipulate on-screen objects.

Figure 4: Applications using Modem [11]

An 8051 microcontroller is used in this system. The


Bluetooth receiver is interfaced with microcontroller in
order to accept the commands and then react
accordingly. It operates the loads through a set of relays
using a relay driver IC. Relays are used between loads
and the control unit.
The power supply setup of the system contains a step
down transformer of 230/12V, used to step down the
voltage to 12VAC. To convert it to DC, a bridge rectifier
is used. In order to remove the ripples, a capacitive filter
is used and it makes use of 7805 voltage regulator to
Figure 3: Android Touch UI regulate it to +5V that will be needed for microcontroller
and other components operation.

BLUETOOTH MODULE

IJSER © 2018
http://www.ijser.org
International Journal of Scientific & Engineering Research Volume 9, Issue 11, November-2018
ISSN 2229-5518
296

specialist to the understudy simply finding out about


The Bluetooth module HC-05 is a MASTER/SLAVE installed programming advancement. When beginning
module. Of course the manufacturing plant setting is another venture, just select the microcontroller you use
SLAVE. The Role of the module (Master or Slave) can from the Device Database and the µVision IDE sets all
be arranged just by AT COMMANDS. The slave compilers, constructing agent, linker, and memory choices
modules can't start an association with another Bluetooth for you. Keil is a cross compiler.
gadget, yet can acknowledge associations. The Master Compilers are programs used to change over a High Level
module can start an association with different gadgets. Language to object code. Work area compilers create a
The client can utilize it just for a serial port substitution yield question code for the fundamental microchip, yet not
to build up association amongst MCU and GPS, PC to for different chip, i.e., the projects written in one of the
your implanted venture, and so forth. HLL like 'C' will order the code to keep running on the
framework for a specific processor like x86 (hidden
RELAY microchip in the PC). The compiler gets its name from the
way it works, taking a gander at the whole bit of source
A relay is an electrically worked switch. Current moving code and gathering and revamping the instruction. A cross
through the curl of the relay makes an attractive field
compiler is like a compiler but we compose a program for
which pulls in a lever and changes the switch contacts.
The curl current can be on or off so transfers have two the objective processor (like 8051 and its subordinates) on
switch positions and most have two-fold toss the host processors (like PC of x86). It implies being in one
(changeover) switch contacts. They enable one circuit to condition you are composing a code for another condition
switch a moment circuit which can be totally separate is called cross advancement. Also, the compiler utilized for
from the first. For instance a low voltage battery circuit cross improvement is called cross compiler. So the
can utilize a relay to switch a 230V AC mains circuit. meaning of cross compiler is a compiler that keeps running
There is no electrical association inside the hand-off on one PC yet delivers object code for an alternate sort of

IJSER
between the two circuits; the connection is attractive and PC.
mechanical.
IMPLEMENTATION
RELAY DRIVER ULN2003 We have implemented a minimal effort and proficient
ULN2003 is an IC which is utilized to interface the shrewd home framework in our outline. This framework
microcontroller with the relay since the yield of the has two principle modules: the hardware interface module
smaller scale controller is 5V high with too minimal and the software communication module. At the core of
current conveyance and isn't practicable to work a really this framework is the AT89s52 microcontroller which is
with that voltage. ULN2003 is a relay driver IC additionally equipped for working as an interface for all the
comprising of an arrangement of Darlington transistors. hardware modules. All communication and controls in this
On the off chance that rationale high is given to the IC framework go through the microcontroller. The shrewd
as info then its yield will be rationale low however not home framework offers changing functionalities to control
the other way around. Here in ULN2003 pins 1 to 7 are
lighting, fans/aeration and cooling systems, and other home
IC sources of info and 10 to 16 are IC yields. On the off
machines associated with the transfer framework. All these
chance that rationale 1 is given to its pin no. 1 the
relating pin 16 goes low. On the off chance that a can be controlled from the Android advanced mobile phone
transfer loop is associated from +ve to the yield stick of application.
the uln2003 (the hand-off driver) at that point the hand-
off contacts change their situation from ordinarily open
to close the circuit as appeared underneath for the heap
on (say a light to begin shining). In the event that
rationale 0 is given at the info the hand-off switches off.
Correspondingly up to seven transfers can be utilized for
seven distinct burdens to be exchanged on by the
typically open (NO) contact or turned off by the
ordinarily shut contact (NC).

SOFTWARE REQUIREMENTS
Keil an ARM Company makes C compilers, large scale
constructing agents, ongoing parts, debuggers, test systems,
incorporated situations, assessment sheets, and emulators
for ARM7/ARM9/Cortex-M3, XC16x/C16x/ST10, 251,
and 8051 MCU families. Keil improvement instruments for Figure 5: Project Module
the 8051 Microcontroller Architecture bolster each level of
programming designer from the expert applications CONCLUSION

IJSER © 2018
http://www.ijser.org
International Journal of Scientific & Engineering Research Volume 9, Issue 11, November-2018
ISSN 2229-5518
297

Smart Home Systems give interface between different Automation System using Android Application”,
kinds of home and electrical devices like bulbs, TVs,
Assistant professor, Dept. of Computer Engineering,
fans, curtains and so forth. This system gives control
and convenience of the devices to the client according Keystone school of engineering, Pune, India 2017.
to client's requirements. Subsequent to breaking down
5. AlperGurek, Caner Gur, CagriGurakin,Mustafa
other existing frameworks, we propose the novel
system for better human association and for giving Akdeniz“An Android Based Home Automation
better usage of android and arduino. By utilizing home
System”, IEEE Department of Computer
computerization framework we can oversee cost,
adaptable and vitality proficient savvy homes. Engineering, Izmir University of Economics Balcova
The home computerization framework has been 2013.
tentatively demonstrated to work palatably by
associating test machines to it and the devices were 6. MohdNorAzni, M.N.H; “Home Automation System
effectively controlled from a remote cell phone. The with Android Application”, School of Computer and
Bluetooth customer was effectively tried on a huge
number of various cell phones from various producers, Communication Engineering University Malaysia
accordingly demonstrating its versatility and wide Perlis Perlis, Malaysia 2016.
similarity. This undertaking won't just give
accommodation to the normal man yet will be a help 7. P.SivaNagendra Reddy, K.Tharun Kumar Reddy,
for the elderly and debilitated. P.Ajay Kumar Reddy, “An IOT based Home
Automation Using Android Application”, Department
FUTURE SCOPE of ECE,Kuppam Engineering College, Kuppam,
This project can be additionally created by

IJSER
Chittoor, A.P, India 2016
coordinating it with the web to screen your home while
sitting in a remote region. By doing this, one can watch 8. K.S. Rupam, M. Ayub, K. Himaraka, K Dhiraj,
out for his or her home through a web associated with "Android Interface based GSM Home Security
the client's cell phone or PC. This won't just enhance
the security of your home in this advanced world System", proc. of IEEE International conference on
however will likewise aid preservation of vitality like Issues and Challenges in Intelligent Computing
in the event that you exited any home apparatus
exchanged on by botch, at that point you can check the Techniques, pp. 196-201, 2014.
status of the machine on the graphical interface made 9. R. Piyare, M. Tazil, "Bluetooth Based Home
on your versatile and can turn it off utilizing the web
availability. Automation System Using Cell Phone", Consumer
Electronics IEEE 15th International Symposium on,
REFERENCES vol. 45, no. 3, pp. 192-195, 2011.
10. S. Deepti, "Home Automation System with
1. IlkerKorkmaz, Member, IEEE, “An Android Based
Universally Used Mobile Application Platform",
Home Automation System”, IEEE Department of
IOSR Journal of Electronics and Communication
Computer Engineering, Izmir University of
Engineering, vol. 9, no. 2, pp. 01-06, 2014.
Economics Balcova, 35330, Izmir, Turkey 2013.
11. Elecrow. (2018). Retrieved from One top Electronics
2. Shiv Kumar, Member, IEEE, “Android Based Smart
Bazaar: www.elecrow.com/blog/the-mainstream-of-
Home System with Control via Bluetooth and Internet
smart-home-in-the-future/
Connectivity”, School of Engineering and Physics
University of the South Pacific Suva, Fiji 2014.
3. Er.VikramPuri, IEEE, “Real Time Smart Home
Automation based on PIC Microcontroller, Bluetooth
and Android Technology”, Faculty- Embedded
System & Robotics, Enjoin Technologies, Jalandhar
2016.
4. Prof.H.B.Shinde, AbhayChaudhari, PrafullChaure,
MayurChandgude, Pratik Waghmare, “Smart Home

IJSER © 2018
http://www.ijser.org

You might also like