Professional Documents
Culture Documents
Project Report Has
Project Report Has
INTRODUCTION
Over-Use Reminder
Notify when apps installed and the summary of daily installed apps.
Manage Apps
CHAPTER 2
LITERATURE REVIEW
2.1 INTRODUCTION
5
The devices were controlled with various sensors and actuators .It was
continuously monitored and controlled using Internet.
anywhere around the world through internet connection. In this proposed system, a
Home Automation system(HAS) using Intel Galileo was presented and that employs
the integration of cloud networking, wireless communication, to provide the user with
remote control of various lights, fans, and appliances within their home and storing
the data in the cloud.
The system will automatically change on the basis of sensors data and
allowing a variety of devices to be controlled. Home automation system means that
allow users to control electric appliances of varying kind. The proposed system is a
distributed home automation system, consists of server, sensors. Server controls and
monitors the various sensors, and can be easily configured to handle more hardware
interface module (sensors).Wi-Fi is chosen to improve system security (by using
secure Wi-Fi connection), and to increase system mobility and scalability. The
temperature and the motion detection are stored in cloud for analysis.
If the temperature exceeds the threshold level then the cooler will turn on
automatically and it will off when the temperature comes to control. HTML is a
format that tells a computer how to display a web page. The documents themselves
are plain text files with special "tags" or codes that a web browser uses to interpret
and display information on your computer screen. The designed system not only
monitors the sensor data, like temperature, gas, light, motion sensors, but also actuates
a process according to the requirement, for example switching on the light when it
gets dark.
It also stores the sensor parameters in the cloud (Gmail) in a timely manner.
This will help the user to analyze the condition of various parameters in the home
anytime anywhere.
Nidhi Sharma et al. [2] Security is the main concern of the world now days.
Sensor based home security system are the high technology and methodical systems
which connect wirelessly and ensure real time operation and indication of the threat to
the house. The idea of comfortable living in home has changed since the past decade
as digital, vision and wireless technologies are integrated into it. Now-a-days internet
plays a major role in every area, so integrating sensors technology with an IOT
7
environment could resolve the security issues of society to a great extent. The system
is cost effective, reliable and has low power consumption. Smart home security has
become absolutely pre-eminent in daily life of household and industrial works.
Fire and IR sensors are digital sensors. Water and LPG (MQ2) sensors are
analog sensors. This system is concerned about overall security of the house and
includes circuitry which in worse case (accidents) automatically sense the situation
and sends the emergency message on the website, which is easily accessed by security
guard/security firm/owner or individual. The extensive capabilities of this system are
those, which makes it so interesting. The system is user friendly and reliable. The 8
product will have a simplistic design making it users can easily interact with the
system.
The face is detected by using the viola-Jones method and face recognition is
implemented by using the Principal Component Analysis (PCA). Face Recognition
based on PCA is generally referred to as the use of Eigen faces. If a face is
recognized, it is known, else it is unknown. The door will open automatically for the
known person due to the command of the microcontroller. On the other hand, alarm
will ring for the unknown person.
Since PCA reduces the dimensions of face images without losing important
features, facial images for many persons can be stored in the database. Although
many training images are used, computational efficiency cannot be decreased
significantly. Therefore, face recognition using PCA can be more useful for door
security system than other face recognition schemes.
2.3.4 IoT Based Home Alert System Using Wi-Fi and Cloud Technologies
Dr. SRN Reddy et al. [4] proposed a system to design a budget homeSecurity
system based on wireless sensor network using Wi-Fi and Cloudtechnologies. It can
detect the theft, fire, leakage of gas or smoke and sends anautogenerated email
remotely to intimate the owner. A majority of home ownerssimply do not have
sufficient funds to pay for a professionally installed securitysystem.
The use of this Home Alert System in this paper is affordable and easy
toinstall. It has the ability to activate/deactivate and will automatically open or close
thedoor for the user. Microcontroller ATMEL 168, PIR sensor is used to detect
themotion of doors or windows. Vibration sensor is used when movement or
9
vibrationoccurs, the unstable portion of the circuit moves and breaks the current flow,
whichproduces an alarm. A Numeric keypad is used for authorization and the
failedauthorization results in an alarm. In case of any fire or high temperature then
itintimates the user about the abnormal condition of the environment of his house.
Thisis very user friendly, which is very easy to use and it doesn’t need any
expertise tooperate. It has made the use of latest technologies like Wi-Fi and cloud
which hasreplaced the GSM technology, which incorporates a very high cost, RF and
Bluetoothtechnologies which were used only for short distance. The proposed Home
AlertSystem provides a remote access to home from anywhere by just login into your
cloudaccount. You can also track the previous information at a particular date,
time,location stored in cloud. This system has tried to solve almost every problems
relatedto the security of homes and it asserts.
this new feature provides a user opportunity to establish communication and avoid
any losses or event due to no contact at all. ARM LPC-2148 Microcontroller and cell
phone can make possible Smart home automation.
2.2.6 Smart Home Automation System
Bulbul Bhaskar and R. Swarnalatha eq.al [4], presents smart home automation
system using AVR microcontroller. This system incorporates with sensors,
microcontroller and Bluetooth module to provide automation capability to various
household activities. An AVR microcontroller offers high performance and flexibility
for controlling various appliances. This system can monitor the changes in
temperature, lighting, detect fire and keep a check on the safety of the house.
2.3 CONCLUSION
A home automation system means to grant the end users to manage and handle
the electric appliances. If we look at different home automation systems over time,
they have always tried to provide efficient, convenient, and security ways for home
inhabitants to access their homes. Regardless of the change in user’s hope, growing
technology, or change of time, the appearance of a home automation system has
remained the same.
11
CHAPTER 3
METHODOLOGY
3.1 INTRODUCTION
In the present work, the home security system is done with the help of
different type of sensors connected with NodeMCU kit. This section deals with the
technical terms associated with NodeMCU and also included the design, fabrication
part and details of the home automation system. This chapter also explains about the
software details related to cloud and android application which is developed using
Appy pie platform.
3.2.1 NodeMCU
3.3 RELAY
A relay is an electrically operated switch. Many relays use number of
electromagnets to mechanically operate a switch, but other operating principles are
also used, such as solid-state relays.
( 8051, AVR, *PIC, DSP, ARM, ARM, MSP430, TTL logic, Arduino,
NodeMCU).
Analog Out - There will be increase in 10mV for raise of every 1’C. Can
range from -1V(55’C) to 6V(150’C)
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.
ESP-01 is the one of the most popular ESP8266 module available in the
market. ESP8266 is a self containedSoC with integrated TCP/IP stack which helps
any microcontroller having UART to access a wifi network. It can act as both WiFi
18
ESP8266 runs on 3.3V and its input pins are not 5V tolerant. So we need to
reduce the 5V output of the Arduino Tx pin to 3.3V by using voltage dividing
resistors to connect to Rx pin of ESP8266 module. Arduino TTL input pins will detect
3.3V as logic high, so we can directly connect 3.3V output of ESP8266 Tx to Arduino
Rx pin.
19
CHAPTER 4
First we can connect ESP8266 with the Arduino Uno. The ESP8266 runs on
3.3V, it may damage if you connect it directly to 5V from Arduino. Connect the VCC
and CH_PD of the ESP8266 to the 3.3V output pin of Arduino. CH_PD is Chip
Power Down pin, which is active low. So we will give 3.3V to it, which will enable
the chip. Then connect the TXD pin of the ESP8266 with the digital pin 2 of the
Arduino. Then make a voltage divider to make 3.3V for the RXD of the ESP8266
which is connected to the pin 3 of Arduino. Here we are using software UART
through digital pins 2 & 3 of Arduino. Lastly, connect the ground of the ESP8266
with the ground of the Arduino.
20
Now we can connect relays to Arduino. Connect three relays to pins 11, 12
and 13 of the Arduino. Also connect 5V and ground from the Arduino to power the
relay. Note that here I am using relay modules which having built in transistor driver.
So don’t forget to add driver when you are using bare relays. We can connect AC
devices to the output terminals of those relays. First connect one wire (Phase) of the
AC source with the common terminal (COM) of all relays and the second wire
(Neutral) of AC source to one terminal of AC devices. Then connect the other
terminal of AC devices to the NO (Normally Open) terminal of relays.
21
4.2 PROGRAM
A most of the Iot using any automation by software coding (program) used.
A Arduino program used to control for the home application. The light, fan and
motor controlled by Arduino code used. A following Arduino pin used to control.
/* So you have to connect the TX of the esp8266 to the pin 2 of the Arduino
and the TX of the esp8266 to the pin 3 of the Arduino. This means that you
need to connect the TX line from the esp to the Arduino's pin 2 */
void setup()
void loop()
if(esp8266.find("+IPD,"))
closeCommand+=connectionId;
closeCommand+="\r\n";
while( (time+timeout) >millis()) // ESP8266 will wait for some time for the
data to receive
{
24
if(debug)
return response;
4.2.2 Explanation
First we will initialize the software art with digital pins 2 & 3 of Arduino for
the communication with ESP8266. After that we will initialize pins to which we will
connect relays as output pins. Then we will configure ESP8266 in access point mode.
Arduino + ESP8266 is programmed as a web server such that we can control those
relays through a web browser.
4.2.3 HTML Code
<html>
<head>
<title>Home Automation System</title> <!-- This will be the page title -->
</head>
<script type="text/javascript">
$(document).ready(function(){
$(".led").click(function()
var p = $(this).attr('id'); // Getting the id value that which pin to toggle, pin 13
or pin 13 or pin 11
// Sending the request to the ip address of the server with the pin number to
toggle the pin
});
});
</script>
</body>
</html>
A above the code a web page design code. This web page code used to control
for the home application (Light, Fan and Motor) and also monitor.
26
4.2.4 jQuery
Save the jQuery library file as the jquery.min and the full name of the file will
be “jquery.min.js”.The above HTML code uses the open source javascript library
jQuery, so we need to obtain that. You can get it from this link and save it by right
clicking on it. Save it in the same directory where you are going to save the above
HTML code.
CHAPTER 5
CONCLUSION
REFERENCES
[5] Bill N. Schilit, Norman Adams, and Roy Want, “Context-Aware Computing
Applications”
[7] S.P.Pande, Prof.Pravin Sen, “Review On: Home Automation System For
Disabled People Using BCI” in IOSR Journal of Computer Science (IOSR-JCE)
eISSN: 2278-0661, p-ISSN: 2278-8727 PP 76-80
[8] Basil Hamed, “Design & Implementation of Smart House Control Using
LabVIEW” at International Journal of Soft Computing and Engineering (IJSCE)
ISSN: 2231-2307, Volume-1, Issue-6, January 2012