Вы находитесь на странице: 1из 22

IOT Home Automation Using Android


IOT ( internet of things) is an upcoming technology that
allows us to control hardware devices through the
internet & simplify use of technology.
Here we propose to use IOT in order to control home
appliances, thus automating modern homes through the
The internet of things (IoT) is the internetworking of physical
devices, vehicles, buildings and other items—embedded
with electronics, software, sensors, actuators, and network
connectivity that enable these objects to collect and
exchange data.

•Nowadays office and building automation systems are used more and more.
On one hand, they provide increased comfort, results in a smarter home and
is used to provide a higher & healthier standard of living.

•On the other hand automation systems installed in commercial buildings

don't only increase comfort, but also allow centralized control of heating,
ventilation, air condition and lighting, having ubiquitous access.

•Hence, they contribute to an overall cost reduction and also to reduction

and also to energy saving while we are not able to access them physically.

The aim of project is efficient implementation of IoT used for controlling

and monitoring the appliances via User Interface device.
They can communicate with automation network through an internet
gateway by means of low power communication protocol like Wi-Fi.
This project aims at controlling home appliances via smartphone using
Wi-Fi as communication protocol.
Literature Survey
Aim of Project :
•The technology offers new and exciting opportunities to increase the
connectivity of devices within the Home for the purpose of Home automation.

•Mobile devices are ideal in providing a user interface, they are portable and
their wide range of capabilities. They can communicate with the Home
automation network through an internet gateway, and also it can also
directly, as these devices usually implement low power communication
protocols, such as Wi-Fi.

•It is proposed to control various Home appliances like Tube light, Door Lock,
Switch and Fan using android mobile. This whole system will be controlled by
ESP 8266 Wi-Fi module. Our mobile is connected to ESP 8266 Wi-Fi module
through internet. One will able to select appliances from the mobile, as
command will be given to the ESP 8266. According to that command this Wi-
Fi module will give signal to relay switching circuit to turn ON/OFF particular
Electrical appliance.
Block Diagram & Circuit Diagram
Block Diagram :
Configuration stage
Static IP
Start connection with Idle Mode
Address successful

Wait for remote
Sensors and Actuators Control Stage command from

Measure Data from

Execute Decode Yes Command
Take an action received
command Command string

Control Actuator
Hardware & Software
Hardware Components Used :
1.ESP 8266 Wi-Fi Module :

The ESP8266 is a low-cost Wi-Fi chip with full TCP/IP stack

and MCU ( Micro Controller Unit ). This small module allows
microcontrollers to connect to a Wi-Fi network and make simple
TCP/IP connections .
Specifications of ESP 8266 Wi-Fi module :
• 802.11 b/g/n protocol
• Wi-Fi direct ( P2P ), soft-AP
• Integrated TCP / IP protocolstact
• It requires 3.3 V power
2. Router :
A router is a networking device that forwards data
packets between computer networks. Routers perform
the traffic directing functions on the Internet. A data
packet is typically forwarded from one router to
another through the networks that constitute
the internetwork until it reaches its destination node.

3. Solid State
Relay : A relay is an electrically operated switch. Many relays use an
electromagnet to mechanically operate a switch, but other
operating principles are also used, such as solid-state relays.
Specification of relay :
• 230 V input supply
• 15 A currentcapacity
• 50 Hz frequency
Software Used :
1. Android :
 Android is an open source and Linux based operating
system for mobile devices such as smartphones. It offers
a unified approach to application development for
mobile devices which means developers need only for
android and their application should be able to run on
different devices powered by android.
 It is a mobile operating system developed by Google,
based on the Linux kernel and designed primarily for
touch screen mobile devices such as smartphones and
 Android's user interface is mainly based on direct
manipulation, using touch gestures that loosely
correspond to real-world actions, such as swiping,
tapping and pinching, to manipulate on-screen objects,
along with a virtual keyboard for text input.
Software Used :
2. Arduino IDE :  The open-source Arduino Software (IDE) makes it easy to
write code and upload it to the board. It runs on Windows,
Mac OS X, and Linux. The environment is written in Java
and based on Processing and other open-source software.

 A program for Arduino may be written in any

programming language for a compiler that produces binary
machine code for the target processor. Atmel provides a
development environment for their microcontrollers, AVR
Studio and the newer Atmel Studio

 A program written with the IDE for Arduino is called a

sketch. Sketches are saved on the development computer as
text files with the file extension .ino. Arduino Software
(IDE) pre-1.0 saved sketches with the extension .pde.

The inefficiency of operation of conventional wall switches can be overwhelmed

using various home automation systems (without using conventional switching

The loss of power can be reduced and manpower required for home automation is
very less compared to conventional methods.

The android application can control Arduino, Bluetooth, Raspberry Pie etc., based
home automation systems can be more efficient, provides ease of operation.

Provides safety from electrical power short circuits while using conventional wall
switches to operate loads.

Home automation system with automated door locking and security cameras
facilitates more security.

Save a lot of time to operate from anywhere without wasting time to move from
office to home for just unlocking door for family members to enter the home

Fan, Door Lock, Light, & Switch can be operated

Summary :
Hence we prove and conclude that it is possible to connect to a Wi-Fi
module through a remote device like mobile using a web page and
operate upon it. Through a processor it is possible to change the state
of GPIO remotely connected through internet. Using this contact it is
also possible to drive a relay and operate various appliances like
lights, fans etc.
References :
• Internet of Things: Converging Technologies for Smart Environments and Integrated
Ecosystems Dr. Ovidiu Vermesan SINTEF, Norway. Dr. Peter Friess EU, Belgium.


Altaf, Zohaib Ali

• Internet of Things (IoT): A Vision, Architectural Elements, and Future Directions

Author's- Jayavardhana Gubbi, Rajkumar Buyya, Slaven Marusic, Marimuthu

• Research Directions for the Internet of Things, John A. Stankovic, Life Fellow,IEEE
Thank You