SlideShare a Scribd company logo
M.E.S ABASAHEB GARWARE COLLEGE, PUNE
ELECTONIC SCIENCE DEPARTMENT
HOME AUTOMATION SYSTEM USING ARDUINO
AND ANDROID
GRADUATION PROJECT
2017/2018
Made by
Rahul Takalkar
Pranav Gayal
Supervised By: Dr. Rajendra Rajuskar
ACKNOWLEDGEMENT
In performing our assignment, we had to take the help
and guideline of some respected person, who deserve our
greatest gratitude. The completion of this assignment
gives us much pleasure. We would like to show our
gratitude
DR.RAJUSKAR, M.E.S ABASAHEB GARWARE COLLEGE,
PUNE
For giving us a good guideline for assignment and also
MR.RAVI GAVADE, T.Y.B.sc ELECTRONIC SCIENCE
For all your help.
We would also like to expand our deepest gratitude to all
those who have directly and indirectly guided us in
showing this assignment.
Abstract
The aim of this project is to design and implement a home automation system
that controls and organizes various home appliances. The user (i.e. home
owner) controls his home appliances using his smart phone. The home
automation system processes user direct commands, user preferences and
data received from various sensors to control home appliances.
The project is implemented in hardware and software components that
interact through network connections. The main challenge is to implement the
project in an economical way such that it can be easily deployed and used by
homeowners.
An Arduino microcontroller and a mobile phone with an Android platform
running on top of it are the hardware and software used. For the network
part, an apache local server is used to make a connection between the
microcontroller and the mobile phone and allow data transfer to take place in
an efficient matter.
Different functions are implemented using this system which includes the
following:
Manually controlled by smart phone application:
1. Open and close garage door.
2. Switch fan on/off.
3. Switch water tank motor on/off.
4. Switch led on/off
USER REQUIREMENTS AND DESIGN
User’s requirement to control the following manually through smart phone:
1. Open and close garage door.
2. Switch fan on/off.
3. Switch water tank motor on/off.
4. Switch led on/off.
User’s requirement to control the following automatically through
microcontroller:
5. Switch fan on/off.
6. Switch motor on/off .
7. Switch outdoor led on/off .
The following graph summarizes how data from the sensors are displayed on
Lcd.
Android sends the data.
Arduino controls the lcd .
Arduino receives the
data serially
The data is displayed on the
lcd.
The following graph summarizes how data from the smartphone are read on the Arduino.
Fig. android to Arduino summary
Commands from the
smartphones are
sent to HC-05
Arduino accepts the
data and update the
database
Arduino reads data
from database
According to the data,
Arduino perform
different functions
BLOCK DIAGRAM
CIRCUIT DIAGRAM
.
Commands from
advantages of using Android.
 Using Android we can access core mobile device functionality.

 Easy development since it contains SDK, which provides build, run and debugging
Android applications.


Disadvantages of using Android.

 It does not assure security for application as the source code is available.

 Android requires internet connection to be active[11].
Bluetooth
Bluetooth is a wireless technology standard for exchanging data over short distances (using
short-wavelength) from fixed and mobile devices, and building personal area networks
(PANs).
Advantages of Bluetooth:
 Cheap.
 Easy to install.
 It makes connecting to different devices convenient.
 It is wireless.
 It is free to use if the device is installed with it.
Disadvantages of Bluetooth Technology:
 It can be hacked into
 If installed on a cell phone it is prone to receiving cell phone viruses.
 It only allows short range communication between devices.
 It can only connect two devices at once.
 It can lose connection in certain conditions. [14]
20
Bluetooth Wi-Fi
Devices keyboards, office and
computers, servers, TV, Latest
mobiles.
industrial automation
devices.
Hardware Bluetooth adaptor on all the Wireless adaptors on all the devices of
requirement devices connecting with the network, a wireless router and/or
each other. wireless access points
Range 5-30 meters With 802.11b/g the typical range is 32
meters indoors and 95 meters (300 ft)
outdoors. 802.11n has greater range.
2.5GHz Wi-Fi communication has
greater range than 5GHz. Antennas
can
also increase range.
Power Low High
Consumption
Ease of Use Fairly simple to use. Can be It is more complex and requires
used to connect up to seven
configuration of hardware and
software.
devices at a time. It is easy
to switch between devices or
find and connect to any
device.
Latency 200ms 150ms
Bit-rate 2.1Mbps 600 Mbps
Table 3 wifi and bluetooth comparison
Android side:
Switch to control the led on
Shows temperature reading
Shows light intensity reading
Shows water level reading
Switch to select manual or automatic mode
Switch to control the fan on
Switch to control the garage door on
Switch to control the water pump on
Figure 17 shows the startup of
the application
“F” indicates LED is on
Figure 18 shows the LED switch
button when pressed
27
“T” indicates manual
control mode
Figure 19 shows how to
toggle manual mode
“ON” indicates the fan is on
Figure 20 shows
how to toggle
fan swicth on
and off
28
Conclusion.
The project is implemented in hardware and software components that interact through
network connections. The main challenge is to implement the project in an economical
way such that it can be easily deployed and used by homeowners.
The data is collected from sensors by the Arduino. Arduino microcontroller is
connected to the LAN with Ethernet shield. The configuration of the Arduino for
Ethernet shield contains a static IP address for the shield and the local server.
Arduino via the shield sends data every 5 seconds (can be adjusted) to the server via a
URL using Get method. Server accepts the data and updates the database in the right
columns and through in the same time gets the manual/automatic command with other
switch status from the correct columns too.
The smartphone reads data from the server using JSON method to get sensor values
and display them on screen and updates the switch columns on the database if the user
has clicked on them.
Limitations and future work.
The project has few limitations that as follows:
1. The system is vulnerable to the different types of attacks.
2. Hardware limitation i.e. Arduino UNO have low performance and low number
of pins
3. The need of a laptop as local server
4. There must be an internet connection on the router.
5. Low range of connectivity i.e. we can’t connect outside the range of LAN.
For future workwe suggest the following upgrades:
1. To add the security mechanisms such as the authentication in the mobile phone and
making an access list on the database to prevent any unauthorized access. Data must be sent
encrypted every time in a different key through the network to prevent the sniffing and
replay attacks.
2. To get feedback from ON/OFF switches.
3. Schedule a plan for electronic devices selected by the user to control children usage for
example computers and TV.
4. Schedule a plan for electronic devices selected by the user to control air conditioners and
washing machines.
5. Implement fire detection system and turning off the power in case of emergency and
notify the user on his smartphone.
6. Alert the user the gas jar emptyor a gas leakage is detected.

More Related Content

What's hot (20)

PDF
Bluetooth based home automation system
Veer Singh shakya
 
PDF
Home automation using bluetooth - Aurdino BASED
Ashish Kumar Thakur
 
PPTX
ANDROID BASED HOME APPLIANCE CONTROL USING APP IN MOBILE
Durgaprasad M
 
PDF
Arduino based Home Automation System with Android
Sayan Seth
 
PPTX
Home automation using_pc
Sumit Sonawane
 
PPTX
Home automation using blynk app with fan direction control and displaying sta...
Diwash Kapil Chettri
 
PPTX
GSM-BASED-HOME-AUTOMATION-PPT
Tapan Kumar Mohanta
 
PPT
Home automation in client server using NodeMcu approach along with user notif...
Brundha Sholaganga
 
PPTX
Home automation ppt
Anshul97842474929
 
PPTX
Bluetooth based home automation using arduino presentaton
LalitKapoor7
 
PPTX
Home automation using IoT literature review ppt
Tanujkumar101
 
PPTX
Home Automation System
Sweha Rajora
 
PPTX
home automation using esp8266
smit bakori
 
PPT
Bluetooth based Home Automation
Jagannath Kartik
 
PPTX
Controlling Home Appliances Using Voice
Edgefxkits & Solutions
 
PPTX
Bluetooth based home automation using Arduino UNO
parameshwar koneti
 
PPTX
Home automation voice control
Ahammednayeem
 
DOCX
HOME AUTOMATION USING ARDUINO
Eklavya Sharma
 
PPTX
Arduino based automatic temperature controlled fan speed regulator
Edgefxkits & Solutions
 
PPTX
Gsm based home automation
Mainak Sinha
 
Bluetooth based home automation system
Veer Singh shakya
 
Home automation using bluetooth - Aurdino BASED
Ashish Kumar Thakur
 
ANDROID BASED HOME APPLIANCE CONTROL USING APP IN MOBILE
Durgaprasad M
 
Arduino based Home Automation System with Android
Sayan Seth
 
Home automation using_pc
Sumit Sonawane
 
Home automation using blynk app with fan direction control and displaying sta...
Diwash Kapil Chettri
 
GSM-BASED-HOME-AUTOMATION-PPT
Tapan Kumar Mohanta
 
Home automation in client server using NodeMcu approach along with user notif...
Brundha Sholaganga
 
Home automation ppt
Anshul97842474929
 
Bluetooth based home automation using arduino presentaton
LalitKapoor7
 
Home automation using IoT literature review ppt
Tanujkumar101
 
Home Automation System
Sweha Rajora
 
home automation using esp8266
smit bakori
 
Bluetooth based Home Automation
Jagannath Kartik
 
Controlling Home Appliances Using Voice
Edgefxkits & Solutions
 
Bluetooth based home automation using Arduino UNO
parameshwar koneti
 
Home automation voice control
Ahammednayeem
 
HOME AUTOMATION USING ARDUINO
Eklavya Sharma
 
Arduino based automatic temperature controlled fan speed regulator
Edgefxkits & Solutions
 
Gsm based home automation
Mainak Sinha
 

Similar to Home automation system using arduino with android (20)

DOCX
Control of lights + fan using wi fi and bluetooth
svsembedded
 
PDF
Home Automation System using Arduino and Android
Muhammad Ayesh
 
DOCX
Smart home automation system
Pawan Kumar Ganjhu
 
PDF
Bluetooth Home Automation System
AI Publications
 
PDF
IRJET-Wireless Controlling of Remote Electrical Device using Android Smartphone
IRJET Journal
 
PDF
IoT Based Home Appliances Control
IRJET Journal
 
PDF
IOT: Home Automation using Android Application
Nikhil Jadav
 
DOCX
PROJECT REPORT ON Home automation using by Bluetooth
Aakashkumar276
 
DOCX
DIGITAL LOGIC DESIGN (1) PROJECT REPORT.docx
RafayNaveed4
 
PDF
Connecting Home Appliances via Bluetooth using IoT
IRJET Journal
 
PPTX
HOME AUTOMATION BY PROJECT PPT NIDHI.pptx
NIDHIKUMARI585101
 
PPTX
Uvais
Rao Uvais Khan
 
PDF
Home Automation Application with voice commands using Arduino
IRJET Journal
 
PPTX
Final Presentation - Edan&Itzik
itzik cohen
 
PDF
home/office automation
AdiLende
 
PPT
SMARTHOME
Prince Kumar
 
DOCX
Report
IshworKhatiwada
 
PPTX
home automation.pptx
18037MANOJKUMAR
 
PDF
smart home automation project report.pdf
UtsavPal5
 
PPTX
home automation.pptx
18037MANOJKUMAR
 
Control of lights + fan using wi fi and bluetooth
svsembedded
 
Home Automation System using Arduino and Android
Muhammad Ayesh
 
Smart home automation system
Pawan Kumar Ganjhu
 
Bluetooth Home Automation System
AI Publications
 
IRJET-Wireless Controlling of Remote Electrical Device using Android Smartphone
IRJET Journal
 
IoT Based Home Appliances Control
IRJET Journal
 
IOT: Home Automation using Android Application
Nikhil Jadav
 
PROJECT REPORT ON Home automation using by Bluetooth
Aakashkumar276
 
DIGITAL LOGIC DESIGN (1) PROJECT REPORT.docx
RafayNaveed4
 
Connecting Home Appliances via Bluetooth using IoT
IRJET Journal
 
HOME AUTOMATION BY PROJECT PPT NIDHI.pptx
NIDHIKUMARI585101
 
Home Automation Application with voice commands using Arduino
IRJET Journal
 
Final Presentation - Edan&Itzik
itzik cohen
 
home/office automation
AdiLende
 
SMARTHOME
Prince Kumar
 
home automation.pptx
18037MANOJKUMAR
 
smart home automation project report.pdf
UtsavPal5
 
home automation.pptx
18037MANOJKUMAR
 
Ad

Recently uploaded (20)

PPTX
Single-Cell Multi-Omics in Neurodegeneration p1.pptx
KanakChaudhary10
 
PPTX
Indian Podophyllum [Autosaved].pptx done
TahirChowdhary1
 
PPTX
An Analysis Of The Pearl Short Story By John Steinbeck
BillyDarmawan3
 
PDF
SCH 4103_Fibre Technology & Dyeing_07012020.pdf
samwelngigi37
 
PPTX
arun battery Li-ion presentation physics.pptx
lakshyanss2122
 
PPTX
lysosomes "suicide bags of cell" and hydrolytic enzymes
kchaturvedi070
 
PPT
rate of reaction and the factors affecting it.ppt
MOLATELOMATLEKE
 
DOCX
Accomplishment Report on YES- O SY 2025 2026.docx
WilsonVillamater
 
PPTX
Bronchiolitis: Current Guidelines for Diagnosis and Management By DrShamavu.pptx
Gabriel Shamavu
 
PDF
EV REGENERATIVE ACCELERATION INNOVATION SUMMARY PITCH June 13, 2025.pdf
Thane Heins NOBEL PRIZE WINNING ENERGY RESEARCHER
 
PPTX
Chromosomal Aberration (Mutation) and Classification.
Dr-Haseeb Zubair Tagar
 
PDF
Human-to-Robot Handovers track - RGMC - ICRA 2025
Alessio Xompero
 
PPTX
Liquid Biopsy Biomarkers for early Diagnosis
KanakChaudhary10
 
PDF
Study of Appropriate Information Combination in Image-based Obfuscated Malwar...
takahashi34
 
PPTX
Paired Sketching of Distributed User Interfaces:Workflow, Protocol, Software ...
Jean Vanderdonckt
 
PDF
Sujay Rao Mandavilli public profile June 2025.pdf
Sujay Rao Mandavilli
 
PDF
Driving down costs for fermentation: Recommendations from techno-economic data
The Good Food Institute
 
PDF
An Analysis of The Pearl by John Steinbeck
BillyDarmawan3
 
PPTX
General properties of connective tissue.pptx
shrishtiv82
 
PDF
The Gender Binary & LGBTI People: Religious Myth and Medical Malpractice
Veronica Drantz, PhD
 
Single-Cell Multi-Omics in Neurodegeneration p1.pptx
KanakChaudhary10
 
Indian Podophyllum [Autosaved].pptx done
TahirChowdhary1
 
An Analysis Of The Pearl Short Story By John Steinbeck
BillyDarmawan3
 
SCH 4103_Fibre Technology & Dyeing_07012020.pdf
samwelngigi37
 
arun battery Li-ion presentation physics.pptx
lakshyanss2122
 
lysosomes "suicide bags of cell" and hydrolytic enzymes
kchaturvedi070
 
rate of reaction and the factors affecting it.ppt
MOLATELOMATLEKE
 
Accomplishment Report on YES- O SY 2025 2026.docx
WilsonVillamater
 
Bronchiolitis: Current Guidelines for Diagnosis and Management By DrShamavu.pptx
Gabriel Shamavu
 
EV REGENERATIVE ACCELERATION INNOVATION SUMMARY PITCH June 13, 2025.pdf
Thane Heins NOBEL PRIZE WINNING ENERGY RESEARCHER
 
Chromosomal Aberration (Mutation) and Classification.
Dr-Haseeb Zubair Tagar
 
Human-to-Robot Handovers track - RGMC - ICRA 2025
Alessio Xompero
 
Liquid Biopsy Biomarkers for early Diagnosis
KanakChaudhary10
 
Study of Appropriate Information Combination in Image-based Obfuscated Malwar...
takahashi34
 
Paired Sketching of Distributed User Interfaces:Workflow, Protocol, Software ...
Jean Vanderdonckt
 
Sujay Rao Mandavilli public profile June 2025.pdf
Sujay Rao Mandavilli
 
Driving down costs for fermentation: Recommendations from techno-economic data
The Good Food Institute
 
An Analysis of The Pearl by John Steinbeck
BillyDarmawan3
 
General properties of connective tissue.pptx
shrishtiv82
 
The Gender Binary & LGBTI People: Religious Myth and Medical Malpractice
Veronica Drantz, PhD
 
Ad

Home automation system using arduino with android

  • 1. M.E.S ABASAHEB GARWARE COLLEGE, PUNE ELECTONIC SCIENCE DEPARTMENT HOME AUTOMATION SYSTEM USING ARDUINO AND ANDROID GRADUATION PROJECT 2017/2018 Made by Rahul Takalkar Pranav Gayal Supervised By: Dr. Rajendra Rajuskar
  • 2. ACKNOWLEDGEMENT In performing our assignment, we had to take the help and guideline of some respected person, who deserve our greatest gratitude. The completion of this assignment gives us much pleasure. We would like to show our gratitude DR.RAJUSKAR, M.E.S ABASAHEB GARWARE COLLEGE, PUNE For giving us a good guideline for assignment and also MR.RAVI GAVADE, T.Y.B.sc ELECTRONIC SCIENCE For all your help. We would also like to expand our deepest gratitude to all those who have directly and indirectly guided us in showing this assignment.
  • 3. Abstract The aim of this project is to design and implement a home automation system that controls and organizes various home appliances. The user (i.e. home owner) controls his home appliances using his smart phone. The home automation system processes user direct commands, user preferences and data received from various sensors to control home appliances. The project is implemented in hardware and software components that interact through network connections. The main challenge is to implement the project in an economical way such that it can be easily deployed and used by homeowners. An Arduino microcontroller and a mobile phone with an Android platform running on top of it are the hardware and software used. For the network part, an apache local server is used to make a connection between the microcontroller and the mobile phone and allow data transfer to take place in an efficient matter. Different functions are implemented using this system which includes the following: Manually controlled by smart phone application: 1. Open and close garage door. 2. Switch fan on/off. 3. Switch water tank motor on/off. 4. Switch led on/off
  • 4. USER REQUIREMENTS AND DESIGN User’s requirement to control the following manually through smart phone: 1. Open and close garage door. 2. Switch fan on/off. 3. Switch water tank motor on/off. 4. Switch led on/off. User’s requirement to control the following automatically through microcontroller: 5. Switch fan on/off. 6. Switch motor on/off . 7. Switch outdoor led on/off . The following graph summarizes how data from the sensors are displayed on Lcd. Android sends the data. Arduino controls the lcd . Arduino receives the data serially The data is displayed on the lcd.
  • 5. The following graph summarizes how data from the smartphone are read on the Arduino. Fig. android to Arduino summary Commands from the smartphones are sent to HC-05 Arduino accepts the data and update the database Arduino reads data from database According to the data, Arduino perform different functions
  • 8. advantages of using Android.  Using Android we can access core mobile device functionality.   Easy development since it contains SDK, which provides build, run and debugging Android applications.   Disadvantages of using Android.   It does not assure security for application as the source code is available.   Android requires internet connection to be active[11]. Bluetooth Bluetooth is a wireless technology standard for exchanging data over short distances (using short-wavelength) from fixed and mobile devices, and building personal area networks (PANs). Advantages of Bluetooth:  Cheap.  Easy to install.  It makes connecting to different devices convenient.  It is wireless.  It is free to use if the device is installed with it. Disadvantages of Bluetooth Technology:  It can be hacked into  If installed on a cell phone it is prone to receiving cell phone viruses.  It only allows short range communication between devices.  It can only connect two devices at once.  It can lose connection in certain conditions. [14] 20
  • 9. Bluetooth Wi-Fi Devices keyboards, office and computers, servers, TV, Latest mobiles. industrial automation devices. Hardware Bluetooth adaptor on all the Wireless adaptors on all the devices of requirement devices connecting with the network, a wireless router and/or each other. wireless access points Range 5-30 meters With 802.11b/g the typical range is 32 meters indoors and 95 meters (300 ft) outdoors. 802.11n has greater range. 2.5GHz Wi-Fi communication has greater range than 5GHz. Antennas can also increase range. Power Low High Consumption Ease of Use Fairly simple to use. Can be It is more complex and requires used to connect up to seven configuration of hardware and software. devices at a time. It is easy to switch between devices or find and connect to any device. Latency 200ms 150ms Bit-rate 2.1Mbps 600 Mbps Table 3 wifi and bluetooth comparison
  • 10. Android side: Switch to control the led on Shows temperature reading Shows light intensity reading Shows water level reading Switch to select manual or automatic mode Switch to control the fan on Switch to control the garage door on Switch to control the water pump on Figure 17 shows the startup of the application “F” indicates LED is on Figure 18 shows the LED switch button when pressed 27
  • 11. “T” indicates manual control mode Figure 19 shows how to toggle manual mode “ON” indicates the fan is on Figure 20 shows how to toggle fan swicth on and off 28
  • 12. Conclusion. The project is implemented in hardware and software components that interact through network connections. The main challenge is to implement the project in an economical way such that it can be easily deployed and used by homeowners. The data is collected from sensors by the Arduino. Arduino microcontroller is connected to the LAN with Ethernet shield. The configuration of the Arduino for Ethernet shield contains a static IP address for the shield and the local server. Arduino via the shield sends data every 5 seconds (can be adjusted) to the server via a URL using Get method. Server accepts the data and updates the database in the right columns and through in the same time gets the manual/automatic command with other switch status from the correct columns too. The smartphone reads data from the server using JSON method to get sensor values and display them on screen and updates the switch columns on the database if the user has clicked on them. Limitations and future work. The project has few limitations that as follows: 1. The system is vulnerable to the different types of attacks. 2. Hardware limitation i.e. Arduino UNO have low performance and low number of pins 3. The need of a laptop as local server 4. There must be an internet connection on the router. 5. Low range of connectivity i.e. we can’t connect outside the range of LAN. For future workwe suggest the following upgrades: 1. To add the security mechanisms such as the authentication in the mobile phone and making an access list on the database to prevent any unauthorized access. Data must be sent encrypted every time in a different key through the network to prevent the sniffing and replay attacks. 2. To get feedback from ON/OFF switches. 3. Schedule a plan for electronic devices selected by the user to control children usage for example computers and TV. 4. Schedule a plan for electronic devices selected by the user to control air conditioners and washing machines. 5. Implement fire detection system and turning off the power in case of emergency and notify the user on his smartphone. 6. Alert the user the gas jar emptyor a gas leakage is detected.