Home Automation Using Android Applicatio
Home Automation Using Android Applicatio
Abstract— Smart Home System is the term that describes the intelligent control and monitoring of different home appliances to manage the
home environment in an intelligent, safe and comfortable way. Home automation allows us to control home appliances like TV, Refrigerator,
AC, fan, etc. Home automation not only refers to reduce human efforts but also plays vital role to save energy and time. The main objective of
home automation is to help handicapped and old aged people it will facilitate them to control home appliances. In the present era smart phone
market has been dominated by the Android operating system. Smart phones features made to communicate to any other devices using Bluetooth
technology. Bluetooth wireless technology is built into billions of products, from cars and mobile phones to medical devices and computer s and
even forks and toothbrushes. Bluetooth technology allows you to share voice, data, music, photos, videos and other information wirelessly
between paired devices. It is an essential element for bringing everyday objects into the connected world. Home Automation System (HAS) has
been designed for mobile phones having Android platform to automate an Bluetooth interfaced 8 bit AVR Microcontroller which controls a
number of home appliances like lights, fans, bulbs and many more using relays. In houses, lamp switches normally located at a high location and
it is hard to reach for the switches without help for kids and disable person including people who unable to move a lot due to accident cases.
These problems can be overcome by using the home Automation System Using Android Application & Bluetooth at home which is user friendly
and cost efficient.
Keywords - Home Automation System, Bluetooth Controller , Bluetooth Module HC-05, Microcontroller ATMEGA 32, Smart Phone.
__________________________________________________*****_________________________________________________
815
IJRITCC | February 2015, Available @ http://www.ijritcc.org
_______________________________________________________________________________________
International Journal on Recent and Innovation Trends in Computing and Communication ISSN: 2321 - 8169
Volume: 3 Issue: 2 815 - 819
_______________________________________________________________________________________________
Figure 1
System Architecture
III. DEVELOPMENT PLATFORM Bluetooth Controller application can carry out the following
functions:
This section describes the technologies used for developing
the mobile phone application of the home Automation System. I. Click scan Button for connect to device Search the
The mobile phone application development presented in this Bluetooth devices present in the range.
paper is based on the following technologies: Android [3], II. After connected, Click Set Keys for setting Keys name
Bluetooth [2]. Android is a platform to developing and and data to be sent.
deploying android based applications on mobile devices III. Exchange data to and from paired Bluetooth devices.
supporting it. Bluetooth has its own benchmark as wireless
communication technologies for short range communication
B. Bluetooth Module
provide a facility to create Android based mobile applications.
V. SOFTWARE IMPLEMENTATION
A. Microcontroller
There is a wide range of microcontroller available in the
market. But this particular project is developed using AVR
series of microcontroller (ATMEGA 32) because of its various Figure 5 Steps for Software Development
advanced features such as inbuilt ADC, EEPROM etc. The
Atmel AVR ATMEGA 32 is a low-power CMOS 8-bit In software implementation, it will be mainly the
programming of ATMEGA 32 microcontroller. AVR Studio 4
817
IJRITCC | February 2015, Available @ http://www.ijritcc.org
_______________________________________________________________________________________
International Journal on Recent and Innovation Trends in Computing and Communication ISSN: 2321 - 8169
Volume: 3 Issue: 2 815 - 819
_______________________________________________________________________________________________
will be used to develop programming for the microcontroller
in this home automation system because it provides enormous
features. The microcontroller, as the ‘brain’ of the system, is
responsible of processing the data. Besides, the
microcontroller will also do the job of receiving user’s inputs
and executing commands, such as turn on/off the device etc.
Coding / Debugging- Coding or debugging is one in a high-
level language (such as c). Compiler for a high level language
helps to reduce production time. To program the
microcontrollers Win AVR was used using C language. The
source code has been commented to facilitate any occasional
future improvement and maintenance.
Win AVR is a suite of executable, open source
software development tools for the Atmel AVR series of RISC
microprocessors hosted on the Windows platform. It includes
the GNU GCC compiler for C and C++. Win AVR contains all
the tools for developing on the AVR. This includes AVR-gcc
(compiler), AVR-gdb (debugger) etc. Compiling- After
compiling the program, it is converted to machine level
language in the form of 0’s ans1’s.
This file is called as the Hex file and is saved with the
extension (.Hex). The compiler also generates errors in the
program this should be removed for proper execution of the
program. Flashing - Flashing the machine language (hex) file
into the microcontroller’s program memory is achieved with a
dedicated programmer, which attaches to a PC’s USB port for
this purpose USB ASP Programmer, was used to burn the
machine language file into the microcontroller’s program
memory.
USB ASP Programmer is USB device programmer
software with a user-friendly GUI framework available for
Windows95/98/ME/NT/2000/XP and Intel Linux. The
program memory, which is of Flash type, has, just like the
EEPROM, a limited lifespan. On AVR microcontroller family
it may be reprogrammed up to a thousand times without any
risk of data corruption ATMEGA 32 Programmer (ISP) which
is used to burn the program into AVR microcontrollers.
818
IJRITCC | February 2015, Available @ http://www.ijritcc.org
_______________________________________________________________________________________
International Journal on Recent and Innovation Trends in Computing and Communication ISSN: 2321 - 8169
Volume: 3 Issue: 2 815 - 819
_______________________________________________________________________________________________
V. Now pressing the keys you can control the home REFERENCES
appliances as per your requirement. On pressing “TV [1] J. Haartsen, "BLUETOOTH—The universal radio interface for ad hoc,
ON” key (here for sake of feasibility lamp is wireless connectivity", Ericsson Review No. 3, pp. 110-117, 1998.
connected) Lamp (Load) turned ON and feedback [2] “Mobile Communications” by Jochen H. Schiller second Edition
from controller is received i.e. TV ON. [3] Why Android ?, http://www.android.com/about/, last seen on October
2013.
[4] https://play.google.com/store/apps/details.
[5] http://www.atmel.com
[6] http://www.sunrom.com
[7] http://www.bluetooth.com
[8] http://www.st.com
VII. CONCLUSION
In conclusion, this low cost system is designed to improve the
remote control function by smart phone provides help and
assistance especially to disabled and elderly. The proposed
HAS is designed for Bluetooth based wireless monitoring and
controlling of different electric home appliances. The HAS is
tested with “2.3 GINGERBREAD” on Samsung galaxy Pro
mobile.
This study has its limitations, it is hoped that it will
serve as a basis for further study of home automation.
819
IJRITCC | February 2015, Available @ http://www.ijritcc.org
_______________________________________________________________________________________