SlideShare a Scribd company logo
1 of 12
Download to read offline
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

Arduino Based Home Automation System with Android and
Arduino Based Home Automation System with Android andArduino Based Home Automation System with Android and
Arduino Based Home Automation System with Android and
Anish Basu
 

What's hot (20)

Home automation system
Home automation systemHome automation system
Home automation system
 
Home automation under wi fi through android apps from any smart phone
Home automation under wi fi through android apps from any smart phoneHome automation under wi fi through android apps from any smart phone
Home automation under wi fi through android apps from any smart phone
 
Smart home automation
Smart home automationSmart home automation
Smart home automation
 
bluetooth controlled home automation using arduino by shubham sinha
bluetooth controlled home automation using arduino by shubham sinhabluetooth controlled home automation using arduino by shubham sinha
bluetooth controlled home automation using arduino by shubham sinha
 
Home automation
Home automationHome automation
Home automation
 
HOME AUTOMATION USING ARDUINO
HOME AUTOMATION USING ARDUINOHOME AUTOMATION USING ARDUINO
HOME AUTOMATION USING ARDUINO
 
Bluetooth based home automation using Arduino UNO
Bluetooth based home automation using Arduino UNOBluetooth based home automation using Arduino UNO
Bluetooth based home automation using Arduino UNO
 
Arduino Based Home Automation System with Android and
Arduino Based Home Automation System with Android andArduino Based Home Automation System with Android and
Arduino Based Home Automation System with Android and
 
Bluetooth based home automation using arduino presentaton
Bluetooth based home automation using arduino presentatonBluetooth based home automation using arduino presentaton
Bluetooth based home automation using arduino presentaton
 
Smart home automation system
Smart home automation systemSmart home automation system
Smart home automation system
 
Home automation using bluetooth - Aurdino BASED
Home automation using bluetooth - Aurdino BASEDHome automation using bluetooth - Aurdino BASED
Home automation using bluetooth - Aurdino BASED
 
Controlling Home Appliances Using Voice
 Controlling Home Appliances Using Voice Controlling Home Appliances Using Voice
Controlling Home Appliances Using Voice
 
Home automation using android mobiles
Home automation using android mobilesHome automation using android mobiles
Home automation using android mobiles
 
Iot based home automation
Iot based home automationIot based home automation
Iot based home automation
 
Bluetooth based Home Automation
Bluetooth based Home AutomationBluetooth based Home Automation
Bluetooth based Home Automation
 
Internet of Things (IoT) Based Smart Security & Home Automation System.
Internet of Things (IoT) Based Smart Security & Home Automation System.Internet of Things (IoT) Based Smart Security & Home Automation System.
Internet of Things (IoT) Based Smart Security & Home Automation System.
 
Home automation
Home automationHome automation
Home automation
 
Voice Control Home Automation
Voice Control Home AutomationVoice Control Home Automation
Voice Control Home Automation
 
Home automation using wifi
Home automation using wifiHome automation using wifi
Home automation using wifi
 
Home automation
Home    automationHome    automation
Home automation
 

Similar to Home automation system using arduino with android

Vesceral Control on Electric Gadgets by Smartphones for Smart Abode Environment
Vesceral Control on Electric Gadgets by Smartphones for Smart Abode EnvironmentVesceral Control on Electric Gadgets by Smartphones for Smart Abode Environment
Vesceral Control on Electric Gadgets by Smartphones for Smart Abode Environment
Associate Professor in VSB Coimbatore
 
Icacci2017 lowcostimplementationofsmarthomeautomation
Icacci2017 lowcostimplementationofsmarthomeautomationIcacci2017 lowcostimplementationofsmarthomeautomation
Icacci2017 lowcostimplementationofsmarthomeautomation
dangthanhlinh
 

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

IRJET- Centralized Wireless Home Appliances Control System
IRJET- Centralized Wireless Home Appliances Control SystemIRJET- Centralized Wireless Home Appliances Control System
IRJET- Centralized Wireless Home Appliances Control System
 
Communication Methods to build Smart Home Monitoring System: A Survey
Communication Methods to build Smart Home Monitoring System: A SurveyCommunication Methods to build Smart Home Monitoring System: A Survey
Communication Methods to build Smart Home Monitoring System: A Survey
 
Communication Methods to build Smart Home Monitoring System: A Survey
Communication Methods to build Smart Home Monitoring System: A SurveyCommunication Methods to build Smart Home Monitoring System: A Survey
Communication Methods to build Smart Home Monitoring System: A Survey
 
synopsis
synopsissynopsis
synopsis
 
Vesceral Control on Electric Gadgets by Smartphones for Smart Abode Environment
Vesceral Control on Electric Gadgets by Smartphones for Smart Abode EnvironmentVesceral Control on Electric Gadgets by Smartphones for Smart Abode Environment
Vesceral Control on Electric Gadgets by Smartphones for Smart Abode Environment
 
68-71.pdf
68-71.pdf68-71.pdf
68-71.pdf
 
IRJET- Designing of Smart Switch for Home Automation
IRJET- Designing of Smart Switch for Home AutomationIRJET- Designing of Smart Switch for Home Automation
IRJET- Designing of Smart Switch for Home Automation
 
Seminar (1)
Seminar (1)Seminar (1)
Seminar (1)
 
IRJET- Smart & Intelligent Field Irrigation System using IoT
IRJET- Smart & Intelligent Field Irrigation System using IoTIRJET- Smart & Intelligent Field Irrigation System using IoT
IRJET- Smart & Intelligent Field Irrigation System using IoT
 
Icacci2017 lowcostimplementationofsmarthomeautomation
Icacci2017 lowcostimplementationofsmarthomeautomationIcacci2017 lowcostimplementationofsmarthomeautomation
Icacci2017 lowcostimplementationofsmarthomeautomation
 
Android Based Smart Department
Android Based Smart DepartmentAndroid Based Smart Department
Android Based Smart Department
 
Android Based Home-Automation using Microcontroller
Android Based Home-Automation using MicrocontrollerAndroid Based Home-Automation using Microcontroller
Android Based Home-Automation using Microcontroller
 
IRJET- IoT based Industrial Level Sensor Data Acquisition & Monitoring
IRJET- IoT based Industrial Level Sensor Data Acquisition & MonitoringIRJET- IoT based Industrial Level Sensor Data Acquisition & Monitoring
IRJET- IoT based Industrial Level Sensor Data Acquisition & Monitoring
 
AN AMELIORATED METHODOLOGY FOR THE DESIGN AND IMPLEMENTATION OF HOME AUTOMATI...
AN AMELIORATED METHODOLOGY FOR THE DESIGN AND IMPLEMENTATION OF HOME AUTOMATI...AN AMELIORATED METHODOLOGY FOR THE DESIGN AND IMPLEMENTATION OF HOME AUTOMATI...
AN AMELIORATED METHODOLOGY FOR THE DESIGN AND IMPLEMENTATION OF HOME AUTOMATI...
 
30 9137 e implementation of cloud connected smart plug (edit lafi)
30 9137 e implementation of cloud connected smart plug (edit lafi)30 9137 e implementation of cloud connected smart plug (edit lafi)
30 9137 e implementation of cloud connected smart plug (edit lafi)
 
International Journal of Engineering Research and Development
International Journal of Engineering Research and DevelopmentInternational Journal of Engineering Research and Development
International Journal of Engineering Research and Development
 
D1072327
D1072327D1072327
D1072327
 
A Comparative Study of Internet of Things Based Home Automation System
A Comparative Study of Internet of Things Based Home Automation SystemA Comparative Study of Internet of Things Based Home Automation System
A Comparative Study of Internet of Things Based Home Automation System
 
Home automation using blynk app with fan direction control and displaying sta...
Home automation using blynk app with fan direction control and displaying sta...Home automation using blynk app with fan direction control and displaying sta...
Home automation using blynk app with fan direction control and displaying sta...
 
IoT Based Solar Water Pump Controller
IoT Based Solar Water Pump ControllerIoT Based Solar Water Pump Controller
IoT Based Solar Water Pump Controller
 

Recently uploaded

(May 9, 2024) Enhanced Ultrafast Vector Flow Imaging (VFI) Using Multi-Angle ...
(May 9, 2024) Enhanced Ultrafast Vector Flow Imaging (VFI) Using Multi-Angle ...(May 9, 2024) Enhanced Ultrafast Vector Flow Imaging (VFI) Using Multi-Angle ...
(May 9, 2024) Enhanced Ultrafast Vector Flow Imaging (VFI) Using Multi-Angle ...
Scintica Instrumentation
 
The Mariana Trench remarkable geological features on Earth.pptx
The Mariana Trench remarkable geological features on Earth.pptxThe Mariana Trench remarkable geological features on Earth.pptx
The Mariana Trench remarkable geological features on Earth.pptx
seri bangash
 
Digital Dentistry.Digital Dentistryvv.pptx
Digital Dentistry.Digital Dentistryvv.pptxDigital Dentistry.Digital Dentistryvv.pptx
Digital Dentistry.Digital Dentistryvv.pptx
MohamedFarag457087
 
Module for Grade 9 for Asynchronous/Distance learning
Module for Grade 9 for Asynchronous/Distance learningModule for Grade 9 for Asynchronous/Distance learning
Module for Grade 9 for Asynchronous/Distance learning
levieagacer
 
Pteris : features, anatomy, morphology and lifecycle
Pteris : features, anatomy, morphology and lifecyclePteris : features, anatomy, morphology and lifecycle
Pteris : features, anatomy, morphology and lifecycle
Cherry
 
ONLINE VOTING SYSTEM SE Project for vote
ONLINE VOTING SYSTEM SE Project for voteONLINE VOTING SYSTEM SE Project for vote
ONLINE VOTING SYSTEM SE Project for vote
RaunakRastogi4
 

Recently uploaded (20)

Genome sequencing,shotgun sequencing.pptx
Genome sequencing,shotgun sequencing.pptxGenome sequencing,shotgun sequencing.pptx
Genome sequencing,shotgun sequencing.pptx
 
(May 9, 2024) Enhanced Ultrafast Vector Flow Imaging (VFI) Using Multi-Angle ...
(May 9, 2024) Enhanced Ultrafast Vector Flow Imaging (VFI) Using Multi-Angle ...(May 9, 2024) Enhanced Ultrafast Vector Flow Imaging (VFI) Using Multi-Angle ...
(May 9, 2024) Enhanced Ultrafast Vector Flow Imaging (VFI) Using Multi-Angle ...
 
The Mariana Trench remarkable geological features on Earth.pptx
The Mariana Trench remarkable geological features on Earth.pptxThe Mariana Trench remarkable geological features on Earth.pptx
The Mariana Trench remarkable geological features on Earth.pptx
 
ABHISHEK ANTIBIOTICS PPT MICROBIOLOGY // USES OF ANTIOBIOTICS TYPES OF ANTIB...
ABHISHEK ANTIBIOTICS PPT MICROBIOLOGY  // USES OF ANTIOBIOTICS TYPES OF ANTIB...ABHISHEK ANTIBIOTICS PPT MICROBIOLOGY  // USES OF ANTIOBIOTICS TYPES OF ANTIB...
ABHISHEK ANTIBIOTICS PPT MICROBIOLOGY // USES OF ANTIOBIOTICS TYPES OF ANTIB...
 
Role of AI in seed science Predictive modelling and Beyond.pptx
Role of AI in seed science  Predictive modelling and  Beyond.pptxRole of AI in seed science  Predictive modelling and  Beyond.pptx
Role of AI in seed science Predictive modelling and Beyond.pptx
 
Bhiwandi Bhiwandi ❤CALL GIRL 7870993772 ❤CALL GIRLS ESCORT SERVICE In Bhiwan...
Bhiwandi Bhiwandi ❤CALL GIRL 7870993772 ❤CALL GIRLS  ESCORT SERVICE In Bhiwan...Bhiwandi Bhiwandi ❤CALL GIRL 7870993772 ❤CALL GIRLS  ESCORT SERVICE In Bhiwan...
Bhiwandi Bhiwandi ❤CALL GIRL 7870993772 ❤CALL GIRLS ESCORT SERVICE In Bhiwan...
 
Cot curve, melting temperature, unique and repetitive DNA
Cot curve, melting temperature, unique and repetitive DNACot curve, melting temperature, unique and repetitive DNA
Cot curve, melting temperature, unique and repetitive DNA
 
Digital Dentistry.Digital Dentistryvv.pptx
Digital Dentistry.Digital Dentistryvv.pptxDigital Dentistry.Digital Dentistryvv.pptx
Digital Dentistry.Digital Dentistryvv.pptx
 
Module for Grade 9 for Asynchronous/Distance learning
Module for Grade 9 for Asynchronous/Distance learningModule for Grade 9 for Asynchronous/Distance learning
Module for Grade 9 for Asynchronous/Distance learning
 
X-rays from a Central “Exhaust Vent” of the Galactic Center Chimney
X-rays from a Central “Exhaust Vent” of the Galactic Center ChimneyX-rays from a Central “Exhaust Vent” of the Galactic Center Chimney
X-rays from a Central “Exhaust Vent” of the Galactic Center Chimney
 
Call Girls Ahmedabad +917728919243 call me Independent Escort Service
Call Girls Ahmedabad +917728919243 call me Independent Escort ServiceCall Girls Ahmedabad +917728919243 call me Independent Escort Service
Call Girls Ahmedabad +917728919243 call me Independent Escort Service
 
Pteris : features, anatomy, morphology and lifecycle
Pteris : features, anatomy, morphology and lifecyclePteris : features, anatomy, morphology and lifecycle
Pteris : features, anatomy, morphology and lifecycle
 
module for grade 9 for distance learning
module for grade 9 for distance learningmodule for grade 9 for distance learning
module for grade 9 for distance learning
 
ONLINE VOTING SYSTEM SE Project for vote
ONLINE VOTING SYSTEM SE Project for voteONLINE VOTING SYSTEM SE Project for vote
ONLINE VOTING SYSTEM SE Project for vote
 
CURRENT SCENARIO OF POULTRY PRODUCTION IN INDIA
CURRENT SCENARIO OF POULTRY PRODUCTION IN INDIACURRENT SCENARIO OF POULTRY PRODUCTION IN INDIA
CURRENT SCENARIO OF POULTRY PRODUCTION IN INDIA
 
FAIRSpectra - Enabling the FAIRification of Analytical Science
FAIRSpectra - Enabling the FAIRification of Analytical ScienceFAIRSpectra - Enabling the FAIRification of Analytical Science
FAIRSpectra - Enabling the FAIRification of Analytical Science
 
Cyanide resistant respiration pathway.pptx
Cyanide resistant respiration pathway.pptxCyanide resistant respiration pathway.pptx
Cyanide resistant respiration pathway.pptx
 
Gwalior ❤CALL GIRL 84099*07087 ❤CALL GIRLS IN Gwalior ESCORT SERVICE❤CALL GIRL
Gwalior ❤CALL GIRL 84099*07087 ❤CALL GIRLS IN Gwalior ESCORT SERVICE❤CALL GIRLGwalior ❤CALL GIRL 84099*07087 ❤CALL GIRLS IN Gwalior ESCORT SERVICE❤CALL GIRL
Gwalior ❤CALL GIRL 84099*07087 ❤CALL GIRLS IN Gwalior ESCORT SERVICE❤CALL GIRL
 
FAIRSpectra - Enabling the FAIRification of Spectroscopy and Spectrometry
FAIRSpectra - Enabling the FAIRification of Spectroscopy and SpectrometryFAIRSpectra - Enabling the FAIRification of Spectroscopy and Spectrometry
FAIRSpectra - Enabling the FAIRification of Spectroscopy and Spectrometry
 
Terpineol and it's characterization pptx
Terpineol and it's characterization pptxTerpineol and it's characterization pptx
Terpineol and it's characterization pptx
 

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.