You are on page 1of 5

Communications on Applied Electronics (CAE) ISSN : 2394-4714

Foundation of Computer Science FCS, New York, USA


Volume 101 No 4, January 2015 www.caeaccess.org

Smart Cloud Storage Using Home Automation Support


Akshay Chavan
University of Pune

Shantanu Mudagi
University of Pune

G.V.Raghu Teja Kumar


University of Pune

chavanakshay001@gmail.com

shantanumudagi@gmail.com

raghutejagollapudi@gmail.com

Prithvi Sharma
University of Pune
prithviesharma@gmail.com

ABSTRACT
With the openness, flexibility and features that Android offers, it
has been widely adopted in applications beyond just Smart
Phones. This paper presents the design and implementation of a
low cost yet compact and secure Android smart phone based
home automation system with. This design is based on the
popular ARM 11 hardware board where the sensors and
electrical appliances are connected to the input/output ports of
the board. In order to enhance the system responsiveness and to
make it more dynamic, weve integrating a popular and stable
LINUX OS. Another add-on included is the integration of
Googles voice recognition feature that recognizes users voice
commands to control applications.

Keywords
ARM 11 Boards, Relay Driver Circuit, JDK 1.6, Android SDK
2.2 and SQL Database.

1. INTRODUCTION
1.1 The Journey towards Smarter Home
Automation
With the continuous growth of mobile devices in its popularity
and functionality the demand for advanced ubiquitous mobile
applications in peoples daily lives is continuously increasing.
Utilizing web services is the most open and interoperable way of
providing remote service access or enabling applications to
communicate with each other. An attractive market for home
automation and networking is represented by busy families and
individuals with physical limitations.
Earlier, we looked into the face of future when we talked about
automated devices, which could do anything on instigation of a
controller, but today it has become a reality. a) An automated
device can replace good amount of human working force,
moreover humans are more prone to errors and in intensive
conditions the probability of error increases whereas, an
automated device can work with diligence, versatility and with
almost zero error.
Home automation can be useful to those who need to access
home appliances while away from their home and can incredibly
improve the lives of the disabled. The home automation systems
that are available can be divided into two categorize: locally
controlled systems and remotely controlled systems. Locally
controlled systems are the systems that use an in-home controller
to achieve home automation. Through such systems the user can
control their home devices within the home through a stationary
or wireless interface. Globally-controlled systems are the

systems that use an internet connection. Such systems can be


controlled through mobile devices, personal computer, etc. The
problem of home automation system using Bluetooth, GPRS or
RFID needs a separate hardware and software environment to be
installed in each home. Moreover such systems provide the user
with limited access as the access area is restricted only within a
specific range. Cloud Network and mobile devices eliminate the
need to install and run applications on the customers own
computers and simplify maintenance and support. This project
integrates the locally and remotely controlled systems with the
use of a Cloud network. Cloud Computing provides access on
demand to resources online which requires less management
effort and can be easily provisioned.
The home automation system has been proposed that includes
home appliances and devices that are controlled and maintained
for home management. The major task is to improve
performance. According to there are three modules involving
sensing unit for monitoring the complex applications. A
processing unit, that is microcontroller and a communication
module that uses GPRS modem or cell phone via serial port RS232. The SMS is used for status reporting such as power failure.
The possible solutions are devised through various network
technologies. Cloud system is also exhibited in it

1.2 Basic Concepts


Here the idea is to presents a flexible standalone, low cost smart
home system, which is based on the Android app communicating
with the micro-web server providing more than the switching
functionalities. The ARM 11 board with WIFI support is used to
eliminate the use of a personal computer (PC) keeping the cost
of the overall system to a minimum while voice activation is
incorporated for switching functionalities.
Home Automation system that employs the integration of multitouch
mobile
devices,
cloud networking,
wireless
communication, and power-line communication to provide the
user with remote control of various lights and appliances within
their home. This system uses a consolidation of a mobile phone
application, handheld wireless remote, and PC based program to
provide a means of user interface to the consumer. The home
automation system differs from other systems by allowing the
user to operate the system without the dependency of a mobile
carrier or Internet connection via the in-home wireless remote.
This system is designed to be low cost and expandable allowing
a variety of devices to be controlled.

CAETM : www.caeaccess.org

17

Communications on Applied Electronics (CAE) ISSN : 2394-4714


Foundation of Computer Science FCS, New York, USA
Volume 101 No 4, January 2015 www.caeaccess.org

1.3 Problem Definition


The home automation system has been proposed that includes
home appliances and devices like light, fan, bulb etc are
controlled means On/off device and maintained for home
management by using cloud network. Home Automation using
cloud network is a system that uses computers or mobile devices
to control basic home functions and features automatically
through internet from anywhere around the world, an automated
home is sometimes called a smart home The major task is to
improve performance. And by using cloud we can share all
images within that cloud network. Suppose user took a picture
and store on cloud then other android user can see that image.

2. LITERATURE SURVEY
2.1 Overview
Many of the home automation systems that are commercially
available can be separated into two categories: locally controlled
systems and remotely controlled systems. Locally controlled
systems use an in-home controller to achieve home automation.
This allows users complete use of their automation system from
within their home via a stationary or wireless interface.
Remotely controlled systems use an Internet connection or
integration with an existing home security system to allow the
user complete control of their system from their mobile device,
personal computer, or via telephone from their home security
provider. There are a number of issues involved when designing
a home automation system. It should provide a user- friendly
interface on the host side, so that the devices can be easily setup,
monitored, and controlled. Furthermore the overall system
should be swift enough to realize the true power of wireless
technology. Lastly the system should be cost effective in order to
justify its application in home automation. To minimize the
shortcomings of each system and to overcome the design issues
previously mentioned, this project integrates locally and
remotely controlled systems with the use of Cloud data network.
This allows the system to operate without the dependence of a
mobile provider, allows the system to be used with various
mobile phone platforms, and allows the system to operate locally
when phone or computer access is not available. Cloud
networking and data infrastructure allow individuals to monitor,
manage, and control their personal data points through the
internet. One of the available services is Patchable. The
healthcare industry is in a period of accelerating change that
requires continual innovation. The chronic disease epidemic,
changing population demographics and advancements in medical
technologies are key contributors to escalating costs. All
stakeholders expect more value for their money. And, patients
are beginning to play greater roles in managing their care.
Driven by economics, emerging care and business models
aligned with personal values and well-being are signaling a
major shift in how healthcare organizations will compete and
operate in the years ahead. A recent CEO Study conducted by
IBM revealed that only 34 percent of healthcare provider CEOs
is focused on simplifying operations to manage complexity more

effectively. Similarly, only 55 percent of healthcare payer CEOs


believes their organizations are ready for the impending
complexity. Yet most recognize that there is a new environment
in which they have to operate. 2 Cloud computing is a new IT
approach that offers new economic benefits, rapid deployment of
services and tight IT alignment with business goals. This paper
reviews the potential for cloud computing in the healthcare
industry and makes specific recommendations for how the
healthcare industry can take advantage of this technology to
thrive. In healthcare, the pace of change is increasing, along with
the complexity of delivering higher quality care for significantly
fewer dollars per patient. Hospitals and physicians are looking
for strategies to increase business flexibility, while
demonstrating greater healthcare value. To do so, a
transformation from institution-centered, data-poor systems to
patient-centered, information rich health systems is needed. A
flexible and scalable approach to applications and infrastructure
can help healthcare organizations support new business
approaches and seamless patient experiences. Emerging care
delivery and business processes will drive transaction volumes
and complex analytics-driven workloads to new levels never
envisioned by healthcare organizations. These drivers require a
larger IT footprint to enable new capabilities, yet growing IT
complexity threatens to hold organizations back.

2.2 Existing System


Home automation is not a new concept but the area of home
automation still has plenty of room available for improvement.
The methodology and technology used by each of these existing
systems is different. Here we have categorized the existing
systems according to the methodology used; for instance the
medium for communication between the home and user. For
systems that labor a similar methodology as this system, we have
gone to the depth of studying the technologies. Categorization
based on controlling mechanism controlling through remote
controllers These devices basically require the user to be within
the premises in order to control the equipments. Different types
of controllers are used and following controllers are more
common in most of the applications. Bluetooth, Radio
Frequency (RF), Infrared (IR).The major limitations inherent to
these systems are immobility and inconvenience since the user
requires a computer and internet in order to control the
equipments.
Most of the existing systems are not affordable and cannot be
integrated with an already built home without requiring rewiring. This is one of the major issues with regards to usability
and flexibility of many systems. But this problem is addressed in
this system by providing a highly flexible solution which lets the
user add and remove any item to the system with ease. Different
users have different security requirements and their budgets may
vary according to the level of affordability. Most of the existing
systems are not affordable for most of the users. And some of
system

CAETM : www.caeaccess.org

18

Communications on Applied Electronics (CAE) ISSN : 2394-4714


Foundation of Computer Science FCS, New York, USA
Volume 101 No 4, January 2015 www.caeaccess.org

3. SOFTWARE REQUIREMENT AND


SPECIFICTIONS
3.1 Project Scope and Operating
Environment
Earlier, we looked into the face of future when we talked about
automated devices, which could do anything on instigation of a
controller, but today it has become a reality. a) An automated
device can replace good amount of human working force,
moreover humans are more prone to errors and in intensive
conditions the probability of error increases whereas, an
automated device can work with diligence, versatility and with
almost zero error. With the openness, flexibility and features that
Android offers, it has been widely adopted in applications
beyond just Smart Phones. This report presents the design and
implementation of a low cost yet compact and secure Android
smart phone based home automation system with. This design is
based on the popular ARM 11 hardware board where the sensors
and electrical appliances are connected to the input/output ports
of the board. In order to enhance the system responsiveness and
to make it more dynamic, weve integrating a popular and stable
LINUX OS. Another add-on included is the integration of
Googles voice recognition feature that recognizes users voice
commands to control appliances. The user of this product/system
will be any person who have android phone and want to
controlled home appliances. Software has two major component
one the server and the second one is the mobile application. The
server will required Windows XP/Vista/7 machine with
minimum 1GB RAM and 100 GB hard disk. The server machine
also required WIFI devices sing which it can create Wireless Adhoc network. The user is expected to have Android Mobile
phones and should be able to operate with Android handset.

3.2 SYSTEM FEATURES


3.2.1 System Feature 1 (Functional Requirement)
In Client side, Mobile should support [1] Android handset [2] It
should allow users to take images, show images, devices [3]
Allow to turn on and off device [4] And to select multiple
devices simultaneously. As well as, computer also should be
able to perform similar activities like mobile.

3.2.2 System Feature 2 (Functional Requirement)


In Server side, system should [1] Prove web based access (HTTP
support) [2] Able to store images. [3] Allow users to see images.
[4] Allow users to see all the device list is on/off. [5] Allow
users to turn on/off device.

3.3 EXTERNAL INTERFACE


REQUIREMENTS
In User Interfaces, Client side includes [1] Welcome page. [2]
Window for showing devises list to be controlled (ex light, fan,
bulb) [3] Window to show controlled (ex light) [4] Message
window to show device data (Ex light is off) [5] Showing image
window.
In Hardware Interfaces, Mobile application will get installed on
mobile devices. These mobile devices should have WIFI device
thorough which it will connect to server. [1] ARM 11 Board. [2]
Relay Driver Circuit [3] Wi-Fi Module. [4] External Hard Drive
[5] Electrical Appliances.

In Software interfaces, we have included [1] JDK 1.6 [2]


Android SDK 2.2 [3] Eclipse Editor. [4] SQL Database. [4]
Android 2.2 supported mobile handset [5] Operating System:
Windows.
And in Communication Interfaces, Here we had used WIFI
network and going to create our own communication protocol.
Software will also support BASE64 encryption logic while
sending data to server. Server will support HTTP protocol for
web based access.

3.4 NON-FUNCTIONAL
REQUIREMENTS
3.4.1 Performance Requirements
For good performance the server should be tuned to server only
server process and most of the RAM should be used for our
application. Mobile application should use as much possible
RAM. KVM should be tuned on mobile to provide extra address
space to application.

3.4.2 Safety Requirements


Since this software will be hosted on cloud server, all the user
data will be kept on the cloud server. Product should be able to
protect privacy of user data. Workspace of the user should only
be accessed through user own credentials and any other user
should not be able to access to the user private data. Since
execution will also be done in the machine in the cloud, user
should be restricted in terms of user rights.

3.4.3 Security Requirements


User should only access to his own workspace and should not
access to any other workspace with the programs they run on the
cloud. Also rights of the user should be restricted so that user
can not harm to system by the programs they run or by the
commands they run on terminal. Since all the data will be
transferred on the web, system should also use an encryption and
decryption mechanism only intended user can decode the data
and work on the data.

3.4.4 Software Quality Attributes


1] Information overflows prevention and storage. [2] Fully
statistical analysis and graphics visualization.[3] Periodical
active sensor if necessary (alarm functions not obligatory.

4. OUR APPROACH
4.1 Hardware Use
The Raspberry Pi is a credit card-sized single-board computer
developed in the UK by the Raspberry Pi Foundation with the
intention of promoting the teaching of basic computer science in
schools. The Raspberry Pi is manufactured in three board
configurations through licensed manufacturing deals with
Newark element14 (Premier Farnell), RS Components and
Egoman. These companies sell the Raspberry Pi online. Egoman
produces a version for distribution solely in China and Taiwan,
which can be distinguished from other Pis by their red coloring
and lack of FCC/CE marks.
The hardware is the same across all manufacturers. The
Raspberry Pi has a Broadcom BCM2835 system on a chip
(SoC), which includes an ARM1176JZF-S 700 MHz processor,
VideoCore IV GPU,[8] and was originally shipped with 256

CAETM : www.caeaccess.org

19

Communications on Applied Electronics (CAE) ISSN : 2394-4714


Foundation of Computer Science FCS, New York, USA
Volume 101 No 4, January 2015 www.caeaccess.org

megabytes of RAM, later upgraded (Model B & Model B+) to


512 MB. It does not include a built-in hard disk or solid-state
drive, but it uses an SD card for booting and persistent storage,
with the Model B+ using a MicroSD. The Raspberry Pi does not
have a separate CPU (Central Processing Unit), RAM (Random
Access Memory)or GPU (Graphics Processing Unit).

4.2 Activity Diagrams

Instead they are all squeezed into one component called a


System onChip or SoC unit. This is essentially the entire
computer on one chip. The Raspberry Pi uses an ARM1176JZFS 700MHz CPU which is also installed in a wide variety of
mobile phones, hand held games consoles and eReaders. This
CPU is single core, however it does have a co-processor to
perform floating point calculations. Many calculations required
by a program involve whole numbers (integers). These are easier
for the CPU to handle. Integer calculations produce accurate
results. Floating point or real numbers have a fractional part e.g.
1.5. They are more demanding for the CPU to process.

Figure 4.1.2 System Architecture

Figure 4.5 Activity Diagram and Cloud Activity Diagram

5. SYSTEM DESIGN
5.1 System Architecture
Home automation system that employs the integration of multitouch
mobile
devices,
cloud networking,
wireless
communication, and power-line communication to provide the
user with remote control of various lights and appliances within

CAETM : www.caeaccess.org

20

Communications on Applied Electronics (CAE) ISSN : 2394-4714


Foundation of Computer Science FCS, New York, USA
Volume 101 No 4, January 2015 www.caeaccess.org

their home. This system uses a consolidation of a mobile phone


application, handheld wireless remote, and PC based program to
provide a means of user interface to the consumer. The home
automation system differs from other systems by allowing the
user to operate the system without the dependency of a mobile
carrier or Internet connection via the in-home wireless remote.
This system is designed to be low cost and expandable allowing
a variety of devices to be controlled. Cloud server is used for
central storage. Centralization gives cloud service providers
complete control over the versions of the browser-based
applications provided to clients, which removes the need for
version upgrades or license management on individual client
computing devices. Cloud server contains user databases, glass
fish sever, glassfish is an open source application server which is
designed to make the web services accessible in an efficient and
easy way this is the remote user who wants to automate home
appliances by using android mobile device or the client pc.
Android is a Linux-based operating system primarily designed
for mobile devices such as smart phones and tablet computers
utilizing ARM processors.

5.2 Technology Used


5.2.1 Java Platform
Java was developed at Sun Microsystems. Work on Java initially
began with the goal of creating a platform-independent language
and OS for consumer electronics. The original intent was to use
C++, but as work progressed in this direction, developers
identified that creating their own language would serve them
better. The effort towards consumer electronics led the Java
team, then known as First Person Inc., towards developing h/w
and s/w for the delivery of video-on-demand with Time Warner.
Unfortunately (or fortunately for us) Time Warner selected
Silicon Graphics as the vendor for video-on-demand project.
This set back left the First Person team with an interesting piece
of s/w (Java) and no market to place it. Eventually, the natural
synergies of the Java language and the www were noticed, and
Java found a market. Today Java is both a programming
language and an environment for executing programs written in
Java Language. Unlike traditional compilers, which convert
source code into machine level instructions, the Java compiler
translates java source code into instructions that are interpreted
by the runtime Java Virtual Machine. So unlike languages like C
and C++, on which Java is based, Java is an interpreted
language. Java is the first programming language designed from
ground up with network programming in mind. The core API for
Java includes classes and interfaces that provide uniform access
to a diverse set of network protocols. As the Internet and
network programming have evolved, Java has maintained its
cadence. New APIs and toolkits have expanded the available
options for the Java network programmer.

language. It supports many hardware components. Common


hardware consists of cameras, a Wi-Fi communications chip,
cellular commutations chip, Bluetooth sender and receiver, and a
color touch screen. The Android Application Program Interface
(API) contains many functions and classes to control the cellular
devices. This functionality is all available in a single device with
at least a day worth battery life. For this project H.263 was used
in development on the Android device. The initial Android API
supports recording in H.263 with Android 3.0 introducing
support for H.264. Android ships with a built-in RTP receiver
with support for H.263 and H.264 decoding to display video play
audio. Android 3.1 introduces RTP encoding support for
transmitting audio over a network using the IETF standards.
With the RTP encoding integration audio may be transmitted by
using the operating system streaming class. Resolutions for the
encoders are limited to the recording and playback capabilities of
the camera, the processor speed, and the graphics card of the
device.

6. ACKNOWLEDGMENTS
We take this opportunity to thank our project guide
Prof.Nilam.Kadale and Head of the Department Prof. Dr. Rajesh
Prasad for their valuable guidance and for providing all the
necessary facilities, which were indispensable in the completion
of the first stage of our project We are also thankful to all the
staff members of the Department of Computer Engineering of
NBN Sinhgad School of Engineering Pune for their ongoing
valuable time, support, comments, suggestions and persuasion.
We would also like to thank the institute for continuously
providing the required facilities, Internet access and important
books and hence, keeping it in future too. Also currently we are
sponsored by electronic store croma, whose financial support
helped us a lot to get configuration parts of a system. Our
approach was to create a home automation system in which we
had kept an add-on as cloud storage in only a minimum cost. Our
idea was highly appreciated by our teachers as well as our
sponsor company who self-lessly supported us and in near future
we will commit hard to successfully implement it.
REFERENCES
[1] Nicholas D., Darrell B.,Somsak S., Home Automation using
Cloud Network and Mobile Devices,IEEE Southeastcon 2012,
Proceedings of IEEE.

[2] Chan, M., Campo, E., Esteve, D., Fourniols, J.Y.,Smart homescurrent features and future perspectives,Maturitus, vol. 64, issue
2, pp. 90-97, 2009.

[3] Das, S.R., Chita, S., Peterson, N., Shirazi, B.A., Bhadkamkar, M.,
Home automation and security for Mobile Devices, IEEE
PERCOM Workshops,pp. 141-146,2011.

[4] Laur, I., Microcontroller based home automation system with


security, International Journal of Advanced Computer Science and
Applications, vol. 1, no. 6, pp. 60-65, 2010.

[5] Piyare, R., Tazil, M., Bluetooth based home automation system
using cell phone, IEEE ISCE, pp. 192-195, 2011.

5.2.2 Android Platform


Android is a recently developed operating system designed for
mobile devices. It was developed by Google and uses a Linux
based kernel, Java compatible libraries along with the just-intime compiler for development in the Java programming

[6] M. Shell. (2002) IEEEtran homepage on CTAN. [Online].


Available:
http://www.ctan.org/
/macros/latex/contrib./supported/IEEEtran.

[7] FLEXChip

CAETM : www.caeaccess.org

Signal Processor (MC68175/D),

texarchive
Motorola, 1996.

21

You might also like