0% found this document useful (0 votes)
47 views

Introduction

The document discusses the development of a low-cost smart home automation system using Internet of Things (IoT) technology. The system allows users to control home appliances like lights, fans, AC etc. remotely using a smartphone app over WiFi. An ESP32 microcontroller with integrated WiFi is used as the central hub to receive control commands and switch appliances on/off using relays. A custom web server is also developed to monitor and maintain the states of connected devices.

Uploaded by

lisimop621
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
47 views

Introduction

The document discusses the development of a low-cost smart home automation system using Internet of Things (IoT) technology. The system allows users to control home appliances like lights, fans, AC etc. remotely using a smartphone app over WiFi. An ESP32 microcontroller with integrated WiFi is used as the central hub to receive control commands and switch appliances on/off using relays. A custom web server is also developed to monitor and maintain the states of connected devices.

Uploaded by

lisimop621
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 33

CHAPTER 1

1.1 INTRODUCTION
Nowadays, we have remote controls for our television sets and others electronic Systems, which have made our lives
real easy. Have you ever wondered about home automation which Would give the facility of controlling tube lights, fan
and other electrical appliances at home using a remote control? Off-course, yes but, are the available options
costeffective? If the answer is no, we have found a solution to it. We have come up with a new system is super-cost
effective and can give the user, the ability to control any electronic device without even spending for a remote control.
This project helps the user to control all the electronic devices Using his/her smartphone.
Time is very valuable thing. Everybody wants to save time as much as they can . New technologies are
being introduced to save our time. To save people’s time we are introducing Home Automation system using Bluetooth.
Whit your mobile phone. You can turn on/off your home appliances the range of Bluetooth.

A load controlled by computer systems has many advantages compared with manual controlled loads.
Nowadays there are many programs and applications help to control things better using codes or python algorithms in
artificial intelligence projects. In order to save energy and make loads monitored easily, this research suggests smart
home project based on IoT technology. This smart home is an Internet of Things (IoT) project that controls loads with
internet connection via Wireless Fidelity WIFI connection. A smart phone connected to internet with Blynk application
as a control panel, and Node MCU microcontroller kit in other side as a controller that receives control commands via
WIFI signal. Node MCU kit is built with ESP8266 WIFI receiver that able to process and analyse WIFI signal to input
the microcontroller. The WIFI receiver and microcontroller are built in one kit to be used as IoT project. It’s called Node
MCU.
To connect the system to the Internet, needs a Wi Fi receiver. In my case I used ESP8266 that is connected as
built-in in the Node MCU board that contains a firmware runs with the ESP8266. The firmware is a low-level control
computer software.
The Node MCU is coded via Arduino Integrated Development Environment (IDE) with the Universal Serial Bus port
(USB) to tell the Node MCU what to do, I want to make the Node MCU controls four-channel relay kit by Blynk hand
phone application and shows the temperature that measured by LM35 sensor. Parts used to create the project:
1)Node MCU board. Open source internet of things platform
2) AC-DC step down converter. Switch mode power supply to provide the project with power. This project needs 5
volts.
3) DC-DC step down converter as a regulator to convert the 12 V output of the power supply into regulated 5 V.
4) Four-channel relay kit. To drive loads from digital Node MCU output pins
5) LM35 temperature sensor. To measure room temperature
6) Computer with Arduino (IDE) program installed to code the Node MCU once
7) Android smart phone with Blynk application installed to be used as control panel

1
1.2 PROJECT AIM
The aim the project is to design and construct a home automation system that Will remotely switch on or Off
any household appliances connected to it, using a microcontroller, voice dial on phone, or Bluetooth based
android application.

1.3 PROJECT OBJECTIVE

The objective of this project is to implement a low cost, reliable and scalable Home automation system that
can be used to remotely switch on or off any Household appliance, using a microcontroller to achieve hardware
simplicity Low cost short messaging service for feedback voice dial from phone to toggle The switch state.

1.4 PROJECT LIMITATION

This project work is complete on its own in remotely and automatically switching On or Off an electrical
appliance not limited to household appliances and sends Feedback message indicating the new present state
of the appliance.

2
CHAPTER 2 LITERATURE
REVIEW
2.1 Review:

We are living in the fourth industrial revolution. Our life is becoming more comfortable and smarter with the help of
rapid upgrade of technology. Internet of things (IoT) is playing a massive role in this. One of the major sides of IoT is a
smart home. As we are in the era of never-ending growth of the internet and its application, smart home system or home
automation system is highly increasing to provide comfort in life and improving the quality of life. In this paper, we
present an IoT based low-cost smart home automation system. This system is based on a web portal which controlled
by an ESP32 Wi-Fi module. Also, a custom-made private home web server is developed for maintaining the current
states of home appliances.
Home automation is becoming popular due to its numerous benefits. Home automation refers to the control of home
appliances and domestic features by local networking or by remote control. Artificial Intelligence provides us the
framework to go real-time decision and automation for Internet of Things (IoT). The work deals with discussion about
different intelligent home automation systems and technologies from a various features standpoint. The work focuses
on concept of home automation where the monitoring and control operations are facilitating through smart devices
installed in residential buildings. Heterogeneous home-automation systems and technologies considered in review with
central controller based (Arduino or Raspberry pi), web based, email based, Bluetooth-based, mobile-based, SMS based,
ZigBee based, Dual Tone Multi Frequency-based, cloud-based and the Internet with performance.
.
The Home automation plays an important role in modern lifestyle because of its access in using at different places with
high quality which will intern save time by decreasing human work automatically. The home automation is electric
devices stand alone and do not communicate; it is programmable, such as sensors remote controller and communication
system. Home automation use for electronic control devices remotely and automatically. This technology is focused on
control household appliances like light, fan, AC, etc. automatically. In uncomfortable condition, it is useful for old aged
and handicapped person.we have proposed a home appliances control in automation using GSM. The overall design of
smart Home Automation system with low cost and wireless system. So the ON/OFF process of home appliances can be
done remotely.

Paralyzed people face a lot of challenges and difficulties in their regular activities. Even a simple task such as controlling
electrical devices also very difficult for them. This study's primary purpose is to develop a cost-effective home
automation system based on the human-centered design (HCD) that could reduce some people's difficulties. The
proposed approach takes voice or gesture as input and performs necessary actions according to the information. The
proposed system helps all paralyzed people except quadriplegia operate the room appliances without regular attention
from a caretaker or nurse.

The overall design of smart Home Automation system with low cost and wireless system so the ON/OFF process of
home appliances can be done remotely.

3
SMART HOME AUTOMATION USING IOT BY
DR.SOUNDER.J

INTRODUCTION
Internet of Things is a impression where each device is assign together through that IP address anyone makes that device
individual on internet. Basically it started as the “Internet of Computers.” Research studies have forecast a volatile
growth in the number of “things” or devices that will connected together in the Internet. The resulting network is called
the “Internet of Things” (IoT) The current developments in technology which has permit the use of Bluetooth and WiFi
have enabled to different devices to have capabilities of connecting with each other like one to one and also one to multi-
devices. By Using a WIFI shield to act as a Micro web server for the Arduino which eliminates the need for wired
connections between the Arduino board and computer which reduces cost level and also enables it to work as a
standalone device. The Wi-Fi shield needs connection to the internet from a wireless router or wireless hotspot and this
would act as the gateway for the Arduino to communicate with the internet. With this in mind, an internet based home
automation system for remote controls of home appliances are designed. After successful Completion of this IOT based
project, you would be able to control your home appliances such as TV, Fan, Bulb, Motor, Refrigerator, and door lock
etc. with the help of your Smart-phone from anywhere in the world. Esp8266 a WIFI Module plays a vital role in this
IOT Based Home Automation Project.

BODY
These devices can be controlled through web-applications or via Bluetooth Android based Smart phone
using applications. The future system does not require a dedicated server PC with respect to similar
systems and offers a protocol communication to monitor and control the home switching functionality.
The operator will be done with Mobile app having Wi-Fi in that enough. If operator wants to switch the
Light to turn on or off he needs to switch control button provided in app. Once the Wi-Fi will send the data
to Wi-Fi present at microcontroller. As and when the requested was received the microcontroller activates
through RTC and EEPROM and as per request received action will be done. In the same way all other
appliances can be controlled. The Relay is nothing but it is the electromagnetic switching. Relay allows one
circuit to switch another circuit while they are separated. Relay is used to low voltage circuit to turn ON
and turn OFF the device which required high voltage for its operations. For example, 5V supply connected
to the relay is sufficient to drive the bulb operated on 230V AC mains. Relays are available in various
configurations of operating voltages like 6V, 9V, 12V, 24V. Normally the Relay is divided into two parts, one
is input and other is output. Input side is nothing but a coil which is generate magnetic field when small
input voltage is given to it. Relay having three contactors: 1 Normally closed (NC), 2 normally opened (NO)
and 3 common (COM). By using the proper combinations of the contactors electrical appliances may turn
ON or OFF

4
CONCLUSION
It is evident from this project work that an individual control home automation system can be cheaply made from low-
cost locally available components and can be used to control multifarious home appliances ranging from the security
lamps, the television to the air conditioning system and even the entire house lighting system. And better still, the
components required are so small and few that they can be packaged into a small inconspicuous container. The
designed home automation system was tested a number of times and certified to control different home appliances
used in the lighting system, air conditioning system, home entertainment system and many more . Hence, this system
is scalable and flexible.

SMART HOME SYSTEM CONTROLLED BY ANDROID APPLICATION


BY SEREE KHUNCHAI

Introduction
In the past few years, home automation segment has seen a rapid advancement and with that advancement, the evolution
and development of new and improved technologies. With advancement of Automation Technology, life is getting
simpler and easier in all aspects. In today’s world, Automatic systems are being preferred over manual systems. Internet
of Things is the latest emerging internet technology and has got its origin from home automation. The pivotal difference
between standard home automation devices and IoT devices is that the IoT devices can transfer and share data over the
existing network framework. Also, IoT devices are capable of being controlled remotely over the internet. Present
technologies have to rely on different protocols for communication. Also some proprietary and some standard like
WiMAX, Ethernet, Bluetooth, Z-wave faber optics. The major problem with all these protocols is that they are not suited
with each other.

5
Body
The input will be given through a Web App which will be based on IoT platform. Through this Web App,
besides the regular on or off operation, the intensity of different devices can be controlled. Also, depending
on the environment and outdoor conditions, the devices will themselves change their working. The LDR (Light
Dependent Resistor) sensor will detect for the outdoor light. If not found sufficient, the system will start the
tube light. Besides all this, the system will also support manual operation. The IR sensor will sense some
aspects of the surroundings. If a person enters the room, the IR sensor will automatically start the prescribed
devices

The predominant part of this system is the Node MCU he sole reason for using Node MCU over Raspberry Pi
is that the Node MCU has inbuilt Wi-Fi. This reduces the cost and hence Node MCU is cheaper than other
devices available in the market. Inbuilt Wi-Fi helps in remote access. The system is accessible from any remote
location around the globe provided an internet connection. Once given an input, the device will continue to
operate even if there is no internet access. The device can be physically handled as well.

The system is controlled using a Web Page which is based on IoT platform. The intended device can be
powered ON or OFF using the above application. Also, it provides the facility to set the intensities of different
appliances. The system becomes platform independent due to the use of a web application. It can be operated
from any location by just opening the IoT platform web application. The web application also serves as a
platform for managing the devices and the data.

Conclusion
The main barrier towards the acceptance of home automation presently is its high cost. This paper has studied and
reviewed the presently available home automation system. These systems require additional network devices like hubs
for their working, which in turn increase their cost. By the use of Node MCU and the IoT platform, these devices can
be made cost-effective. Above all, it will provide great user convenience as it will be possible to control the devices

6
from a remote location. Using a web page or an application, the system has been made platform independent. There is
no need for any particular operating system so as to operate this system. The system will provide optimal results.

SMART HOME AUTOMATION SYSTEM USING BLUETOOTH TECHNOLOGY


BY CHANDRANI

Introduction
IoT (Internet of Things) is the environment in which physical items interact with each other and user–to–computer
communications, machine – to- machine communications are enabled and this communication is extended to “things”.
The IOT devices have the capacity to exchange the contents depending upon the control of function in a specified
manner. The benefit of IOT networks is that they can separate and create information by designating, filtering, handling
and extracting the data. The authorities predicted that by the year 2020, around 50 billion devices will have internet
connection

This article explains the various possibilities of connecting small devices and make it easier to the human life much
easier. More than one device can be connected to a single. network through the wireless fidelity technology.2.4GHZ is
the frequency range which is officially agreed [3] for it. IOT plays a virtual role of creating smart environments by
connecting to the internet. The above Fig.1 represents the usage, maintenance, helpfulness, efficiency of IOT in rapidly
growing technology at anywhere, any network, any time anyone Also as IoT deals with large quantity of data received
from different sensors which are deployed in the smart environment, sufficient care has to be taken for efficient
maintaining, securing and for storing this collected data [5]. This system also works for the security purpose, if any
inevitable incident happens, the user will immediately receive alert message in their smart phone.

Body
As the cost of the products is increasing in our routine life due to the development of technology a small idea called
smart home project is introduced to reduce the cost and inconvenience. A smart home is able to control the home even
though the person is not available in home [6]. The IoT system can be formed by the collaboration of MCU with other
components like PIR sensor and ultrasonic sensor which are used to identify the movement of the any person while

7
entering into the room. It gives notifications in mobile app. Data is uploaded into cloud using Thing Speak so that data
can be stored and retrieved whenever it is necessary components like PIR sensor and ultrasonic sensor which are used
to identify the movement of the any person while entering into the room. It gives notifications in mobile app [7].
Node MCU ESP 8266 is an open source IoT platform which includes firmware and hardware. The software runs on
the ESP8266 Wi-Fi SoC (System-on-Chip) by systems. Hardware is based on the ESP-12 module. ESP8266 is a SoC
that integrates a 32-bit microcontroller, antenna, switches, filters, power amplifier, modules which manage power, and
standard digital peripheral interfaces into a simple and small package. ESP8266, a less cost
icrochip is a Wireless Fidelity module which is combined with a LX106 core, used in a wider range of IoT based
applications.
The DHT-11 sensor is a basic, digital humidity, temperature and low-cost sensor. It mainly consists of humidity sensor
and a thermistor. PIR sensors are also known as Pyro electric sensors. A Passive Infrared (PIR)[10]-[11] sensor is an
electronic sensor which cannot measures IR light itself, it detects and measures the approaching IR radiations radiated
from the human body and different objects present in the ambience of its view
Blynk App provides a platform to user for designing own app that is connected to the Blynk Server that provides a path
for transmission and reception between the developed project (kit) and user which is shown in Fig.5

Conclusion
This project presented is a low cost and flexible home control and monitoring system using Node MCU
Board with internet and various sensors remotely controlled by Android OS smart phone. In this, Node
MCU micro controller is used as an interface between user and hardware components. It is programmed and
connected to several components according to the requirements. A micro web server is used as an
application layer for communication between remote users and home devices, security systems. This entire
system communication is enabled through internet. Notifications are sent to user through the app BLYNK
installed in smart phone. User can operate wirelessly or home appliances can be automated by using several
sensors like temperature sensor, LDR etc.

8
A SUPERVISORY CONTROL OF HOME APPLIANCES USING IOT
BY RAJWENDAR SINGH

INTRODUCTION
Home automation is a system in which user can control various connected home appliances using internet. Existing
home automation system are based on wired communication. As compared to wired system, Wireless systems are often
of great help for automation systems. Wireless systems are used every day and everywhere, with the event of wireless
technology like Wi-Fi, cloud network etc. In this system home appliances are controlled by an android app and handled
by IoT module Node MCU. The status of appliances is read by Node MCU and updates in cloud server. Even if a user
is at long distance android app reads the status from cloud server and shows it to user.

BODY
This system mainly focuses on controlling lights and other home appliances using internet. This project focuses on
saving human and electric energy. This project consists of an android application and Node MCU. Different appliances
are connected to the Node MCU which is connected to Wi-Fi network. Nowadays automatic systems are more preferred
than manual systems. Wireless Home automation system using IoT is a system that uses android device to check and
alter the status of home from anywhere using internet of things for communication.

This project mainly focuses on checking and altering the status of home appliances using internet connection. This
system consists two parts – i) Hardware module and ii) software. Hardware module have Node MCU and relays and in
prototype model Node MCU and LEDs. Node MCU is the central device which connected to the Wi-Fi network. The
communication between hardware and software is handled by cloud server. Software is used as Front end, which is an
interface with Node MCU. It has list of home appliances which user can control. Relays are used to convert 220V-250V
to 5V. It can withstand a load of 10A at 240V. Software is a user-friendly interface, which enables user to view and alter
the status of home appliances.

9
A light emitting diode is a semiconductor device that emits light when an electric current pass through it. Light is
produced when particles carrying current combine together within material.

Wi-Fi connectivity can be taken from a Hotspot of mobile phone or Wi-Fi Router, and Hardware Module to
communicate with each other. Users use internet connectivity to log into the application and can access home
appliances. Home Automation System in which there will be different components like Light, Fan, Motor etc.
Depending upon user’s input through mobile application Components will turn On and Off. After Detection of the
obtained output is fed to Node MCU which is an important part. It handles all turning on and off of Components.

CONCLUSION
It has proved that home automation system using IOT works satisfactorily by connecting simple appliances to it and
also it has been verified that the appliances were successfully controlled remotely through internet. The home
automation system also processes the changes according to the requirement along with sensing data, like temperature,
gas, light, motion sensors.

IOT BASED SMART HOME AUTOMATION SYSTEM USING NODE MCU


BY V J TAKALE INTRODUCTION
This system uses 4-loads to demonstrate as house Appliances Controlling. Our user friendly interface allows a user to
easily control these home appliances through the internet Worldwide. For this system we use an Node MCU (Node
Microcontroller Unit).This microcontroller is interfaced with a Relay modem to get user commands over the internet.
Relays are used to switch loads. The entire system is powered by a 5V Adaptor/Charger (Micro-type). After receiving
user commands over the internet, Node MCU processes these instructions to operate these loads accordingly and display
10
the system status on an Smart Phone Display. Thus this system allows for efficient home automation over the internet.
In this we have used the Blynk Community Application door controlling the Home Appliance all over the world. The
Method used for controlling are Swiping the figures on Smartphone or Voice Control with Google assistant and After
that we have used the latest technique that is IFTTT Platform & Web-Hooks Platform & Web-Hooks For triggering our
circuits. It will trigger the circuit as it gets input command from the Google assistant.

BODY
In Bluetooth based home automation system the home appliances are connected to the Arduino BT board at input output
ports using relay. The program of Arduino BT board is based on high level interactive C language of microcontrollers;
the connection is made via Bluetooth. The password protection is provided so only authorized user is allowed to access
the appliances. The Bluetooth connection is established between Arduino BT board and phone for wireless
communication. In this system the python script is used and it can install on any of the Symbian OS environment, it is
portable. One circuit is designed and implemented for receiving the feedback from the phone, which indicate the status
of the device.

CONCLUSION
While wearing down this endeavour we have grabbed a lot of finding out about various modules being used in this
errand. We are glad we can Built this Project as a part in this endeavour and set up new musings. We believe the
assignment complete as needed and the data grabbed in the midst of this period will be used in our future corporate life.
Additionally, we might want to include that home computerization is the fate of places of new world. Home automation
is a resource which can make home environment Automated. People can control their electrical devices via. Smartphone
These home automation devices and set-up controlling action through mobile. In future these products may have high
potential for marketing.

11
CHAPTER 3

METHOD
This research is conducted based on the important steps that are done by orienting on the success indicators in
connecting the Node MCU ESP8266 module and other devices so that it can be used to solve multi-objective
problems. To achieve these indicators, the stages of this research are as follows:
1) Analysis of the problem. Analyse the problems to be studied regarding smart home.
2) Analysis of needs. In this case all needs in researching both from journals, literature books, tools, and materials.
3) System design. Designing tools to be built using the Node MCU ESP8266 module, and the sensors used.
4) System programming. Make a program using the Arduino IDE and the Blynk android application.
5) Testing tools. Testing tools with program codes created and internet connections.
6) Making reports and summarizing the results of the experiment. See system responsiveness to commands given to
smart home.

3.1 THE FLOW OF THE SYSTEM

Figure 1. blynk system principle


The system is based on Node MCU board as an internet of things system. The Node MCU is connected to the internet
from the hotspot of the smart phone via WIFI connection as the Node MCU has ESP8266 circuit to connect with the
internet.

12
Node MCU to be connected to the hotspot of the smart phone, needs to be identified to the name of hotspot, the password
and token code letting the server of Blynk connects them together. You may need the computer once to transfer code
from Arduino IDE to the Node MCU kit to prepare the software part of the project. Figure 1 shows that the server of
Blynk application will process the smartphone-Node MCU connection. Blynk libraries are ZIP files can be downloaded
from Git hub website to be imported to the Arduino IDE library.
Blynk server will check for internet connection, Node MCU with android hotspot, the Node MCU code
includes the token code, the name of hotspot and it’s password. The information included to the code must be match
with the hotspot information to allow ESP8266 connect with the WIFI to be as a channel to exchange commands between
smart phone and Node MCU. Remaining processes are just commands sent from Blynk application to Node MCU to
control loads those are connected to the relay kit as shown in Figure 2. And sensor output value is sent reverse to the
Blynk application from Node MCU kit.

13
3.2 THE BLOCK DIAGRAM OF THE SYSTEM

Figure 4 shows the system block diagram. The Power Supply will provide energy to the system through the relay and
Node MCU ESP8266 modules, so that all equipment can work and function properly. Node MCU ESP8266
microcontroller will read the temperature by the Temperature sensor LM35, and then send the data to the Blynk server
in TCP / IP format for display on the smart phone. Node MCU ESP8266 microcontroller will also read commands that
have been sent by the Blynk Server in TCP / IP format which will then be changed by giving the logic "HIGH" or
"LOW" on certain pins by relay to regulate the on / off of the home lights. Cloud (internet) by utilizing Wi-Fi becomes
the central connection between Blynk application and Node MCU project.

14
CHAPTER 4

4. The Hardware of the System


4.1 NODE MCU

As mentioned above, components used to build the circuit, Node MCU needs 5VDC as a supply voltage Vin pin, ACDC

step down converter 12V and DC-DC step down converter 5V, in case using AC-DC step down converter 5V, no need

to use DC-DC converter. Output voltage of the power supply is connected to Vin Node MCU, Vcc of relay kit and VCC

of LM35 temperature sensor. When the ground is common. D1,D2,D3 and D4 are outputs and A0 is an analog signal

input is connected to the temperature sensor as shown in Figure 8. Using Fritzing software to draw and simulate the

circuit as shown in Figure 9

Pins used:
1) Vin is connected to power supply output 5VDC.
2) GND is ground.
3) D1,D2,D3 and D4 are used as digital outputs.

4.2 RELAY MODULE


As shown in figure 10, relay module is being connected directly to digital circuits including microcontroller kits easily
to control big loads by a microcontroller. The inputs IN1, IN2, IN3 and IN4 operate four relays with voltage between 3-

15
5 volts DC. Input and output circuits are separated by Optocouplers to protect digital circuits in case connection mistakes
happened or short circuits.

Figure 4.2.2 relay module pin diagram

CHAPTER 5 SOFTWARE REQUIREMENTS


5.1 STEPS TO BE FOLLOWED

5.1.1 Download Arduino IDE Software

16
You can get different versions of Arduino IDE from the Download page on the Arduino Official website. You must
select your software, which is compatible with your operating system (Windows, IOS, or Linux). After your file

.
download is complete, unzip the file

5.1.2 Power up your board

The Arduino Uno, Mega, and Arduino Nano automatically draw power from either the USB connection to the
computer or an external power supply. If you are using an Arduino, you have to make sure that the board is configured
to draw power from the USB connection. The power source is selected with a jumper, a small piece of plastic that fits
onto two of the three pins between the USB and power jacks. Check that it is on the two pins closest to the USB port.
Connect the Arduino board to your computer using the USB cable. The green power LED (labelled PWR) should glow.

5.1.3 Launch Arduino IDE

After your Arduino IDE software is downloaded, you need to unzip the folder. Inside the folder, you can find the
application icon with an infinity label (application.exe). Double click the icon to start the IDE.

17
5.1.4 Open your first project

Once the software starts, you have two options –

4.1.4.1 Create a new project.

4.1.4.2 Open an existing project example.

To create a new project, select File → New

18
To open an existing project example, select File → Example → Basics → Blink.

Here, we are selecting just one of the examples with the name Blink. It turns the LED on and off with some time delay.
You can select any other example from the list.

5.1.5 Select your Arduino board


To avoid any error while uploading your program to the board, you must select the correct Arduino board name, which
matches the board connected to your computer. Go to

Tools → Board and select your board .

Here, we have selected the Arduino Uno board according to our tutorial, but you must select the name matching the
board that you are using.

5.1.6 Select your serial port

Select the serial device of the Arduino board. Go to Tools → Serial Port menu. This is likely to be COM3 or higher
(COM1 and COM2 are usually reserved for hardware serial ports). To find out, you can disconnect your Arduino board

19
and re-open the menu, the entry that disappears should be of the Arduino board. Reconnect the board and select that
serial port.

20
5
.1.7 Upload the program to your board

Before explaining how we can upload our program to the board, we must demonstrate the function of each
symbol appearing in the Arduino IDE toolbar.

C − Shortcut used to create a new sketch.


D − Used to directly open one of the example sketches E − Used to save
your sketch.
F − Serial monitor used to receive serial data from the board and send the serial data to the
board.
Now, simply click the "Upload" button in the environment. Wait a few seconds; you will see the RX and TX LEDs on

the board, flashing. If the upload is successful, the message "Done uploading" will appear in the status bar.

21
5

.2 WEB SERVER

22
5

.2.1 WEB DASHBOARD

5.2.2 MOBILE DASHBOARD

Figure 5.2.2 mobile dash board of blynk iot

23
5

24
CHAPTER 6

PROGRAM CODE

#define BLYNK_TEMPLATE_ID "TMPL8AN8m95Y"


#define BLYNK_DEVICE_NAME "home automation"
#define BLYNK_AUTH_TOKEN "wKPRyCgpGKXU7wBijFzmCgWxDdyZUQyx"
#define BLYNK_PRINT Serial
#include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266.h> char
auth[] = BLYNK_AUTH_TOKEN;
char ssid[] = "sanixix"; char
pass[] = "saniamahek";
BLYNK_WRITE(V0)
{
int value = param.asInt();
Serial.println(value); if(value
== 1)
{
digitalWrite(D5, LOW); Serial.println("LED
ON");
} if(value ==
0)
{
digitalWrite(D5, HIGH); Serial.println("LED
OFF");
}
}
BLYNK_WRITE(V1)
{
int value = param.asInt();
Serial.println(value); if(value
== 1)
{
digitalWrite(D6, LOW);

25
Serial.println("LED ON");
} if(value == 0) {
digitalWrite(D6, HIGH);
Serial.println("LED OFF");
} } void
setup() {
Serial.begin(115200); Blynk.begin(auth,
ssid, pass); pinMode(D5,OUTPUT);
pinMode(D6,OUTPUT);
} void
loop() {
Blynk.run();
}

CHAPTER 7 CIRCUIT DESIGN

7.1 CIRCUIT DIAGRAM

26
Figure 7.1 circuit diagram with connection

7.2 THE FINAL HARDWARE CIRCUIT CONNECTION


Using components and materials shows the project that’s used as an (IoT) system controlled by Blynk application is
running. Loads used in this project are bulbs, they can be changed with other devices by changing bulbs with AC plugs
to connect home-use devices or equipment.

27
Figure 7.2.2 Final hardware connection

CHAPTER 8 OUT PUT RESULT

28
8.1 RESULT OF 1ST INPUT

Figure 8.1.1 input 1

29
8.2 RESULT OF BOTH INPUTS

Figure 8.2.1 result of both inputs

30
CHAPTER 9
9. 1 Pros of Home Automation
1. Security
Tap your finger to turn on the lights when get home so you worried about What’s hiding in the shadows. Or in your
pathways. Or automate to turn on when You are not home to look like you are to ward off potential robbers. Door lacks
are another automated home product that increase your home security.

2. Energy Efficiency

Increase your home energy efficiency by remotley powering off systems and appliances when they aren’t in
use. In addition to the standard home automation Products that give you active control. Some products
actively monitor systems and arm the homeowner with knowledge. Insight and guidance to achiere greater
control and energy efficiency.

3. Saving

Home automation literally pays off. When you are use home systems And appliances only when needed.
The saving will apparent in the first Utilty bill. No more wasting money on lights left on when you are not
home.

9.2 APPLICATIONS
Using this project ,we can turn on or off appliances remotely, using Phone or tablet.
The project can be further expanded to a smart home automation System by including some sensors like lights sensors,
temperature sensor, Safety sensors etc. and automatically (room temperature), door etc, and Transmit the information
to our phone.
Additionally, we can connect to internet and control the home from Remote location over internet and also montior
the safety.

9.3 CONCLUSION
The home automation system has been experimentally proven to work satisfied by connecting sample appliances to it
and the application were successfully controlled from a wireless mobile device.
We learned many skills such as soldering wiring the circuit and other tools that we use for this project and was able to
work together as a team during this project.
The Bluetooth client was successfully tested on a multitude of different mobile phones from different manufacturers,
thus proving its portability and wide compatibly. Thus a low- cost home automation system was successfully designed.
Implement and tested.

31
FUTURE SCOPE

Using this system as a framework. The system can be expanded to include various other options which could include

home security features like capturing the photo of a person moving around the house and storing it onto the cloud. This

will reduce the data storage that using the CCTV camera which will record all the time and stores it. The system can be

expanded for energy monitoring or weather stations. This kind of a system with respective changes can be implemented

in the hospitals for disable people or in industries where human invasion is impossible or dangerous and it can also be

implemented for environmental monitoring.

Future scope for the home automation systems involves making homes even smarter. Homes can be interfaced with

sensors including motion sensors, light sensors and temperature sensors and provide automated toggling of devices

based on conditions. Home automation offers a global standard for interoperable products.

The home automation market is primarily driven by growing need for effective solutions in various domestic applications

such as lighting, safety and security, energy management, entertainment, heating, ventilation, and air conditioning

32
REFERENCES

Sharma AK, Choubey KK, Sharma M. Industrial automation using 8051 microcontroller. International Journal of
Advanced Engineering Research and Technology.2015; 361, 364.

Madan V, Reddy SR. GSM-bluetooth based remote monitoring and controlsystem with automatic light controller.
International Journal of Computer Applications.2012; 46(1), 20– 28.

Steenbruggen J, Borzacchiello MT, Nijkamp P, Scholten H. Mobile phonedata from GSM networks for traffic
parameter and urban spatial pattern assessment: areview of applications and opportunities. Geo Journal. 2013; 78(2),
223–243

33

You might also like