Beruflich Dokumente
Kultur Dokumente
A
PROJECT REPORT
SUBMITTED IN THE PARTIAL FULFILLMENT OF THE REQUIREMENTS FOR THE
AWARD OF THE DEGREE OF
BACHELOR OF ENGINEERING
IN
COMPUTER SCIENCE & ENGINEERING
SUBMITTED BY:
NISHANT KUMAR
PRAVEEN KUMAR
UE133066
UE133070
RITESH SURAJ
SAHIL TOMAR
UE133080
UE133087
SEVENTH SEMESTER
UNDER THE SUPERVISION OF:
CANDIDATES DECLARATION
I hereby certify that the work presented in the Project entitled HOME AUTOMATION in
partial fulfillment of the requirement for the award of the degree of Bachelor of Engineering in
Computer Science & Engineering from University Institute of Engineering and Technology,
Punjab University, Chandigarh, is an authentic record of my own work carried out under the
supervision and guidance of Dr. Mukesh Kumar.
NISHANT KUMAR
UE133066
PRAVEEN KUMAR
UE133070
RITESH SURAJ
UE133080
SAHIL TOMAR
UE133087
CERTIFICATE
This is to certify that the above statement made by the candidate is correct to the best of my
knowledge and belief.
Date: 06/12/2016
Place: Chandigarh
2 | Page
ACKNOWLEDMENT
First and foremost offer my sincere gratitude to my Supervisor Dr. Mukesh Kumar who has
supported me throughout my report, with the patience and knowledge. I attribute the level of my
bachelor to his encouragement and effort and without him this report too, would not have been
completed or written. One simply could not wish for better or friendlier.
I am also indebted to the many countless contribution to the internet, outline optical fiber
community, PDF file editors, Microsoft office for providing the numerous documents and tools. I
have used to produce both my report, data and figure.
Department of computer science has provided the support; I have needed to produce and
complete my seminar report.
I also thanks for my batch mates for providing constant encouragement, support and valuable
suggestions during the development of the report.
Finally, I thank my parents, and friends for supporting me through my report through various
methods.
3 | Page
Table of Contents
Chapter 1: Introduction.............................................................................................. 7
Chapter 2 Feasibility
Study
....9
Chapter 3 Software Requirement Specifications.
..11
Chapter 4 Design.
..24
Chapter 5 Implementation Details (With Screenshots)
.................................................................................................................................. .3
1
Chapter 6
Testing
..39
Chapter 7 Future Scope..
.................................................................................................................................. .4
1
References............................................................................................................ 42
4 | Page
Abstract
The HomeAutomation is a wireless home automation system that is supposed to be implemented
in existing home environments, without any changes in the infrastructure. HomeAutomation let
the user to control the home from his or her computer and assign actions that should happen
depending on time or other sensor readings such as light, temperature or sound from any device
in the HomeAutomation network.
1.
2.
3.
4.
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 or using laptop/pc. The home automation system processes user direct
commands, user preferences and data received from various sensors to control home appliances.
This Project presents the overall design of Android Home Automation System with low cost and
a Android mobile application / website. This system is designed to assist and provide support in
order to fulfill the needs of elderly and disabled in home. Also, the smart home concept in the
system improves the standard living at home. The main control system implements wireless
Bluetooth technology and WiFi technology to provide remote access from smart phone or
Laptop/PC.
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:
Open and close garage door.
Switch fan on/off.
Switch water tank motor on/off.
Switch led on/off
3.
4.
BACKGROUND
Most advanced home automation systems in existence today require a big
and expensive change of infrastructure. This means that it often is not
feasible to install a home automation system in an existing building. The
Home Automation is a wireless home automation system that is supposed to
be implemented in existing home environments, without any changes in the
existing infrastructure. Home Automation lets the user to control his home
from his or her computer. In the computer program the user can create
actions what should happen with electrical devices in the network depending
on the sensors sensing surrounding environment.
CONCEPT
Every Home Automation box is a stand-alone device. It is connected to the
mains and controls the power outlet of the electrical device that is plugged
into it. There will be a receiver and transmitter in each of the box, so they
can exchange information with the master (a computer). People can control
power supply of electrical devices in order to create an interactive home
environment to facilitate the control without changing any home appliance.
People can enjoy the high technology and simplicity modern life style. Each
device will be with standard setup and while adding it into network; it can be
given an address and tasks to do. All the setting will be easily resettable to
default value, so people can move the devices between different electrical
devices and networks. Home Automation boxes will be put into different
rooms at home, depending on the needed functionality. Various different
6 | Page
sensors could be attached to the boxes. The sensors are used as triggers for
actions, that user can set up in the computer program.
CHAPTER 1
INTRODUCTION
Home automation systems, or smart home technologies, are systems and devices that can control
elements of your home environment lighting, appliances, telephones, home security and
mechanical, entry and safety systems.
Home automation systems can be operated by electricity or a computer chip using a range of
different types of switches. A simple device, such as a light can be activated by a signal from a
motion detector, or can be part of a computerized home automation system. As a very basic
definition, we tend to refer to home automation as anything that gives you remote or automatic
control of things around the home.
DESCRIPTION
Home automation (also called domotics) may designate an emerging practice of increased
automation of household appliances and features in residential dwellings, particularly through
electronic means that allow for things impracticable, overly expensive or simply not possible in
recent past decades. The term may be used in contrast to the more mainstream "building
automation," which refers to industrial settings and the automatic or semi-automatic control of
lighting, climate doors and windows, and security and surveillance systems. The techniques
7 | Page
employed in home automation include those in building automation as well as the control of
home entertainment systems, houseplant watering, pet feeding, "scenes" for different events
(such as dinners or parties), and the use of domestic robots.
Typically, it is easier to more fully outfit a house during construction due to the accessibility of
the walls, outlets, and storage rooms, and the ability to make design changes specifically to
accommodate certain technologies. Wireless systems are commonly installed when outfitting a
pre-existing house, as they obviate the need to make major structural changes. These
communicate via radio or infrared signals with a central controller.
WHAT CAN HOME AUTOMATION DO?
Remote control
Remote control gives you the convenience of controlling lighting, appliances, security systems
and consumer electronics from wherever you happen to be at the time, like your couch, car or
even in your bed. There are several different "methods" of controlling devices remotely.
Automatic control
Automatic control adds even more convenience by making things happen automatically, without
any effort being necessary. Examples include having your lights turn on at dusk and off at your
desired time, having your whole home theater turn on and tune to the desired station after one
press of a button on your remote.
Features
8 | Page
CHAPTER 2
FEASIBILITY STUDY
Feasibility study is the process of determination of whether or not a process is worth doing.
In this project Home Automation study has been done on the mail mechanism by considering if the
proposed system is a cost-viable solution and can be further developed within the budget allocated.
Feasibility of the project is studied by considering operational and technical parameters.
Feasibility study can be divided into three parts:
1. Technical Feasibility
2. Economic Feasibility
3. Operational Feasibility
9 | Page
Technical Feasibility is concerned with specifying equipment and software and hardware that
will successfully satisfy the user requirement. It includes the facility to produce output in a
given time, ability to process a certain volume of transaction at a particular speed and so on.
In our project the compatibility between client and server is very good as it is important. The speed of
output i.e. response time is very fast. It would never found difficulty when used complex query and
heavy transaction. The speed of transaction would be very smooth and constant. This application
provides facility to communicate data to distant location.
Reasons of technical feasibility of project are:
1.
2.
3.
4.
Economic Analysis is most frequently used for evaluation of the effectiveness of the system.
More commonly known as cost/benefit analysis, the procedure is to determine the benefit and
saving that are expected from a system and compare them with costs, decisions is made to
design and implement the system.
In this project, the organization is most satisfied by economic feasibility. Because, if the organization
implements this system, it need not require any additional hardware resources as well as it will be
saving lot of time. Software that is required to implement this is also available as open source so cost
is minimal in all aspects.
COMPONENT USED
Arduino UNO
COST(in rupees)
500
400
ESP8266
Relay
Miscellaneous
Total Cost
400
25
100
1425
Operational Feasibility:
The system offers greater level of user friendliness combined with greater processing speed.
+Therefore, the cost of maintenance can be reduced. All the computational work will be done
automatically in our system. At any time we can check whether the concerned appliance is
on/off, which is on-line. As all employees of company know about computers operation so
10 | P a g e
users will not face difficulty in hardware and the training of software is not difficult task.
Since, processing speed is very high and the work is reduced in the maintenance point of view
management convince that the project is operationally feasible.
CHAPTER 3
11 | P a g e
people
just
starting
out
with
previous
programmable
circuit
12 | P a g e
terminated in a barrel jack. In the picture above the USB connection is labeled (1) and the barrel
jack is labeled (2).
The USB connection is also how you will load code onto your Arduino board.
Pins (5V, 3.3V, GND, Analog, Digital, PWM, AREF)
The pins on Arduino are the places where you connect wires to construct a circuit probably in
conjuction with a breadboard and some wire. They usually have black plastic headers that allow
you to just plug a wire right into the board. The Arduino has several different kinds of pins, each
of which is labeled on the board and used for different functions.
GND (3): Short for Ground. There are several GND pins on the Arduino, any of which
can be used to ground your circuit.
5V (4) & 3.3V (5): As you might guess, the 5V pin supplies 5 volts of power, and the
3.3V pin supplies 3.3 volts of power. Most of the simple components used with the Arduino run
happily off of 5 or 3.3 volts.
Analog (6): The area of pins under the Analog In label (A0 through A5 on the UNO)
are Analog In pins. These pins can read the signal from an analog sensor (like a temperature
sensor) and convert it into a digital value that we can read.
Digital (7): Across from the analog pins are the digital pins (0 through 13 on the UNO).
These pins can be used for both digital input (like telling if a button is pushed) and digital output
(like powering an LED).
PWM (8): You may have noticed the tilde (~) next to some of the digital pins (3, 5, 6, 9,
10, and 11 on the UNO). These pins act as normal digital pins, but can also be used for
something called Pulse-Width Modulation (PWM).
AREF (9): Stands for Analog Reference. Most of the time you can leave this pin alone. It
is sometimes used to set an external reference voltage (between 0 and 5 Volts) as the upper limit
for the analog input pins.
Reset Button(10):Just like the original Nintendo, the Arduino has a reset button (10).
Pushing it will temporarily connect the reset pin to ground and restart any code that is loaded on
the Arduino. This can be very useful if your code doesnt repeat, but you want to test it multiple
times. Unlike the original Nintendo however, blowing on the Arduino doesnt usually fix any
problems.
13 | P a g e
Power LED Indicator(11):Just beneath and to the right of the word UNO on your
circuit board, theres a tiny LED next to the word ON (11). This LED should light up whenever
you plug your Arduino into a power source. If this light doesnt turn on, theres a good chance
something is wrong. Time to re-check your circuit!
A TI Launchpad (MSP430) costs $10 with free shipping from TI directly. That's pretty
amazingly cheap. This gets you the Launchpad, a USB cable (Mini-USB, just like cameras and
such)
and,
three
MSP430G
chips
of
varying
complexity
and
speed.
You get 16 IO pins, of which 8 can do analog input and 7 can do PWM. You also get a green
LED connected to a PWM pin and a red LED connected to a digital IO pin. Both LEDs can be
detached from their pins by removing a pair of jumpers. You get a RESET button just like the
Arduino, as well as an extra pushbutton that you can use in your projects.
14 | P a g e
TI puts out an IDE (actually a couple) for programming the MSP430. I have attempted to use it
and failed miserably. If you're fluent in C you may have better luck. Thankfully the folks at
Energia.ru have ported the Arduino IDE to work with LaunchPads! They've ported many
libraries as well, so many Arduino programs can be moved between the two platforms very
easily. It's not quite a simple copy/paste as the pin names are different, but it's close. The
LaunchPad also has expansion boards, TI calls them BoosterPacks. They add all sorts of features,
just like the Arduino shields do. The BoosterPacks do not, however, stack.
Arduino Uno R3
ATMEGA328 Micro controller , 16 MHz clock speed
Number of Digital IO - 20
Flash Memory - 32 KB
SRAM - 2 KB , EEPROM 1-KB
1 SPI,1 I2C, 1 UART
6 PWM
6 ADCs etc.
While both the Pi and Arduino have a number of interface ports, its much easier to
connect analog sensors to the Arduino. The microcontroller can easily interpret and respond to a
wide range of sensor data using the code you put on it, which makes it great if you intend to
repeat a series of commands or respond to sensor data as a means of making adjustments to
servos and devices. The Pi on the other hand, requires a software to effectively interface with the
same devices. Arduino have a 'real-time' and 'analog' capability that the Pi do not provide. This
flexibility allows it to work with just about any kind of sensor or chips. Raspberry Pi does not
offer such flexibility; i.e. reading from analog sensors requires extra hardware assistance.
Table 1summarizes the comparison. We used Arduino for its cost and flexibility
Chip
Arduino
Raspberry Pi
$10
$50
Performance
16MHz
1.2GHz
Flexibility
High
High
Capability to connect
Sensors
Can be connected
Directly
Connectivity to LAN
Operating System
Built-in port
Linux
Cross-platform - The Arduino Software (IDE) runs on Windows, Macintosh OSX, and
Linux operating systems. Most microcontroller systems are limited to Windows.
Simple, clear programming environment - The Arduino Software (IDE) is easy-to-use
for beginners, yet flexible enough for advanced users to take advantage of as well. For teachers,
it's conveniently based on the Processing programming environment, so students learning to
program in that environment will be familiar with how the Arduino IDE works.
Open source and extensible software - The Arduino software is published as open
source tools, available for extension by experienced programmers. The language can be
expanded through C++ libraries, and people wanting to understand the technical details can
make the leap from Arduino to the AVR C programming language on which it's based. Similarly,
you can add AVR-C code directly into your Arduino programs if you want to.
Open source and extensible hardware - The plans of the Arduino boards are published
under a Creative Commons license, so experienced circuit designers can make their own version
of the module, extending it and improving it. Even relatively inexperienced users can build the
breadboard version of the module in order to understand how it works and save money.
3.1.1.2 HC-05 Module (BLUETOOTH)
HC-05 module is an easy to use Bluetooth
SPP (Serial Port Protocol) module,
designed for transparent wireless serial
connection setup.
Serial port Bluetooth module is fully
qualified Bluetooth V2.0+EDR (Enhanced
Data Rate) 3Mbps Modulation with
complete 2.4GHz radio transceiver and
baseband. It uses CSR Bluecore 04External single chip Bluetooth system with
CMOS technology and with AFH(Adaptive
Frequency Hopping Feature). It has the footprint as small as 12.7mmx27mm. Hope it will
simplify your overall design/development cycle.
Specifications
Hardware features
Typical -80dBm sensitivity
Up to +4dBm RF transmit power
Low Power 1.8V Operation ,1.8 to 3.6V I/O
PIO control
UART interface with programmable baud rate
With integrated antenna
With edge connector
Software features
Default Baud rate: 38400, Data bits:8, Stop bit:1,Parity:No parity, Data control: has.
Supported baud rate: 9600,19200,38400,57600,115200,230400,460800.
Given a rising pulse in PIO0, device will be disconnected.
17 | P a g e
18 | P a g e
19 | P a g e
Note: The ESP8266 Module is not capable of 5-3V logic shifting and will require an
external Logic Level Converter. Please do not power it directly from your 5V dev board.
Note: This new version of the ESP8266 WiFi Module has increased the flash disk size from
512k to 1MB.
Features:
802.11 b/g/n
Wi-Fi Direct (P2P), soft-AP
Integrated TCP/IP protocol stack
Integrated TR switch, balun, LNA, power amplifier and matching network
Integrated PLLs, regulators, DCXO and power management units
+19.5dBm output power in 802.11b mode
Power down leakage current of <10uA
1MB Flash Memory
Integrated low power 32-bit CPU could be used as application processor
SDIO 1.1 / 2.0, SPI, UART
STBC, 11 MIMO, 21 MIMO
A-MPDU & A-MSDU aggregation & 0.4ms guard interval
Wake up and transmit packets in < 2ms
Standby power consumption of < 1.0mW (DTIM3)
An open source software for Arduino boards used to write and upload codes on the Arduino
boards without any complicates. It runs on different platforms including Windows. It provides
extra options to monitor and communicate with Arduino boards. Programs written using Arduino
Software (IDE) are known as sketches and saved in .ino extension .
3.2.2 Android:
Android is open source system and based on the Linux kernel, it is designed for devices with
touch screens, it is providing a testing and debugging tools for application.
The programming language used in Android is Java, Android has SQL data base to store data,
also it use the Android Software Development Kit which It is a process that is to use the creation
of new applications running on Android. Android platform supports different connection
technologies including Wi-Fi.
3.2.2.1 Android studio:
Android Studio is used for programming Android applications. It gives programmers graphical
tools for creating Android Apps,it is provide a test for application projects that run on a device.
Advantages of using Android.
1.
Using Android we can access core mobile device functionality.
2.
Easy development since it contains SDK, which provides build, run and debugging
Android applications.
Disadvantages of using Android.
1. It does not assure security for application as the source code is available.
2. Android requires internet connection to be active.
3.2.3 Java:
Java is a general-purpose computer programming language that is concurrent, class-based,
object-oriented, and specifically designed to have as few implementation dependencies as
possible. It is intended to let application developers "write once, run anywhere" (WORA),
meaning that compiled Java code can run on all platforms that support Java without the need for
recompilation.
Different Editions of Java Platform:
J2SE (Java Platform, Standard Edition)
Also known as Core Java, this is the most basic and standard version of Java. Its the purest form
of Java, a basic foundation for all other editions. It consists of a wide variety of general purpose
APIs (like java.lang, java.util) as well as many special purpose APIs. J2SE is mainly used to
create applications for Desktop environment. It consist all the basics of Java the language,
variables, primitive data types, Arrays, Streams, Strings Java Database Connectivity(JDBC) and
much more. This is the standard, from which all other editions came out, according to the needs
of the time.
J2EE (Java Platform, Enterprise Edition)
The Enterprise version of Java, also called Advanced Java, has a much larger usage of Java, like
development of web services, networking, server side scripting and other various web based
applications. J2EE is a community driven edition, i.e. there is a lot of continuous contributions
21 | P a g e
from industry experts, Java developers and other open source organisations. J2EE uses many
components of J2SE, as well as, has many new features of its own like Servlets, JavaBeans, Java
Message Services, adding a whole new functionalities to the language. J2EE uses HTML, CSS,
JavaScript etc., so as to create web pages and web services. Its also one of the most widely
accepted web development standard.
1.
2.
1.
2.
3.2.3.1 Eclipse:
Tools for Java developers creating Java EE and Web applications, including a Java IDE, tools for
Java EE, JPA, JSF, Mylyn and others.
Advantages of using JAVA.
Java is a very stable platform.
There is wonderful tool support for Java. Great IDE, great refactoring tools, great static analysis
tools
Disadvantages of using Android.
There are a lot of slow Java applications.
Slow Development of Applications.
3.3CONNECTIVITY
3.3.1 Wi-Fi:
Wi-Fi is a wireless technology based on IEEE 802.11. It uses microwaves to create
communication through devices known as routers. It has great potential, but, as with any other
technology, along with the advantages, there are disadvantages.
Advantages of Wi-Fi:
The main advantages of Wi-Fi are the lack of wires. And it is used to connect a variety of
devices, not only between themselves but also to the Internet. Another advantage is to create a
mesh Wi-Fi. To connect a new device to your network, simply turn on the Wi-Fi and do the
simple setting in the software.
Standardization of Wi-Fi technology allows you to connect to the network in any country. Wi-Fi
allows us to achieve high compatibility.
Disadvantages of Wi-Fi:
Wi-Fi is sensitive to electromagnetic radiation generated by household appliances. This primarily
affects the speed of data transmission.
Despite the global standardization, many devices from different manufacturers are not fully
compatible, which in turn affects the speed of communication.
Wi-Fi has a limited radius of action and it is suitable for home networking, which is more
dependent on the environment. So for home router with Wi-Fi in the room has a range of up to
45 meters and up to 450 meters outside.
At high density Wi-Fi points channels can interfere with each other. This affects the quality of
the connection.
3.3.2 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:
22 | P a g e
2.
3.
4.
5.
1. 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.
1.
2.
3.
4.
5.
23 | P a g e
Capacity
Throughput how many transactions per hour does the system need to be able to handle?
Storage- how much data does the system need to be able to store?
Year-on-year growth requirements
Availability
Hours of operation- When is it available? Maintenance times, etc are considered
Locations of operation- Where should it be available form, what are the connection requirements?
Reliability
Mean Time between Failures- What is the acceptable threshold for down-time? E.g. one a year
Mean time To Recovery- if broken, how much time is available to get the system back up again?
Integrity
Fault Trapping (I/O)- how to handle electronic interface failures, etc
Bad data trapping- data imports, flag-and-continue or stop the import policies, etc
Data integrity- referential integrity in database tables and interfaces
CHAPTER 4
Planning of the Project:
24 | P a g e
DESIGN
Planning phase covers about 50% of the whole process, it determines the scope of the project as well
as the objective of the project. The output of the planning phase serves as the input for the execution
phase.First of all a preliminary area of application has been identified, it is then subjected to more
rigorous examination in a feasibility study. By the initial investigation, need is recognized, user
requirements are determined and the problem has been defined. Email communication &
collaboration, integrated in a smart & secure solution based on powerful mail server has many
benefits for business. As per business requirement, the high performance mail-server technology is
specifically built to provide fast and secure email communication, while ensuring effective space
management. An initial investigation has been launched to study the present system and verify the
problem in systematic way. The next step is to determine exactly what the proposed system is to do
by defining its expected performance. This kind of work has been carried out in feasibility study.
The contents and recommendations of such a study is used as a sound basis for deciding whether to
proceed, postpone or cancel the project. With the help of above support we ensure that the system
would not halt in case of undesired situation or events. Problem affected of any module does not
affect any other module of the system.
For any successful project work breakdown structure is very important. So then we conducted a
brainstorm to list all the tasks which is further breakdown into a hierarchical set of activities, for
instance, categories, sub-categories, etc. for example hardware, software, etc.
Then procedure, policies, and documentation for planning, managing, executing and controlling the
project schedule are established. As a whole, project schedule management plan is developed.
As an output of this phase, activity list is made along with milestone list .Then we sequenced them
i.e. we organized them in the order they need to be performed. We estimated resource requirements
followed by estimating the duration of all the tasks. Constraints are developed along with task
dependencies. Project document is updated in synchronized manner.
Project Design
1.
Class Diagram :
25 | P a g e
The class diagram is a static diagram. Class diagram is not only used for visualizing, describing and
documenting different aspects of a system but also for constructing executable code of the software
application.
The class diagrams are widely used in the modeling of object oriented systems because they are the
only UML diagrams which can be mapped directly with object oriented languages.
2. Activity Diagram
Activity diagram is basically a flow chart to represent the flow form one activity to another activity.
The activity can be described as an operation of the system.
It captures the dynamic behavior of the system. Other four diagrams are used to show the message
flow from one object to another but activity diagram is used to show message flow from one activity
to another.
26 | P a g e
The use case diagram is dynamic in nature there should be some internal or external factors for
making the interaction.
These internal and external agents are known as actors. So use case diagrams are consists of actors,
use cases and their relationships. The diagram is used to model the system/subsystem of an
application.
27 | P a g e
4. Sequence Diagram
A Sequence diagram is an interaction diagram that shows how objects operate with one another and
in what order. It is a construct of a message sequence chart. A sequence diagram shows object
interactions arranged in time sequence.
28 | P a g e
An important characteristic of a sequence diagram is that time passes from top to bottom: the
interaction starts near the top of the diagram and ends at the bottom (i.e. Lower equalsLater).
29 | P a g e
5. Component Diagram
6. Deployment Diagram
30 | P a g e
7. Collaboration Diagram
31 | P a g e
CHAPTER 5
Implementation Details
It is basically an automation system in which our android app can be used in switching and
managing electronic appliances or devices using Arduino.
e.g. Switching fan or bulb etc.
Both physical switch and android app can be used in switching and managing like a two way
switch.
The app works by establishing a Wi-Fi and Bluetooth connection.
32 | P a g e
Current progress:
Mobile Controlled Switch using Bluetooth and Wi-Fi.
It can also be controlled using physical switch.
Both can work together just like a Two Way Switch.
We can control all the things that a physical switch can, using our SmartSwitch.
It can be adjusted with current Home Electric Board with some Modifications without changing
electrical wiring.
Can be operated within Specified Bluetooth Range as well as specified Wi-Fi range.
Cost Efficient for more Social Use.
Implementing operation over Thousands of km of distance (Using Server).
Screenshots
33 | P a g e
Website:
LogIn Page
After LogIn
Android App:
Logo Of App
36 | P a g e
37 | P a g e
Device Operation::
Bluetooth
BEFORE TURNING ON
38 | P a g e
Wi-Fi
BEFORE TURNING ON
39 | P a g e
CHAPTER 6 TESTING
INTRODUCTION
Testing is a set of activities that can be planned in advance and conducted systematically testing
requires that the developer discard preconceived notations of the correctness of the software just
developed and overcome a conflict of interest that occurs when errors are encountered. Testing also
provides the main objective of our project and understand the risk of implementation. Testing is a
process of technical investigation, performed on behalf of stakeholder that is intended to reveal
quantity related information about the product with respect to the context in which it is intended to
operate. Testing is the process of executing a program or an application with an intent of finding an
error or bugs. Testing can be stated as the process of validating and verifying that a software
program/application/product:
How we test
We assessed home automation/security kits, starter home automation kits, and stand-alone smart
LED light-bulbs.
40 | P a g e
Ease of use is based on: how easy it is to get the bulbs up and running; remote access; general
layout and usage of the app; and in-box documentation.
Performance also takes in to account the responsiveness of the app that controls the LED bulb,
and scoring for this is based on the tester findings and comments based on those findings.
Performance is based on the luminosity of the bulb, as well as the responsiveness of the bulb's
app. Average light output is the measured average light output (in lumens) after 100 hours burnin at the CHOICE lab using its default on state, compared to the manufacturer's stated light
output.
Smart switches
Ease of use is based on: how easy it is to get the switches up and running; remote access; general
layout and usage of the app; the physical characteristics of the switch; and in-box documentation
Performance is based on the responsiveness of the switch as used through its supported app
Power consumption for each switch was recorded in both its on state and its standby (off) state,
but not included in the overall score.
Ease of use is based on: how easy it is to get the kits up and running; remote access; general
layout and usage of the app; and in-box documentation
Performance is based on the responsiveness of the kit's components as used through its
supported application
41 | P a g e
After measuring the light performance of the bulbs, he assessed the kits and switch devices to
and highlighted the available product feature and what each device required in order to work in
an automated home environment.
CHAPTER 7
FUTURE SCOPE
42 | P a g e
43 | P a g e