Home Automation
Home Automation
This project is about finding a solution mainly for the elderly people and physically
challenged people to make more convenient and more reliable in operating the home
This project is basically on reliable home control for switching ON and OFF the
appliances remotely using Smart phone application. While using this technology the
system improves the living standard at home, reduces human effort, energy efficient
and ease of access and thus make a smart home. The proposed system consist of
Bluetooth module, NodeMCU, 4channel relay module. This module controls the
4
TABLE OF CONTENT
ABSTRACT IV
LIST OF FIGURES xi
1 INTRODUCTION 1
1.2 Functions 3
2 PROJECT DESCRIPTION 7
IN BLUNK APP 14
5 IMPLEMENTATION 17
5.1 Introduction 17
5.2 Description 18
5.3 Methodology 18
6 CONCLUSION 21
7 REFERENCES 22
NOMENCLATURE
ABBREVIATION:
6
CHAPTER-1
INTRODUCTION
1
LITERATURE REVIEW
• R. Piyare refers to wireless lifestyle which gives us relief from “cable chaos”.
To control the electronic appliances through the mobile phone and Arduino
is more efficient than the using of electric switches because it makes the
system cost effective and long lasting to use.
• Most of the automation works using the online but in this project it can be
used offline as well.
2
1.1 HOMEAUTOMATION
1.2 FUNCTIONS
Send signals to switch lights and appliances on or off. Open and close contacts
to operate high and low voltage devices. Schedule and initiate events, such as
watering the garden Issue and accept infra-red commands Interface with other
systems, i.e. X 10, telephone, computer, heating etc.
3
activities performed every day. An automated home can provide security,
temperature, lighting, and audio control for comfort, convenience, and safety.
It creates reliable and coordinated controls to operate home devices
automatically for simplifying operations.
Home automation saves your time and effort by controlling you home
automatically for performing routine functions such as watering your grass, or
turning off all lights, setting the thermostat to economy mode, control scheduled
appliances operation and arming the security system when you retire for the
night.
Home automation provides you with the comfort of whole home audio/video
integration so that any source could be placed anywhere in a home and still be
enjoyed everywhere in a home.
Home automation provides you pro-active home security so that you can look
in on your home remotely from anywhere in the world, or that your home will
phone you if it finds anything suspicious, or that a fire will alert your home to
wake you, shut down the gas and ventilation system, turn on a lighting path for
your escape, and automatically phone the fire/police department. In other words
it integrates your alarm system with other home systems for a response to
intrusion that meets your needs of enhanced Safety.
with the remote & scheduled control of lights, appliances, sprinklers and
2. Have the porch light automatically turn on when you open the front
door after dark. Lighting and audio controls can make a vacant home
look and sound occupied.
3. You could set your Omni home control system to automatically call
you at work when your child comes home from school and keys in his
security code into the security system.
4. Call your home control system over the phone to make changes to
your system.
5. Log into your home control system over the Internet via Snap-Link or
we blink II and change your temperature settings.
6. Set the temperature setting on your Omni state to automatically turn
up when the security system is armed in the morning. It is then
automatically turned down one-half hour before you normally get
home in order for you to arrive home to a comfortable house.
5
7. If you are leaving early from work, you can call into your home
control system to manually set the temperature to where you want it
to be when you get home.
Most controllers will offer all of the above plus more. When you use controllers
connected in the appropriate fashion, you can realize all sorts of benefits,
limited primarily by your imagination.
For example:-
When on holiday or working late, have the lights come on automatically and
draw the curtains. Set room moods, i.e. one button push to switch off the main
light, dim the perimeter lights and switch the surround sound system on ready
to play a movie.
At dusk, check that the garage door is closed. Switch on the electric blanket
whilst you're sitting on your sofa. The controller can be either standalone or
combined into a security system to give additional benefits.
6
CHAPTER-2
2. PROJECT DESCRIPTION
Basic idea of Smart Home automation using Cloud services is controlling the
home appliances remotely over the internet.
Homes of the 21st century will become more and more self-controlled and
automated due to the comfort it provides, especially when employed in a private
home. A home automation system is a means that allow users to control electric
appliances of varying kind.
7
within their home and storing the data in the cloud. The system will
automatically change on the basis of sensors’ data. This system is designed to
be low cost and expandable allowing a variety of devices to be controlled
2.2 CLOUD:
Home automation systems face four main challenges, these are high cost of
ownership, inflexibility, poor manageability, and difficulty in achieving
security. The main objectives of this research is to design and implement a home
automation system using IoT that is capable of controlling and automating most
of the house appliances through an easy manageable web interface. The
proposed system has a great flexibility by using Wi-Fi technology to
interconnect its distributed sensors to home automation server. This will
decrease the deployment cost and will increase the ability of upgrading, and
system reconfiguration.
8
2.4 BLOCK DIAGRAM:
Google
assistant
User
interface Blynk app NodeMcu
Relay board
(via board
internet)
Output
9
CHAPTER-3
3. 1 CIRCUIT DIAGRAM:
3.2 NODEMCU
10
NodeMCU is an open source firmware for which open source prototyping board
designs are available. The name "NodeMCU" combines "node" and "MCU"
(micro-controller unit). The term "NodeMCU" strictly speaking refers to the
firmware rather than the associated development kits.
Relays control one electrical circuit by opening and closing contacts in another
circuit. When a relay contact is normally open (NO), there is an open contact
when the relay is not energized. In electromechanical relays (EMR), contacts
are opened or closed by a magnetic force.
11
Fig 3.4 BLUETOOTH MODULE
3.4.1 MODULE
Enable - This pin is used to set the Data Mode or and AT command mode (set
high).
12
CHAPTER-4
13
A software interface is created between the microcontroller and the appliances
using a Blynk server. This is created for the purpose to work in the offline
mode as well. The below image explains the development of Bluetooth module
for the project.
14
15
FIG.5.2 BLYNK APP
16
CHAPTER-5
5.1 Introduction
In this project we can control four electrical appliances like light, fan, led, and
table fan. These four appliances are been connected to the relay board, this relay
board is connected to the microcontroller and the microcontroller acts as a brain
of this system. NodeMcu Esp8266 version of the microcontroller has been used
in the project and the microcontroller is used to connect to a Wi-Fi channel.
Using the internet, NodeMcu can communicate with blynk server (Bluetooth
module). The user data’s are sent to the blynk server and these data are then
sent to the NodeMcu board.
The voice command works by the following methods: The respected voice
command are sent to IFFT server and then the IFFT server starts to
communicate with the blynk server depending on the kind of command given
to it. The blynk server send’s the data to the microcontroller to switch “ON” the
respective relay and correspondingly for switching “OFF”.
When the internet is disconnected then the system goes to offline mode, here
the Bluetooth module is used as a data receiver in the absence of internet and it
requires a special software for user interface. Using the data from the Bluetooth
app the module controls the microcontroller respectively.
Home automation has been around since World War I. A television remote was
first patented in 1950 and a remote control device was first used by the Germans
in World War I to control motorboats. From there, the evolution of controllers
and automation has been growing and still continue to grow to this day.
17
5.2 Description
A relay consist of three pins, the middle pin is the input pin, and other two pins
are normally closed and normally open connections that are connected
depending upon the requirement.
5.2.1 Methodology
When the relay is powered by receiving a signal from the microcontroller, the
relay input pin contact to the other pin which closes the circuit and thus switch
“ON” the appliances. The four appliance that have been connected consist of
two supply pins phase and neutral one of the two pins are connected to the
appliances directly and the other supply is connected to the appliances through
these relay so once the relay is powered on the circuit then the circuit gets closed
and thus the appliances get powered.
18
Fig.5.1 wiring diagram
Reference: https://www.14core.com/wiring-bluetooth-hc06-4-channel-
relay-switching-automation-with-android/
Fig.5.2 Project
19
Fig.5.3 Connection
20
CHAPTER-6
CONCLUSIONS:
Day by day, the field of automation is blooming and these systems are having
great impact on human beings. The project which is to be implemented is a home
automation using Easy IOT Webserver and WIFI and has very good future
development. In the current system webserver is installed on a windows PC so the
home appliances can be controlled using only by using the device on which
webserver is installed. This can be further developed installing webserver on cloud.
Advantage of installing webserver on the cloud is that home can be controlled by
using any device which has an internet connection and a web browser. By visiting
the IP address of the cloud the control actions can be taken.
21
REFERENCES
1. https://www.irjet.net/archives/V2/i3/Irjet-v2i3317.pdf
22
23