A Minor Project Report
A Minor Project Report
A Minor Project Report
on
HOMEAUTOMATION CONTROLLING
of
BACHELOR OF TECHNOLOGY
in
by
NOVEMBER 2019
iii
BONAFIDE CERTIFICATE
Date:
iii
ACKNOWLEDGEMENT
We would like to extend our gratitude to the many people who helped to bring this
project to fruition. First, we would like to thank the management and our Director (E&T), Dr.
C. Muthamizhchelvan for the academic and technical support.
We take this opportunity to express sincere thanks and deep sense of gratitude to
beloved,Dr. K. Vijayakumar, Professor and Head of the departmentwho has been always
our source of inspiration.
Finally, we express our very profound gratitude to our parents for providing us with
unfailing support and continuous encouragement throughout the process of our education.
(Soma Vamshidhar)
(I. Rohith)
(Harsha Vardhan)
iii
ABSTRACT
This project presents a design and prototype implementation of new home automation system
that uses WiFi technology as a network infrastructure connecting its parts. The proposed
system consists of two main components; the first part is the server (web server), which
presents system core that manages, controls, and monitors users’ home. Users and system
administrator can locally (LAN) or remotely (internet) manage and control system code.
Second part is hardware interface module, which provides appropriate interface to sensors
and actuator of home automation system. Unlike most of available home automation system
in the market the proposed system is scalable that one server can manage many hardware
interface modules 5 as long as it exists on WiFi network coverage. System supports a wide
range of home automation devices like power management components, and security
components. The proposed system is better from the scalability and flexibility point of view
than the commercially available home automation systems.
iii
CHAPTER
NUMBER TITLE PAGE NUMBER
ABSTRACT IV
OBJECTIVE VI
METHODOLOGY VII
LIST OF FIGURES X
1. INTRODUCTION
2. COMPONENTS
2.1 ESP8266
2.2 RELAY
2.3 BLYNK
3. SOFTWARE
4. REFRENCES &BIBLIOGRAPHY
iii
OBJECTIVES
The goal of this project is to develop a home automation system that gives the user
complete control over all remotely controllable aspects of his or her home.
The automation system will have the ability to be controlled from a Pocket PC with a
Windows Mobile based application,mobile.
iii
METHODOLOGY
iii
LIST OF FIGERS
iii
CHAPTER.1
INTRODUCTION
The project aims at designing an advanced home automation system using normal web
server and Wi-Fi technology. The devices can be switched ON/OFF and sensors can be read
using a Personal Computer (PC) through Wi-Fi. Automation is the most frequently spelled
term in the field of electronics. The hunger for automation brought many revolutions in the
existing technologies. These had greater importance than any other technologies due to its
user-friendly nature. These can be used as a replacement of the existing switches in home
which produces sparks and also results in fire accidents in few situations. Considering the
advantages of Wi-Fi an advanced automation system was developed to control the
appliances in the house. Wi-Fi (Short for Wireless Fidelity) is a wireless technology that uses
radio frequency to transmit data through the air. Wi-Fi has initial speeds of 1mbps to
2mbps. Wi-Fi transmits data in the frequency band of 2.4 GHz. It implements the concept of
frequency division multiplexing technology. Range of Wi-Fi technology is 40-300 feet. The
controlling device for the automation in the project is a Arduino UNO. The data sent from PC
over Wi-Fi will be received by Wi-Fi module connected to 9 Arduino UNO. Arduino UNO
reads the data and decides the switching action of electrical devices connected to it through
Relays.
iii
CHAPTER 2
COMPONETS
ESP8266:
The ESP8266 WiFi Module is a self contained SOC with integrated TCP/IP protocol stack
that can give any microcontroller access to your WiFi network. The ESP8266 is capable of
either hosting an application or offloading all Wi-Fi networking functions from another
application processor. Each ESP8266 module comes pre-programmed with an AT command
set firmware, meaning, you can simply hook this up to your Arduino device and get about as
much WiFi-ability as a WiFi Shield offers (and that’ s just out of the box)! The ESP8266
module is an extremely cost effective board with a huge, and ever growing, community.
This module has a powerful enough on-board processing and storage capability that allows it
to be integrated with the sensors and other application specific devices through its GPIOs
with minimal development up-front and minimal loading during runtime. Its high degree of
on-chip integration allows for minimal external circuitry, including the front-end module, is
designed to occupy minimal PCB area. The ESP8266 supports APSD for VoIP applications
and Bluetooth co-existance interfaces, it contains a self-calibrated RF allowing it to work
under all operating conditions, and requires no external RF parts.
There is an almost limitless fountain of information available for the ESP8266, all of which
has been provided by amazing community support. In the Documents section below you will
find many resources to aid you in using
the ESP8266, even instructions on how to transforming this module into an IoT (Internet of
Things) solution!
Features:
• 802.11 b/g/n
RELAY:
Relayboard:-
A relay is an electrical device which is generally used to control high voltages using very low
voltage as an Input. This consists of a coil wrapped around a pole and a two small metal
flaps(nodes) that are used to close the circuit. One of the node is fixed and other is movable.
Whenever an electricity is passed through the coil, it creates a magnetic field and attracts the
iii
moving node towards the static node and the circuit gets completed. So, just by applying
small voltage to power up the coil we can actually complete the circuit for the high voltage to
travel. Also, as the static node is not physically connected to the coil there is very less chance
that the Microcontroller powering the coil gets damaged if something goes wrong.
This is Four Channel relay board controlled by computer USB port. The usb relay board is
with 4 SPDT relays rated up to 10A each. You may control devices 220V / 120V (up to 4)
directly with one such relay unit. It is fully powered by the computer USB port. Suitable for
home automation applications, hobby projects, industrial automation. The free software
allows to control relays manually, create timers (weekly and calendar) and multivibrators, use
date and time for alarms or control from command line. We provide software examples in
Labview, .NET, Java, Borland C++, Python
Features:-
• Datasheet - here
28VDC)
• PCB parameters: FR4 / 1.5mm / two layers / metalized holes / HAL / white stamp /
solder mask / еxtra PCB openings for better voltage isolation / doubled high voltage
tracks
• Chip: FT245RL
• Android software available (low cost but very useful): Yes - New
• Documentation: here
Advantages:-
• High quality
• Low cost
Applications:-
• Home automation
• Robotics
• Alarms
• Timers
• Aquariums applications
iii
BLYINK:
Blynk was designed for the Internet of Things. It can control hardware remotely, it can
display sensor data, it can store data, vizualize it and do many other cool things.
Blynk App - allows to you create amazing interfaces for your projects using various widgets
we provide.
Blynk Server - responsible for all the communications between the smartphone and hardware.
You can use our Blynk Cloud or run your private Blynk server locally
Features
WiFi
Ethernet
iii
USB (Serial)
GSM
CHAPTER 3
SOFTWARE
#include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266.h>
char auth[] = " _INW9OkKppIXyP6O1XSxsgLmUl00t5mw"; // the auth code that you got on
your gmail
void setup()
// Debug console
Serial.begin(9600);
pinMode(D2,OUTPUT);
pinMode(D3,OUTPUT);
pinMode(D4,OUTPUT);
digitalWrite(D3,HIGH);
digitalWrite(D4,HIGH);
iii
void loop()
Blynk.run();
}
iii
CHAPTER 4
REFRENCES & BIBLIOGRAPHY