SlideShare uma empresa Scribd logo
1 de 60
Baixar para ler offline
JAYAWANT SHIKSHAN PRASARAK MANDAL’s
Bhivrabai Sawant Polytechnic
(Approved by AICTE, New Delhi, Govt. of Maharashtra, Affiliated to MSBTE Mumbai)
Gat No. 720 (1&2), Wagholi, Pune
Phone:
E-mail: bspoly@rediffmail.com
PROJECT
Home Automation
“Using
ELECTRONICS & TELECOMMUNICATION ENGINEERING
JAYAWANT SHIKSHAN PRASARAK MANDAL’s
Bhivrabai Sawant Polytechnic
(Approved by AICTE, New Delhi, Govt. of Maharashtra, Affiliated to MSBTE Mumbai)
Gat No. 720 (1&2), Wagholi, Pune-Nagar Road, Pune-412207)
020 – 65335100 Tele fax: - + 91-020-65335100
bspoly@rediffmail.com Website: www.jspm.edu.in
A
PROJECT REPORT
ON
Home Automation
“Using NodeMCU & Blynk
Under Guidance
Of
Prof. – V.B.Takale
Submitted
By
1. Ms. Aishwarya Jadhav
2. Mr.Ganesh Sawant
3. Ms. Swapnali Kumbhar
4. Ms. Pooja Kadam
DEPARTMENT OF
ELECTRONICS & TELECOMMUNICATION ENGINEERING
Academic Year
2019-2020
JAYAWANT SHIKSHAN PRASARAK MANDAL’s
Bhivrabai Sawant Polytechnic
(Approved by AICTE, New Delhi, Govt. of Maharashtra, Affiliated to MSBTE Mumbai)
412207)
www.jspm.edu.in
& Blynk’’
ELECTRONICS & TELECOMMUNICATION ENGINEERING
Maharashtra State Board of Technical Education
Mumbai -51
Certificate
Title Name Enrollment Number.
This is to certify that Ms. Aishwarya Jadhav 1707100253
This is to certify that Mr.Ganesh Sawant 1707100532
This is to certify that Ms. Swapnali Kumbhar 1707100275
This is to certify that Ms. Pooja Kadam 1407100153
Submitted in partial fulfilment of requirement for award of diploma in
Electronics & Telecommunications Engineering by Maharashtra State Board of
technical Education Mumbai-51, as a record of the student own work carried out by
them under my guidance & supervision.
PROJECT GUIDE PROJECT CO-ORDINATOR
(Prof. V. B. TAKALE) (Prof. V. B. TAKALE)
EXTERNAL EXAMINER
H.O.D PRINCIPAL
( Prof. R.S. DHORJE ) (Dr. SACHIN ADMANE )
ACKNOWLEDGMENT
A project of such comprehensive coverage cannot be prepared without help of
numerous source & people in this field. We are specially indebt to Prof. R .S. Dhorje
Mam Head of Department Of Electronics & Telecommunication. For inspiring us
for take this project. We also express our sincere attitude of Prof. V .B. Takale. For
their valuable guidance to solve the queries and motivate us throughout the project
work, to solve it in the possible manner. Finally we are also thankful to the staff of the
E&TC Dept. And all our friends who are always encourage and support us for
completion of our project.
Student Name Seat No. Signature
1. Ms. Aishwarya Jadhav 214713
2. Mr.Ganesh Sawant 214722
3. Ms.Swapnali Kumbhar 214719
4. Ms. Pooja Kadam 214709
JAYAWANT SHIKSHAN PRASARAK MANDAL’s
Bhivrabai Sawant Polytechnic
(Approved by AICTE, New Delhi, Govt. of Maharashtra, Affiliated to MSBTE Mumbai)
Gat No. 720 (1&2), Wagholi, Pune
Phone:
E-mail: bspoly@rediffmail.com
Electronics & Telecommunication
To develop Electronics & Telecommunication Engineers with sound technical
knowledge focusing on social and industrial demands with professional ethics.
M1: To create environment for imparting technical education through effective
teaching- learning process.
M2: To develop industry driven & Entrepreneurial Skills
and extra co-curricular activities.
M3: To provide value based education for socio
nation.
JAYAWANT SHIKSHAN PRASARAK MANDAL’s
Bhivrabai Sawant Polytechnic
(Approved by AICTE, New Delhi, Govt. of Maharashtra, Affiliated to MSBTE Mumbai)
Gat No. 720 (1&2), Wagholi, Pune-Nagar Road, Pune-412207)
Phone: 020 – 65335100 Tele fax: - + 91-020-65335100
bspoly@rediffmail.com Website: www.jspm.edu.in
Electronics & Telecommunication Engineering Department
VISION
To develop Electronics & Telecommunication Engineers with sound technical
knowledge focusing on social and industrial demands with professional ethics.
MISSION
To create environment for imparting technical education through effective
learning process.
: To develop industry driven & Entrepreneurial Skills through co
curricular activities.
To provide value based education for socio-economic enhancement of
JAYAWANT SHIKSHAN PRASARAK MANDAL’s
Bhivrabai Sawant Polytechnic
(Approved by AICTE, New Delhi, Govt. of Maharashtra, Affiliated to MSBTE Mumbai)
Engineering Department
To develop Electronics & Telecommunication Engineers with sound technical
knowledge focusing on social and industrial demands with professional ethics.
To create environment for imparting technical education through effective
through co-curricular
economic enhancement of
JAYAWANT SHIKSHAN PRASARAK MANDAL’s
Bhivrabai Sawant Polytechnic
(Approved by AICTE, New Delhi, Govt. of Maharashtra, Affiliated to MSBTE Mumbai)
Gat No. 720 (1&2), Wagholi, Pune
Phone:
E-mail: bspoly@rediffmail.com
Institute vision & Mission
To develop globally competent technocrats
education for soco- economic
Mission of Institute
 M1- To nurture and maintain an environment o
standard for diplomat
entrepreneurial abilities
 M2- To deliver quality education by
knowledge, interpersonal skills
 M3- To equip students with technical skills, ethical and moral
meet aspirations of the society and Industry,
sustainable development
JAYAWANT SHIKSHAN PRASARAK MANDAL’s
Bhivrabai Sawant Polytechnic
(Approved by AICTE, New Delhi, Govt. of Maharashtra, Affiliated to MSBTE Mumbai)
Gat No. 720 (1&2), Wagholi, Pune-Nagar Road, Pune-412207)
Phone: 020 – 65335100 Tele fax: - + 91-020-65335100
bspoly@rediffmail.com Website: www.jspm.edu.in
Institute vision & Mission
competent technocrats by imparting quality
economic enhancement of the Nation.
Mission of Institute
re and maintain an environment of high academic
standard for diplomat students, encouraging for higher education and
abilities.
quality education by inserting basic and engineering
interpersonal skills, critical thinking and creativity.
To equip students with technical skills, ethical and moral
meet aspirations of the society and Industry, thereby to contribute
development of the Nation.
JAYAWANT SHIKSHAN PRASARAK MANDAL’s
Bhivrabai Sawant Polytechnic
(Approved by AICTE, New Delhi, Govt. of Maharashtra, Affiliated to MSBTE Mumbai)
by imparting quality technical
h academic
education and
inserting basic and engineering
and creativity.
To equip students with technical skills, ethical and moral values to
to contribute
JAYAWANT SHIKSHAN PRASARAK MANDAL’s
Bhivrabai Sawant Polytechnic
(Approved by AICTE, New Delhi, Govt. of Maharashtra, Affiliated to MSBTE Mumbai)
Gat No. 720 (1&2), Wagholi, Pune
Phone:
E-mail: bspoly@rediffmail.com
Programme Outcomes (Po’s)
PO 1. Basic knowledge:
engineering to solve the engineering problems.
PO 2. Discipline knowledge:
and for applied engineering problems.
PO 3. Experiments and practice:
and to use the results to solve engineering problems.
PO 4. Engineering tools:
of the limitations.
PO 5. The engineer and society:
legal and cultural issues and the consequent responsibilities relevant engineering practices.
PO 6. Environment and sustainability:
societal and environmental contexts, and demonstrate the knowledge a
development.
PO 7. Ethics: Apply ethical principles for commit to professional ethics, responsibilities and
norms of the engineering practice.
PO 8. Individual and team work:
or leader in diverse/ multidisciplinary teams.
PO 9. Communication: An ability to
PO 10. Life-long learning:
Engage in independent and life
JAYAWANT SHIKSHAN PRASARAK MANDAL’s
Bhivrabai Sawant Polytechnic
(Approved by AICTE, New Delhi, Govt. of Maharashtra, Affiliated to MSBTE Mumbai)
Gat No. 720 (1&2), Wagholi, Pune-Nagar Road, Pune-412207)
Phone: 020 – 65335100 Tele fax: - + 91-020-65335100
bspoly@rediffmail.com Website: www.jspm.edu.in
Programme Outcomes (Po’s)
An ability to apply knowledge of basic mathematics, sciences and
engineering to solve the engineering problems.
PO 2. Discipline knowledge: An ability to apply discipline-specific knowledge to solve
or applied engineering problems.
PO 3. Experiments and practice: An ability to Plan and perform experiments and practices
and to use the results to solve engineering problems.
ineering tools: Apply appropriate technologies and tools with an understanding
PO 5. The engineer and society: Demonstrate knowledge to Assess societal, health, safety,
legal and cultural issues and the consequent responsibilities relevant engineering practices.
PO 6. Environment and sustainability: Understand the impact of the engineering solutions
societal and environmental contexts, and demonstrate the knowledge and need for sustainable
Apply ethical principles for commit to professional ethics, responsibilities and
norms of the engineering practice.
PO 8. Individual and team work: Function effectively as an individual and as a team
or leader in diverse/ multidisciplinary teams.
An ability to communicate effectively.
long learning: Recognize the need for, and have the preparation and ability to
Engage in independent and life-long learning in the context of technological changes
JAYAWANT SHIKSHAN PRASARAK MANDAL’s
Bhivrabai Sawant Polytechnic
(Approved by AICTE, New Delhi, Govt. of Maharashtra, Affiliated to MSBTE Mumbai)
knowledge of basic mathematics, sciences and
specific knowledge to solve, score
An ability to Plan and perform experiments and practices
Apply appropriate technologies and tools with an understanding
Demonstrate knowledge to Assess societal, health, safety,
legal and cultural issues and the consequent responsibilities relevant engineering practices.
Understand the impact of the engineering solutions in
nd need for sustainable
Apply ethical principles for commit to professional ethics, responsibilities and
Function effectively as an individual and as a team member
Recognize the need for, and have the preparation and ability to
the context of technological changes
JAYAWANT SHIKSHAN PRASARAK MANDAL’s
Bhivrabai Sawant Polytechnic
(Approved by AICTE, New Delhi, Govt. of Maharashtra, Affiliated to MSBTE Mumbai)
Gat No. 720 (1&2), Wagholi, Pune
Phone:
E-mail: bspoly@rediffmail.com
Programme Educational
PEO 1: To develop the ability among student to understand the concept of
electronics & telecommunication engineering that will facilitate social & industrial
demand.
PEO 2: To give exposure to emerging technologies adequate training &
opportunities to work as an individual & team effectively in the world of work.
PEO 3: To promote innovative ideas, logical thinking & improve communication
skills, presentation skills, learning
PEO 4: To develop & enhance ability to solve, analyze engineering problems &
provide real time solutions.
Programme Specific Outcomes
PSO 1: To apply fundamentals of electronics in various domains of analog and
digital systems.
PSO2: To design and analyze functional elements of different wired and wireless
communication systems.
PSO3: Understanding the principle and construction of electrical machine and
determine their performance through testing.
JAYAWANT SHIKSHAN PRASARAK MANDAL’s
Bhivrabai Sawant Polytechnic
(Approved by AICTE, New Delhi, Govt. of Maharashtra, Affiliated to MSBTE Mumbai)
Gat No. 720 (1&2), Wagholi, Pune-Nagar Road, Pune-412207)
Phone: 020 – 65335100 Tele fax: - + 91-020-65335100
bspoly@rediffmail.com Website: www.jspm.edu.in
Programme Educational Objectives (Peo’s
To develop the ability among student to understand the concept of
& telecommunication engineering that will facilitate social & industrial
give exposure to emerging technologies adequate training &
to work as an individual & team effectively in the world of work.
To promote innovative ideas, logical thinking & improve communication
skills, presentation skills, learning abilities & managing skills.
To develop & enhance ability to solve, analyze engineering problems &
provide real time solutions.
Programme Specific Outcomes(Pso’s)
To apply fundamentals of electronics in various domains of analog and
To design and analyze functional elements of different wired and wireless
communication systems.
Understanding the principle and construction of electrical machine and
determine their performance through testing.
JAYAWANT SHIKSHAN PRASARAK MANDAL’s
Bhivrabai Sawant Polytechnic
(Approved by AICTE, New Delhi, Govt. of Maharashtra, Affiliated to MSBTE Mumbai)
(Peo’s )
To develop the ability among student to understand the concept of
& telecommunication engineering that will facilitate social & industrial
give exposure to emerging technologies adequate training &
to work as an individual & team effectively in the world of work.
To promote innovative ideas, logical thinking & improve communication
To develop & enhance ability to solve, analyze engineering problems &
(Pso’s)
To apply fundamentals of electronics in various domains of analog and
To design and analyze functional elements of different wired and wireless
Understanding the principle and construction of electrical machine and
Sr.No Index Page. No
1. ABSTRACT 1
2. INTRODUCTION 2
3. LITERATURE SURVEY 3-4
4. PROBLEM DEFINITION 5
5. METHODOLOGY 6
6. BLOCK DIAGRAM 7-8
7. WORKING DIAGRAM 9-10
8. CIRCUIT DIAGRAM 11-12
9. NODEMCU ESP-8266 12-E
 OVERVIEW
 PIN DIAGRAM/DESCRIPTION
 FEATURES
13-15
10.
4-CHANNEL RELAY MODULE
 INTRODUCTION
 PRINCIPLE
 PIN DESCRIPTION
 FEATURES
16-17
11.
ESP-8266
 INTRODUCTION
 PIN DIAGRAM
 PIN CONFIGURATION
 SPECIFICATION
18-20
12. POWER SUPPLY
 INTRODUCTION
 DESCRIPTION
21-22
13. FLOW CHART (PROGRAMMING) 23
14. ADVANTAGES & APPLICATIONS 24-25
15. REFERENCES 26
16. CONCLUSION 27
17. FUTURE SCOPE 28
18. COST OF COMPONENTS 29
19. APPENDIX A 30-32
Contents
Chapter No : 1
ABSTRACT
HOME AUTOMATION USING NODEMCU & BLYNK
JSPM’s Bhivrabai Sawant Polytechnic, Wagholi. Dept.of E&TC Page | 1
ABSTRACT
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
system. With the rapid increase in the number of users of internet over the past decade
has made Internet a part and parcel of life, and IoT is the latest and emerging internet
technology. Internet of things is a growing network of everyday object-from industrial
machine to consumer goods that can share information and complete tasks while you
are busy with other activities. Wireless Home Automation system (HAS) using IoT is
a system that uses computers or mobile devices to control basic home functions and
features automatically through internet from anywhere around the world, an automated
home is sometimes called a smart home. It is meant to save the electric power and
human energy. The home automation system differs from other system by allowing
the user to operate the system from anywhere around the world through internet
connection. In this paper we present a Home Automation system(HAS) using Blynk
Community 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. This system is designed to be low
cost and expandable allowing a variety of devices to be controlled
Chapter No : 2
INTRODUCTION
HOME AUTOMATION USING NODEMCU & BLYNK
JSPM’s Bhivrabai Sawant Polytechnic, Wagholi. Dept.of E&TC Page | 2
INTRODUCTION
IOT or internet of things is an upcoming technology that allows us to
control hardware devices through the internet .Here we propose to use IOT in
order to control home appliances, thus automating modern homes through the
internet. 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
NodeMCU (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, NodeMCU processes
these instructions to operate these loads accordingly and display 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 dor 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 For triggering our circuits. It will trigger the circuit as it gets input
command from the Google assistant.
Chapter No : 3
LITERATURE SURVEY
HOME AUTOMATION USING NODEMCU & BLYNK
JSPM’s Bhivrabai Sawant Polytechnic, Wagholi. Dept.of E&TC Page | 3
3.1. LITERATURE SURVEY
1) BLUETOOTH BASED HOME AUTOMATION SYSTEM USING
CELL PHONES:
 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.
2) GSM BASED HOME AUTOMATION SYSTEM USING CELL
PHONES:
 Because of the mobile phone and GSM technology, the GSM based home
automation is lure to research.
 The SMS based home automation, GPRS based home automation and dual tone
multi frequency (DTMF) based home automation, these options we considered
mainly for communication in GSM.
 The home sensors and devices interact with the home network and communicates
through GSM and SIM (subscriber identity module).
 The system use transducer which convert machine function into electrical signals
which goes into microcontroller.
 The sensors of system convert the physical qualities like sound, temperature and
humidity into some other quantity like voltage.
 The microcontroller analysis all signal and convert them into command to
understand by GSM module.
 Select appropriate communication method among SMS, GPRS and DTFC based
on the command which received GSM module.
HOME AUTOMATION USING NODEMCU & BLYNK
JSPM’s Bhivrabai Sawant Polytechnic, Wagholi. Dept.of E&TC Page | 4
3) WI-FI BASED HOME AUTOMATION SYSTEM USING CELL
PHONES:
 Wi-Fi based home automation system mainly consist three modules, the server,
the hardware interface module, and the software package.
 The figure shows the system model layout. Wi-Fi technology is used by server,
and hardware Interface module to communicate with each other.
 The same technology uses to login to the server web based application. remote
users can access server web based application through the internet using
compatible web browser. Software of the latest home automation system is split
to server application software, and Microcontroller (Arduino) firmware.
 The Arduino software, built using C language, using IDE comes with the
microcontroller itself. Arduino software is culpable for gathering events from
connected sensors, then applies action to actuators and pre- programmed in the
server.
 Another job is to report the and record the history in the server DB. The server
application software package for the proposed home automation system, is a web
based application built using asp.net.
 The server application software can be accessed from internal network or from
internet if the server has real IP on the internet using any internet navigator
supports asp.net technology.
 Server application software is culpable of; maintain the whole home automation
system, setup, and configuration.
Chapter No : 4
PROBLEM DEFINITION
HOME AUTOMATION USING NODEMCU & BLYNK
JSPM’s Bhivrabai Sawant Polytechnic, Wagholi. Dept.of E&TC Page | 5
4.1. PROBLEM DEFINITION & PROBLEM STATEMENT
Today people are looking at ways and means to better their life-style using the latest
technologies that are available. Any new facility for home appliance that promises to
enhance their life-style is grabbed by the consumers. The more such facilities and
appliances are added, it becomes inevitable to have easy and convenient methods and
means to control and operate these appliances. Conventional wall switches are located
in different parts of a house and thus necessitates manual operations like to switch on
or off these switches to control various appliances. It gets virtually impossible to keep
track of appliances that are running and also to monitor their Performances. And Aim
is to Built an system which controls home appliances with less efforts , like control
using mobile, or voice based controlled….
Chapter No : 5
METHODOLOGY
HOME AUTOMATION USING NODEMCU & BLYNK
JSPM’s Bhivrabai Sawant Polytechnic, Wagholi. Dept.of E&TC Page | 6
5.1. METHODOLOGY
1) Make Connection As Per Circuit Diagram, Make Connection On NodeMCU
2) And Then Connect NodeMCU To The Wifi using hotspot/Router.
3) Then Connect The NodeMCU pins Output To The Relay Driver Circuit
4) Then Start Programming the NodeMCU Module.
5) Programme The NodeMCU Using Aurdino IDE Software.
6) Download the Blynk Liberary zip File, Install it from add liberary files.
7) Downold the NodeMCU boards From preferences, by inserting the library link
in it.
8) Set The Output Of NodeMCU (D0 – D14) For Different Control Function.
9) Compile the Typed Programme check whether errors are occur or not….
10)Upload the Programme onto NodeMCU using mocro-type USB Cables.
11)Then Connect The NodeMCU Module To the Internet using Router/Hotspot.
12)Now Pair The NodeMCU Module With Android Application . i.e Blynk App.
CONTROL TYPE
 MANUAL CONTROL.
1. Now Set The Function of Switches In Application.
2. Checkout All The Connection First..
3. Now To Test The Model…..
 VOICE CONTROL
1. GoTo site IFTTT sign in Create the Google Assistant Applets (triggers for
controlling).
2. Then after creating applets Configure those applets with WebHooks.
3. Connect Blynk the Web-Hooks by creating the Trigger weblink to Blynk App.
4. The link is available on net.. just copy the link and add AuthToken and set the
pin Number.
5. All set now just check the set-up with google assistant by giving commands
Chapter No : 6
BLOCK DIAGRAM
HOME AUTOMATION USING NODEMCU & BLYNK
JSPM’s Bhivrabai Sawant Polytechnic, Wagholi.
6.1. BLOCK DIAGRAM
1.1. DESCRIPTION
SMART PHONE
Used for controlling Purpose, for
Android app is required
NodeMCU Esp-8266
To take input and perform operation.
obtain output as per user requirements.
HOME AUTOMATION USING NODEMCU & BLYNK
bai Sawant Polytechnic, Wagholi. Dept.of E&TC
BLOCK DIAGRAM
DESCRIPTION
Purpose, for giving command and gain output, for
required.
8266 (Wi-Fi Enable Microcontroller).
and perform operation. As per programme fed in the Microcontroller and
obtain output as per user requirements.
Fig. Block Diagram Of Home Automation.
HOME AUTOMATION USING NODEMCU & BLYNK
of E&TC Page | 7
output, for this blynk
in the Microcontroller and
Of Home Automation.
HOME AUTOMATION USING NODEMCU & BLYNK
JSPM’s Bhivrabai Sawant Polytechnic, Wagholi. Dept.of E&TC Page | 8
RELAY DRIVER
Basically the output of microcontroller is in Mili-volts so this output volt is not
sufficient to run the bulky load output.
So as to run the appliances on 230v we require an Relay module so the output is fed to
the relay module according to given input to the relay module it will generate output
and drive various appliances and load e.g. Lamp, Fan ,Tube light ,T.V, etc.
Output
These are the output Generated from the given input by the user The user can set the
various output sections and can gain output through any of the section like Home
appliance A for lights, Home appliance B for fans, Home appliance C for T.V .and
many more……….
Home appliance A
Home appliance B
Home appliance C
Home appliance D
Chapter No : 7
WORKING DIAGRAM
HOME AUTOMATION USING NODEMCU & BLYNK
JSPM’s Bhivrabai Sawant Polytechnic, Wagholi.
7.1. WORKING OF HOME AUTOMATION
 PROCESS OF OPERATION
Fig.
Fig.
HOME AUTOMATION USING NODEMCU & BLYNK
bai Sawant Polytechnic, Wagholi. Dept.of E&TC
WORKING OF HOME AUTOMATION
PROCESS OF OPERATION
Fig. Flow Chart Of Home Automation.
Fig. Working Diagram Of Home Automation.
HOME AUTOMATION USING NODEMCU & BLYNK
of E&TC Page | 9
WORKING OF HOME AUTOMATION
Of Home Automation.
HOME AUTOMATION USING NODEMCU & BLYNK
JSPM’s Bhivrabai Sawant Polytechnic, Wagholi. Dept.of E&TC Page | 10
1) Android Device –
The Device used to provide the Commands, Control the
Appliances, Switch the Loads over the Internet
(Internet of Things ) Through Voice Commants Or Swiping
on Screen/Display of Smartphones.
2) NodeMCU Processing –
The Heart Of Home Automation, Used to Process the
Information/Commands/Instruction provided by the User or
Owner, Its function is to Process the data & Pass the signal to
the Relay and Switch the loads as per given Input.
3) Applications/Appliances-
The Load Can be of any type which is the output of the circuit. The Output oif relay
drives the appliances. i.e switch the Loads.
1) Fan
2) Led Bulbs
3) Computers
4) Motors
5) Pumps
6) Tele-Vision(T.V)
7) Speakers
8) DVD players
9) Switches etc…………….
Chapter No : 8
CIRCUIT DIAGRAM
HOME AUTOMATION USING NODEMCU & BLYNK
JSPM’s Bhivrabai Sawant Polytechnic, Wagholi.
8.1. CIRCUIT DIAGRAM OF HOME AUTOMATION
NodeMCU Esp-8266
It is Node Micro-Controller Unit. It takes input from user from internet,
the data and perform operation. As per programme fed in the Microcontroller and
obtain output as per user requirements.
RELAY DRIVER
Basically the output of microcontroller is in Mili
sufficient to run the bu
So as to run the appliances on 230v we require an Relay module so the output is fed to
the relay module according to given input to the relay module it will generate output
and drive various appliances and load e.g. Lamp, Fan ,Tube light ,
HOME AUTOMATION USING NODEMCU & BLYNK
bai Sawant Polytechnic, Wagholi. Dept.of E&TC
CIRCUIT DIAGRAM OF HOME AUTOMATION
NODEMCU
8266 (Wi-Fi Enable Microcontroller).
Controller Unit. It takes input from user from internet,
the data and perform operation. As per programme fed in the Microcontroller and
obtain output as per user requirements.
Basically the output of microcontroller is in Mili-volts so this output volt is not
sufficient to run the bulky load output.
So as to run the appliances on 230v we require an Relay module so the output is fed to
the relay module according to given input to the relay module it will generate output
and drive various appliances and load e.g. Lamp, Fan ,Tube light ,T.V, etc.
Fig. Circuit Diagram Of Home Automation.
HOME AUTOMATION USING NODEMCU & BLYNK
of E&TC Page | 11
CIRCUIT DIAGRAM OF HOME AUTOMATION USING
Controller Unit. It takes input from user from internet, then process
the data and perform operation. As per programme fed in the Microcontroller and
volts so this output volt is not
So as to run the appliances on 230v we require an Relay module so the output is fed to
the relay module according to given input to the relay module it will generate output
T.V, etc.
HOME AUTOMATION USING NODEMCU & BLYNK
JSPM’s Bhivrabai Sawant Polytechnic, Wagholi. Dept.of E&TC Page | 12
OUTPUT
These are the output Generated from the given input by the user. The user can set the
various output sections and can gain output through any of the section like Home
appliance A for lights, Home appliance B for fans, Home appliance C for T.V .and
many more……….
Home appliance A
Home appliance B
Home appliance C
Home appliance D
Chapter No : 9
NODEMCU
ESP-8266 12-E
HOME AUTOMATION USING NODEMCU & BLYNK
JSPM’s Bhivrabai Sawant Polytechnic, Wagholi.
9.1. OVERVIEW (NodeMCU)
1) NodeMCU is a low
firmware which runs on the ESP8266 Wi
hardware which was ba
ESP32 32-bit MCU was added
2) The term NodeMC
hardware and software environment.
It is on board system on chip(SOC) called ESP
cost Wi-Fi microchip with full TCP/IP stack and
3) The ESP8266 is the name of a micro controller designed by Espressif Systems.
The ESP8266 itself is a self
bridge from existing micro controller to WiFi and is also capable of run
self-contained applications.
4) This module comes with a built in USB connector and a rich assortment of pin
outs. With a micro USB cable, you can connect NodeMCU devkit to your
laptop and flash it without any trouble, just like Arduino. It is also immed
breadboard friendly.
HOME AUTOMATION USING NODEMCU & BLYNK
bai Sawant Polytechnic, Wagholi. Dept.of E&TC
OVERVIEW (NodeMCU)
NodeMCU is a low-cost open source IoT platform. It initially included
firmware which runs on the ESP8266 Wi-Fi SoC from Espressif Systems, and
hardware which was based on the ESP-12 module. Later, support for the
bit MCU was added….
The term NodeMCU stands for Node Microcontroller unit
hardware and software environment. NodeMCU is also called as
is on board system on chip(SOC) called ESP-8266.The ESP8266 is a low
Fi microchip with full TCP/IP stack and microcontroller capability
The ESP8266 is the name of a micro controller designed by Espressif Systems.
The ESP8266 itself is a self-contained WiFi networking solution offering as a
bridge from existing micro controller to WiFi and is also capable of run
contained applications.
This module comes with a built in USB connector and a rich assortment of pin
outs. With a micro USB cable, you can connect NodeMCU devkit to your
laptop and flash it without any trouble, just like Arduino. It is also immed
breadboard friendly.
HOME AUTOMATION USING NODEMCU & BLYNK
of E&TC Page | 13
cost open source IoT platform. It initially included
Fi SoC from Espressif Systems, and
Later, support for the
stands for Node Microcontroller unit It has open source
is also called as Devkit 1.0.
The ESP8266 is a low-
microcontroller capability.
The ESP8266 is the name of a micro controller designed by Espressif Systems.
contained WiFi networking solution offering as a
bridge from existing micro controller to WiFi and is also capable of running
This module comes with a built in USB connector and a rich assortment of pin-
outs. With a micro USB cable, you can connect NodeMCU devkit to your
laptop and flash it without any trouble, just like Arduino. It is also immediately
HOME AUTOMATION USING NODEMCU & BLYNK
JSPM’s Bhivrabai Sawant Polytechnic, Wagholi. Dept.of E&TC Page | 14
9.2. FEATURES OF NODEMCU
Developer ESP8266 Open-source Community
Type Single-board microcontroller
Introductory price 300-400 Rs
Operating system XTOS
CPU ESP8266
Memory 128kBytes
Storage 4MBytes
Power USB
Website www.nodemcu.com
9.3. SPECIFICATIONS
 Voltage:3.3V.
 Wi-Fi Direct (P2P), soft-AP.
 Current consumption: 10uA~170mA.
 Flash memory attachable: 16MB max (512K normal).
 Integrated TCP/IP protocol stack.
 Processor: Tensilica L106 32-bit.
 Processor speed: 80~160MHz. • RAM: 32K + 80K.
 GPIOs: 16 (multiplexed with other functions).
 Analog to Digital: 1 input with 1024 step resolution.
 +19.5dBm output power in 802.11b mode • 802.11 support: b/g/n.
 Maximum concurrent TCP connections: 5.
HOME AUTOMATION USING NODEMCU & BLYNK
JSPM’s Bhivrabai Sawant Polytechnic, Wagholi.
9.4. PIN DIAGRAM/ PIN LOYOUT OF NodeMCU
9.5. NodeMCU GPIO pin for Lua
HOME AUTOMATION USING NODEMCU & BLYNK
bai Sawant Polytechnic, Wagholi. Dept.of E&TC
PIN DIAGRAM/ PIN LOYOUT OF NodeMCU
NodeMCU GPIO pin for Lua
HOME AUTOMATION USING NODEMCU & BLYNK
of E&TC Page | 15
Chapter No : 10
RELAY MODULE
HOME AUTOMATION USING NODEMCU & BLYNK
JSPM’s Bhivrabai Sawant Polytechnic, Wagholi.
10.1. RELAY MODULE (5V).
10.2. INTRODUCTION
This is a 5V 4-channel relay interface board, and each channel needs a 15
driver current. It can be used to control various appliances and equipment with large
current. It is equipped
DC30V 10A. It has a standard interface that can be controlled directly by
microcontroller.
10.3. PRINCIPLE
From the picture below, you can see that when the signal port is at low level, the
signal light will light up and the opto
light and can isolate input and output electrical signals) will conduct, and
transistor will conduct, the relay coil will be electrified, and the normally open contact
of the relay will be closed. When the signal port is at high level, the normally closed
contact of the relay will be closed. So you can connect and disconne
controlling the level of the control signal port.
HOME AUTOMATION USING NODEMCU & BLYNK
bai Sawant Polytechnic, Wagholi. Dept.of E&TC
RELAY MODULE (5V).
.2. INTRODUCTION
channel relay interface board, and each channel needs a 15
nt. It can be used to control various appliances and equipment with large
equipped with high-current relays that work under AC250V 10A or
DC30V 10A. It has a standard interface that can be controlled directly by
From the picture below, you can see that when the signal port is at low level, the
signal light will light up and the opto-coupler Relay (it transforms electrical signals by
light and can isolate input and output electrical signals) will conduct, and
transistor will conduct, the relay coil will be electrified, and the normally open contact
of the relay will be closed. When the signal port is at high level, the normally closed
contact of the relay will be closed. So you can connect and disconne
controlling the level of the control signal port.
Fig. RELAY MODULE 5V
HOME AUTOMATION USING NODEMCU & BLYNK
of E&TC Page | 16
channel relay interface board, and each channel needs a 15-20mA
nt. It can be used to control various appliances and equipment with large
current relays that work under AC250V 10A or
DC30V 10A. It has a standard interface that can be controlled directly by
From the picture below, you can see that when the signal port is at low level, the
(it transforms electrical signals by
light and can isolate input and output electrical signals) will conduct, and then the
transistor will conduct, the relay coil will be electrified, and the normally open contact
of the relay will be closed. When the signal port is at high level, the normally closed
contact of the relay will be closed. So you can connect and disconnect the load by
RELAY MODULE 5V
HOME AUTOMATION USING NODEMCU & BLYNK
JSPM’s Bhivrabai Sawant Polytechnic, Wagholi. Dept.of E&TC Page | 17
10.4. PIN DESCRIPTION
1) Input: 0-5 V
2) VCC: Positive supply voltage
3) GND: Ground
4) IN1--IN4: Relay control port
5) Output: supports various types of loads
6) Connect a load, DC 30V/10A,AC 250V/10A
10.5. FEATURES
1. Size: 75mm (Length) * 55mm (Width) * 19.3mm (Height)
2. Weight: 61g
3. PCB Color: Blue
4. There are four fixed screw holes at each corner of the board, easy for install
and fix. The diameter of the hole is 3.1mm
5. High quality Single relay is used with single pole double throw, a common
terminal, a normally open terminal, and a normally closed terminal
6. Optical coupling isolation, good anti-interference.
7. Closed at low level with indicator on, released at high level with indicator off
8. VCC is system power source, and JD_VCC is relay power source. Ship 5V
relay by default. Plug jumper cap to use
9. The maximum output of the relay: DC 30V/10A, AC 250V/10A
Chapter No : 11
ESP-8266
HOME AUTOMATION USING NODEMCU & BLYNK
JSPM’s Bhivrabai Sawant Polytechnic, Wagholi.
11.1. ESP 8266 MODULE
11.2. INTRODUCTION
The chip first came to the attention of Western makers in August 2014 with the ESP
01 module, made by a third
This small module allows microcontrollers to connect to a Wi
simple TCP/IP connections using H
However, at first there was almost no English
the commands it accepted.
The very low price and the fact that there were very few external components on the
module, which suggested that it could e
attracted many hackers to explore the module, chip, and the software on it, as well as
to translate the Chinese documentation.
The ESP8285 is an ESP8266 with 1 MiB of built
devices capable of connecting to Wi
HOME AUTOMATION USING NODEMCU & BLYNK
JSPM’s Bhivrabai Sawant Polytechnic, Wagholi. Dept.of E&TC
MODULE
.2. INTRODUCTION
The chip first came to the attention of Western makers in August 2014 with the ESP
01 module, made by a third-party manufacturer Ai-Thinker.
This small module allows microcontrollers to connect to a Wi-Fi network and make
simple TCP/IP connections using Hayes-style commands.
However, at first there was almost no English-language documentation on the chip
the commands it accepted.
The very low price and the fact that there were very few external components on the
module, which suggested that it could eventually be very inexpensive in volume,
attracted many hackers to explore the module, chip, and the software on it, as well as
to translate the Chinese documentation.
The ESP8285 is an ESP8266 with 1 MiB of built-in flash, allowing for single
capable of connecting to Wi-Fi.
Fig. Esp-
HOME AUTOMATION USING NODEMCU & BLYNK
of E&TC Page | 18
The chip first came to the attention of Western makers in August 2014 with the ESP-
Fi network and make
language documentation on the chip and
The very low price and the fact that there were very few external components on the
ventually be very inexpensive in volume,
attracted many hackers to explore the module, chip, and the software on it, as well as
in flash, allowing for single-chip
- 8266.
HOME AUTOMATION USING NODEMCU & BLYNK
JSPM’s Bhivrabai Sawant Polytechnic, Wagholi.
11.3. PIN LAYOUT
11.4. SPECIFICATION
1. Low cost, compact and powerful Wi
2. Power Supply: +3.3V only
3. Current Consumption: 100mA
4. I/O Voltage: 3.6V (max)
5. I/O source current: 12mA (max)
6. Built-in low power 32
7. 512kB Flash Memory
8. Can be used as Station or Access Point or both combined
9. Supports Deep sleep (<10uA)
10. Supports serial communication hence compatible with many development
platform like NodeMCU
HOME AUTOMATION USING NODEMCU & BLYNK
JSPM’s Bhivrabai Sawant Polytechnic, Wagholi. Dept.of E&TC
. SPECIFICATION
Low cost, compact and powerful Wi-Fi Module
Power Supply: +3.3V only
Current Consumption: 100mA
3.6V (max)
I/O source current: 12mA (max)
in low power 32-bit MCU @ 80MHz
512kB Flash Memory
Can be used as Station or Access Point or both combined
Supports Deep sleep (<10uA)
Supports serial communication hence compatible with many development
NodeMCU
HOME AUTOMATION USING NODEMCU & BLYNK
of E&TC Page | 19
Supports serial communication hence compatible with many development
HOME AUTOMATION USING NODEMCU & BLYNK
JSPM’s Bhivrabai Sawant Polytechnic, Wagholi. Dept.of E&TC Page | 20
11.5. PIN CONFIGURATIONS
Chapter No : 12
POWER SUPPLY
HOME AUTOMATION USING NODEMCU & BLYNK
JSPM’s Bhivrabai Sawant Polytechnic, Wagholi.
12.1. BLOCK DIA
12.2. INTRODUCTION
Today almost every electronic device needs a DC supply for its smooth operation and
they need to be operated within certain power supply limits. This required DC voltage
or DC supply is derived from single phase ac mains.
A regulated power supply can convert unregulated an AC (alternating current or
voltage) to a constant DC (direct current or voltage).
to ensure that the output remains constant even if the input changes. A regulated DC
power supply is also called as a linear power supply, it is an embedded circuit and
consists of various blocks.
The regulated power supply will accept an AC input and give a constant DC output.
So we have Powered the Kit/ set
voltage we have used the micro
Adaptor.
HOME AUTOMATION USING NODEMCU & BLYNK
JSPM’s Bhivrabai Sawant Polytechnic, Wagholi. Dept.of E&TC
BLOCK DIAGRAM OF POWER SUPPLY
.2. INTRODUCTION
Today almost every electronic device needs a DC supply for its smooth operation and
operated within certain power supply limits. This required DC voltage
or DC supply is derived from single phase ac mains.
A regulated power supply can convert unregulated an AC (alternating current or
voltage) to a constant DC (direct current or voltage). A regulated power supply is used
to ensure that the output remains constant even if the input changes. A regulated DC
power supply is also called as a linear power supply, it is an embedded circuit and
consists of various blocks.
The regulated power supply will accept an AC input and give a constant DC output.
So we have Powered the Kit/ set-up with the Adaptor Which gives exact 5V output
voltage we have used the micro-type USB cables for connection of Controller with
HOME AUTOMATION USING NODEMCU & BLYNK
of E&TC Page | 21
Today almost every electronic device needs a DC supply for its smooth operation and
operated within certain power supply limits. This required DC voltage
A regulated power supply can convert unregulated an AC (alternating current or
A regulated power supply is used
to ensure that the output remains constant even if the input changes. A regulated DC
power supply is also called as a linear power supply, it is an embedded circuit and
The regulated power supply will accept an AC input and give a constant DC output.
up with the Adaptor Which gives exact 5V output
type USB cables for connection of Controller with
HOME AUTOMATION USING NODEMCU & BLYNK
JSPM’s Bhivrabai Sawant Polytechnic, Wagholi. Dept.of E&TC Page | 22
12.3. DESCRIPTION
The basic building blocks of a regulated DC power supply are as follows:
1. A step down transformer
2. A rectifier
3. A DC filter
4. A regulator
Step Down Transformer
A step down transformer will step down the voltage from the ac mains to the required
voltage level. The turn’s ratio of the transformer is so adjusted such as to obtain the
required voltage value. The output of the transformer is given as an input to the
rectifier circuit.
Rectification
Rectifier is an electronic circuit consisting of diodes which carries out the rectification
process. Rectification is the process of converting an alternating voltage or current into
corresponding direct (DC) quantity. The input to a rectifier is ac whereas its output is
unidirectional pulsating DC. Usually a full wave rectifier or a bridge rectifier is used
to rectify both the half cycles of the ac supply (full wave rectification). Figure below
shows a full wave bridge rectifier.'
DC Filtration
The rectified voltage from the rectifier is a pulsating DC voltage having very high
ripple content. But this is not we want, we want a pure ripple free DC
Regulation
This is the last block in a regulated DC power supply. The output voltage or current
will change or fluctuate when there is change in the input from ac mains or due to
change in load current at the output of the regulated power supply or due to other
factors like temperature changes. This problem can be eliminated by using a regulator.
A regulator will maintain the output constant even when changes at the input or any
other changes occur. Transistor series regulator, Fixed and variable IC regulators or a
zener diode operated in the zener region can be used depending on their applications.
IC’s like 78XX and 79XX are used to obtained fixed values of voltages at the output.
waveform. Hence a filter is used. Different types of filters are used such as capacitor
filter, LC filter, Choke input filter, π type filter.
Chapter No : 13
FLOW CHART
HOME AUTOMATION USING NODEMCU & BLYNK
JSPM’s Bhivrabai Sawant Polytechnic, Wagholi.
13.1. FLOW CHART FOR PROGRAMMING
HOME AUTOMATION USING NODEMCU & BLYNK
bai Sawant Polytechnic, Wagholi. Dept.of E&TC
FLOW CHART FOR PROGRAMMING
Fig. Flow Chart Of Programming
HOME AUTOMATION USING NODEMCU & BLYNK
of E&TC Page | 23
Fig. Flow Chart Of Programming
Chapter No : 14
ADVANTAGES
HOME AUTOMATION USING NODEMCU & BLYNK
JSPM’s Bhivrabai Sawant Polytechnic, Wagholi. Dept.of E&TC Page | 24
14.1. ADVANTAGES
1. Savings:
Smart thermostats and smart light bulbs save energy, cutting utility costs over
time. Some home automation technologies monitor water usage, too, helping to
prevent exorbitant wate r bills. Certain devices even offer rebates.
2. Convenience:
Because home automation technology performs rote tasks automatically, end
users experience great convenience. Lots of smart gadgets are compatible with
one another, and you can set different triggers between devices to automate
regular home processes. For instance, you could set your smart locks to turn on
your smart lighting when you unlock the front door.
.
3. Control:
Consumers also choose smart home devices to better control functions within
the home. With home automation technology, you can know what’s happening
inside your home at all times.
4. Comfort:
Some people use smart technology to record shows or to play music
throughout the home. Connected devices can also help create a comfortable
atmosphere—they provide intelligent and adaptive lighting, sound, and
temperature, which can all help create an inviting environment.
5. Peace of Mind:
Finally, many consumers invest in home automation technology for peace of
mind. A new mom or dad can check on their little one thanks to smart cameras
and other technologies. Or, if you can’t remember whether you closed the
garage after you left, you can verify remotely with an app.
Chapter No : 15
APPLICATIONS
HOME AUTOMATION USING NODEMCU & BLYNK
JSPM’s Bhivrabai Sawant Polytechnic, Wagholi. Dept.of E&TC Page | 25
15.1. APPLICATIONS
1. Heating, ventilation and air conditioning (HVAC):
it is possible to have remote control of all home energy monitors over the
internet incorporating a simple and friendly user interface.
2. Lighting control system:
A "smart" network that incorporates communication between various lighting
system inputs and outputs, using one or more central computing devices.
3. Occupancy-aware control system:
It is possible to sense the occupancy of the home using smart meters[14] and
environmental sensors like CO2 sensors,[15] which can be integrated into the
building automation system to trigger automatic responses for energy
efficiency and building comfort applications.
4. Appliance control and integration;
With the smart grid and a smart meter, taking advantage, for instance, of high
solar panel output in the middle of the day to run washing machines.
5. Home robots and security:
A household security system integrated with a home automation system can
provide additional services such as remote surveillance of security cameras
over the Internet, or access control and central locking of all perimeter doors
and windows.
6. Leak detection.
smoke and CO detectors.
7. Home automation for the elderly and disabled.
8. Smart Kitchen and Connected Cooking.
Using Voice control devices like Amazon Alexa or Google Home to kitchen
appliances.
Chapter No : 16
REFERENCES
HOME AUTOMATION USING NODEMCU & BLYNK
JSPM’s Bhivrabai Sawant Polytechnic, Wagholi. Dept.of E&TC Page | 26
16.1. REFERENCES
1) https://www.elprocus.com/home-automation-projects-engineering-students/
2) https://openhomeautomation.net/
3) https://publications.waset.org/5037/pdf
4) https://www.academia.edu/11182817/WIFI_BASED_WIRELESS_ADVA
NCED_HOME_AUTOMATION_SYSTEM
5) https://circuitdigest.com/microcontroller-projects/diy-smart-plug-using-
esp8266
6) https://circuitdigest.com/home-automation-projects
7) https://www.makeuseof.com/tag/getting-started-blynk-simple-diy-iot-
devices/
8) https://www.blynkcommunity.in
9) https://www.gits.in
10) https://www.iftt.in
11) https://www.arduino.in
Chapter No : 17
CONCLUSION
HOME AUTOMATION USING NODEMCU & BLYNK
JSPM’s Bhivrabai Sawant Polytechnic, Wagholi. Dept.of E&TC Page | 27
17.1. 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 completes
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.
Chapter No : 18
FUTURE SCOPE
HOME AUTOMATION USING NODEMCU & BLYNK
JSPM’s Bhivrabai Sawant Polytechnic, Wagholi. Dept.of E&TC Page | 28
18.1. FUTURE SCOPE
1) The going with stage for home robotization advertise will happen subject to a
couple of key overhauls in the progression open in Automation, for example,
improvement in Wireless Automation blueprints and moreover bringing down of
regard appears as the market starts perceive Home mechanization use in more
noteworthy volumes. A couple of examples that we foresee for this time of the
business are,
2) Big associations like Philips, Siemens and Schneider will as time goes on bring out
truly mass market mechanization things with interfacing with UI in any case at
lower esteem point as contrast with today, and more people will be able to bear the
cost of the things.
3) Solution commitments will bit by bit move to an all the more straightforward
structure, where next to two or three key parts, customers will have the ability to
buy and use the Automation things themselves without the guide of any specific
ace .
4) Future Scope for the home automation system involves making homes even
smarter. Homes can be interfaced with the sensors including the motion sensors,
light sensors and temperature sensors and thus this may provide the automatic
toggling of the devices according to the conditions.
5) More energy can be conserved by ensuring occupation of the house before turning
on devices and checking the brightness and turning off the light if not necessary.
6) The system can be integrated closely with the home security solutions enhancing
the safety for home owners.
Chapter No : 19
COST OF COMPONENTS
HOME AUTOMATION USING NODEMCU & BLYNK
JSPM’s Bhivrabai Sawant Polytechnic, Wagholi. Dept.of E&TC Page | 29
19.1. COST OF COMPONENTS
Sr. No. Component Price
1) NodeMCU Esp-8266 370
2) Relay Module 450
3) Jumper Wires/ Connection Wires 80
4) Switch Board Box 150
5) Sockets 3-phase (1x4) 160
6) Switch 20
7) LEDS’s 30
8) Motor 5v 30
9) Light Bulb (1x3) 50
10) Charger 150
11) USB Cables 100
12) Home Set-up 300
13) Paper Publishing 800
Total ₹ 2690+
Chapter No : 20
APPENDIX A
HOME AUTOMATION USING NODEMCU & BLYNK
JSPM’s Bhivrabai Sawant Polytechnic, Wagholi. Dept.of E&TC Page | 30
20.1 APPENDIX A (FOR NodeMCU Esp-8266
/*************************************************************
Download latest Blynk library here:
https://github.com/blynkkk/blynk-library/releases/latest
Blynk is a platform with iOS and Android apps to control
Arduino, Raspberry Pi and the likes over the Internet.
You can easily build graphic interfaces for all your
projects by simply dragging and dropping widgets.
Downloads, docs, tutorials: http://www.blynk.cc
Sketch generator: http://examples.blynk.cc
Blynk community: http://community.blynk.cc
Follow us: http://www.fb.com/blynkapp
http://twitter.com/blynk_app
Blynk library is licensed under MIT license
This code is in public domain.
*************************************************************
This Code runs directly on NodeMCU.
Note: This requires ESP8266 support package:
https://github.com/esp8266/Arduino
HOME AUTOMATION USING NODEMCU & BLYNK
JSPM’s Bhivrabai Sawant Polytechnic, Wagholi. Dept.of E&TC Page | 31
Please be sure to select the right NodeMCU module
in the Tools -> Board menu!
For advanced settings please follow ESP examples :
- ESP8266_Standalone_Manual_IP.ino
- ESP8266_Standalone_SmartConfig.ino
- ESP8266_Standalone_SSL.ino
Change WiFi ssid, pass, and Blynk auth token to run :)
Feel free to apply it to any other example. It's simple!
*************************************************************/
/* Comment this out to disable prints and save space */
MAIN PROGRAMME
#define BLYNK_PRINT Serial
#include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266.h>
// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = "AuthToken";
// Your WiFi credentials.
HOME AUTOMATION USING NODEMCU & BLYNK
JSPM’s Bhivrabai Sawant Polytechnic, Wagholi. Dept.of E&TC Page | 32
// Set password to "" for open networks.
char ssid[] = "Network name";
char pass[] = "Password";
void setup()
{
// Debug console
Serial.begin(9600);
Blynk.begin(auth, ssid, pass);
// You can also specify server:
//Blynk.begin(auth, ssid, pass, "blynk-cloud.com", 80);
//Blynk.begin(auth, ssid, pass, IPAddress(192,168,1,100), 8080);
}
void loop()
{
Blynk.run();
}

Mais conteúdo relacionado

Mais procurados

Mais procurados (20)

Voice Control Home Automation
Voice Control Home AutomationVoice Control Home Automation
Voice Control Home Automation
 
home automation using esp8266
home automation using esp8266home automation using esp8266
home automation using esp8266
 
Report
ReportReport
Report
 
Internet of Things (IoT) Based Smart Security & Home Automation System.
Internet of Things (IoT) Based Smart Security & Home Automation System.Internet of Things (IoT) Based Smart Security & Home Automation System.
Internet of Things (IoT) Based Smart Security & Home Automation System.
 
SMART HOME AUTOMATION USING MOBILE APPLICATION
SMART HOME AUTOMATION USING MOBILE APPLICATIONSMART HOME AUTOMATION USING MOBILE APPLICATION
SMART HOME AUTOMATION USING MOBILE APPLICATION
 
iot based home automation
iot based home automationiot based home automation
iot based home automation
 
IoT Based Home Automation System Presantation
IoT Based Home Automation System PresantationIoT Based Home Automation System Presantation
IoT Based Home Automation System Presantation
 
Home Automation using Android Phones-Project first phase
Home Automation using Android Phones-Project first phaseHome Automation using Android Phones-Project first phase
Home Automation using Android Phones-Project first phase
 
Home automation in client server using NodeMcu approach along with user notif...
Home automation in client server using NodeMcu approach along with user notif...Home automation in client server using NodeMcu approach along with user notif...
Home automation in client server using NodeMcu approach along with user notif...
 
Home automation using IOT
Home automation using IOTHome automation using IOT
Home automation using IOT
 
Android Based Home Automation Control
Android Based Home Automation ControlAndroid Based Home Automation Control
Android Based Home Automation Control
 
Home Automation Using Arduino Uno and HC-05
Home Automation Using Arduino Uno and HC-05Home Automation Using Arduino Uno and HC-05
Home Automation Using Arduino Uno and HC-05
 
Presentation on INTERNET OF THINGS
Presentation on INTERNET OF THINGSPresentation on INTERNET OF THINGS
Presentation on INTERNET OF THINGS
 
Iot home automation varsha,ashish,sagar,arvind
Iot home automation  varsha,ashish,sagar,arvindIot home automation  varsha,ashish,sagar,arvind
Iot home automation varsha,ashish,sagar,arvind
 
Home Automation
Home AutomationHome Automation
Home Automation
 
Home automation
Home automationHome automation
Home automation
 
Home automation ppt
Home automation pptHome automation ppt
Home automation ppt
 
How IoT & Smart Home Automation Will Change the Way We Live
How IoT & Smart Home Automation Will Change the Way We LiveHow IoT & Smart Home Automation Will Change the Way We Live
How IoT & Smart Home Automation Will Change the Way We Live
 
Bluetooth based home automation system
Bluetooth based home automation systemBluetooth based home automation system
Bluetooth based home automation system
 
Home automation with arduino
Home automation with arduinoHome automation with arduino
Home automation with arduino
 

Semelhante a Home_Automation_using_NodeMCU.pdf

MECH 10-08-19 PPT.ppt.eeeeeeeeeeeeeeeeee
MECH 10-08-19 PPT.ppt.eeeeeeeeeeeeeeeeeeMECH 10-08-19 PPT.ppt.eeeeeeeeeeeeeeeeee
MECH 10-08-19 PPT.ppt.eeeeeeeeeeeeeeeeee
palanisamyiiiier
 
Principal Speech - Shriutsav May 2010
Principal Speech - Shriutsav May 2010Principal Speech - Shriutsav May 2010
Principal Speech - Shriutsav May 2010
siet.facebook
 
5G-6G_Faculty Developmentand Training-2024.pdf
5G-6G_Faculty Developmentand Training-2024.pdf5G-6G_Faculty Developmentand Training-2024.pdf
5G-6G_Faculty Developmentand Training-2024.pdf
ssuserca5764
 

Semelhante a Home_Automation_using_NodeMCU.pdf (20)

NAAC PPT1
NAAC PPT1NAAC PPT1
NAAC PPT1
 
ELECTRICAL AND ELECTRONIC ENGINEERING SYLLABUS.pdf
ELECTRICAL AND ELECTRONIC ENGINEERING SYLLABUS.pdfELECTRICAL AND ELECTRONIC ENGINEERING SYLLABUS.pdf
ELECTRICAL AND ELECTRONIC ENGINEERING SYLLABUS.pdf
 
MECH 10-08-19 PPT.ppt.eeeeeeeeeeeeeeeeee
MECH 10-08-19 PPT.ppt.eeeeeeeeeeeeeeeeeeMECH 10-08-19 PPT.ppt.eeeeeeeeeeeeeeeeee
MECH 10-08-19 PPT.ppt.eeeeeeeeeeeeeeeeee
 
Emerging Trends in Civil Engineering 22603.pdf
Emerging Trends in Civil Engineering 22603.pdfEmerging Trends in Civil Engineering 22603.pdf
Emerging Trends in Civil Engineering 22603.pdf
 
Ekeeda - Biomedical Engineering Syllabus
Ekeeda - Biomedical Engineering SyllabusEkeeda - Biomedical Engineering Syllabus
Ekeeda - Biomedical Engineering Syllabus
 
Electrical depy.ppt
Electrical depy.pptElectrical depy.ppt
Electrical depy.ppt
 
Principal Speech - Shriutsav May 2010
Principal Speech - Shriutsav May 2010Principal Speech - Shriutsav May 2010
Principal Speech - Shriutsav May 2010
 
RTICMOSMEMS.pdf
RTICMOSMEMS.pdfRTICMOSMEMS.pdf
RTICMOSMEMS.pdf
 
ETD PPT UNIT-I R21.pptx
ETD PPT UNIT-I  R21.pptxETD PPT UNIT-I  R21.pptx
ETD PPT UNIT-I R21.pptx
 
ETD PPT UNIT-I R21.pptx
ETD PPT UNIT-I  R21.pptxETD PPT UNIT-I  R21.pptx
ETD PPT UNIT-I R21.pptx
 
Report[Batch-08].pdf
Report[Batch-08].pdfReport[Batch-08].pdf
Report[Batch-08].pdf
 
PEO, PO'S & PSO'S.pdf
PEO, PO'S & PSO'S.pdfPEO, PO'S & PSO'S.pdf
PEO, PO'S & PSO'S.pdf
 
Curriculum_Vitae.pdf
Curriculum_Vitae.pdfCurriculum_Vitae.pdf
Curriculum_Vitae.pdf
 
5G-6G_Faculty Developmentand Training-2024.pdf
5G-6G_Faculty Developmentand Training-2024.pdf5G-6G_Faculty Developmentand Training-2024.pdf
5G-6G_Faculty Developmentand Training-2024.pdf
 
Workshop manual
Workshop manualWorkshop manual
Workshop manual
 
Infomatica Academy - Engineering Degree - Biomedical Engineering Syllabus
Infomatica Academy - Engineering Degree - Biomedical Engineering SyllabusInfomatica Academy - Engineering Degree - Biomedical Engineering Syllabus
Infomatica Academy - Engineering Degree - Biomedical Engineering Syllabus
 
Electrical &amp; electronics engineering
Electrical &amp; electronics engineeringElectrical &amp; electronics engineering
Electrical &amp; electronics engineering
 
ashwini joshi
ashwini joshiashwini joshi
ashwini joshi
 
raman
ramanraman
raman
 
Best Engineering Colleges in Ghatkesar, Hyderabad, Telangana.
Best Engineering Colleges in Ghatkesar, Hyderabad, Telangana.Best Engineering Colleges in Ghatkesar, Hyderabad, Telangana.
Best Engineering Colleges in Ghatkesar, Hyderabad, Telangana.
 

Último

FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
dollysharma2066
 
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.ppt
MsecMca
 

Último (20)

Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdf
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)
 
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdf
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
 
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank  Design by Working Stress - IS Method.pdfIntze Overhead Water Tank  Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
 
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELLPVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torque
 
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
 
NFPA 5000 2024 standard .
NFPA 5000 2024 standard                                  .NFPA 5000 2024 standard                                  .
NFPA 5000 2024 standard .
 
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxBSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.ppt
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
 

Home_Automation_using_NodeMCU.pdf

  • 1. JAYAWANT SHIKSHAN PRASARAK MANDAL’s Bhivrabai Sawant Polytechnic (Approved by AICTE, New Delhi, Govt. of Maharashtra, Affiliated to MSBTE Mumbai) Gat No. 720 (1&2), Wagholi, Pune Phone: E-mail: bspoly@rediffmail.com PROJECT Home Automation “Using ELECTRONICS & TELECOMMUNICATION ENGINEERING JAYAWANT SHIKSHAN PRASARAK MANDAL’s Bhivrabai Sawant Polytechnic (Approved by AICTE, New Delhi, Govt. of Maharashtra, Affiliated to MSBTE Mumbai) Gat No. 720 (1&2), Wagholi, Pune-Nagar Road, Pune-412207) 020 – 65335100 Tele fax: - + 91-020-65335100 bspoly@rediffmail.com Website: www.jspm.edu.in A PROJECT REPORT ON Home Automation “Using NodeMCU & Blynk Under Guidance Of Prof. – V.B.Takale Submitted By 1. Ms. Aishwarya Jadhav 2. Mr.Ganesh Sawant 3. Ms. Swapnali Kumbhar 4. Ms. Pooja Kadam DEPARTMENT OF ELECTRONICS & TELECOMMUNICATION ENGINEERING Academic Year 2019-2020 JAYAWANT SHIKSHAN PRASARAK MANDAL’s Bhivrabai Sawant Polytechnic (Approved by AICTE, New Delhi, Govt. of Maharashtra, Affiliated to MSBTE Mumbai) 412207) www.jspm.edu.in & Blynk’’ ELECTRONICS & TELECOMMUNICATION ENGINEERING
  • 2. Maharashtra State Board of Technical Education Mumbai -51 Certificate Title Name Enrollment Number. This is to certify that Ms. Aishwarya Jadhav 1707100253 This is to certify that Mr.Ganesh Sawant 1707100532 This is to certify that Ms. Swapnali Kumbhar 1707100275 This is to certify that Ms. Pooja Kadam 1407100153 Submitted in partial fulfilment of requirement for award of diploma in Electronics & Telecommunications Engineering by Maharashtra State Board of technical Education Mumbai-51, as a record of the student own work carried out by them under my guidance & supervision. PROJECT GUIDE PROJECT CO-ORDINATOR (Prof. V. B. TAKALE) (Prof. V. B. TAKALE) EXTERNAL EXAMINER H.O.D PRINCIPAL ( Prof. R.S. DHORJE ) (Dr. SACHIN ADMANE )
  • 3. ACKNOWLEDGMENT A project of such comprehensive coverage cannot be prepared without help of numerous source & people in this field. We are specially indebt to Prof. R .S. Dhorje Mam Head of Department Of Electronics & Telecommunication. For inspiring us for take this project. We also express our sincere attitude of Prof. V .B. Takale. For their valuable guidance to solve the queries and motivate us throughout the project work, to solve it in the possible manner. Finally we are also thankful to the staff of the E&TC Dept. And all our friends who are always encourage and support us for completion of our project. Student Name Seat No. Signature 1. Ms. Aishwarya Jadhav 214713 2. Mr.Ganesh Sawant 214722 3. Ms.Swapnali Kumbhar 214719 4. Ms. Pooja Kadam 214709
  • 4. JAYAWANT SHIKSHAN PRASARAK MANDAL’s Bhivrabai Sawant Polytechnic (Approved by AICTE, New Delhi, Govt. of Maharashtra, Affiliated to MSBTE Mumbai) Gat No. 720 (1&2), Wagholi, Pune Phone: E-mail: bspoly@rediffmail.com Electronics & Telecommunication To develop Electronics & Telecommunication Engineers with sound technical knowledge focusing on social and industrial demands with professional ethics. M1: To create environment for imparting technical education through effective teaching- learning process. M2: To develop industry driven & Entrepreneurial Skills and extra co-curricular activities. M3: To provide value based education for socio nation. JAYAWANT SHIKSHAN PRASARAK MANDAL’s Bhivrabai Sawant Polytechnic (Approved by AICTE, New Delhi, Govt. of Maharashtra, Affiliated to MSBTE Mumbai) Gat No. 720 (1&2), Wagholi, Pune-Nagar Road, Pune-412207) Phone: 020 – 65335100 Tele fax: - + 91-020-65335100 bspoly@rediffmail.com Website: www.jspm.edu.in Electronics & Telecommunication Engineering Department VISION To develop Electronics & Telecommunication Engineers with sound technical knowledge focusing on social and industrial demands with professional ethics. MISSION To create environment for imparting technical education through effective learning process. : To develop industry driven & Entrepreneurial Skills through co curricular activities. To provide value based education for socio-economic enhancement of JAYAWANT SHIKSHAN PRASARAK MANDAL’s Bhivrabai Sawant Polytechnic (Approved by AICTE, New Delhi, Govt. of Maharashtra, Affiliated to MSBTE Mumbai) Engineering Department To develop Electronics & Telecommunication Engineers with sound technical knowledge focusing on social and industrial demands with professional ethics. To create environment for imparting technical education through effective through co-curricular economic enhancement of
  • 5. JAYAWANT SHIKSHAN PRASARAK MANDAL’s Bhivrabai Sawant Polytechnic (Approved by AICTE, New Delhi, Govt. of Maharashtra, Affiliated to MSBTE Mumbai) Gat No. 720 (1&2), Wagholi, Pune Phone: E-mail: bspoly@rediffmail.com Institute vision & Mission To develop globally competent technocrats education for soco- economic Mission of Institute  M1- To nurture and maintain an environment o standard for diplomat entrepreneurial abilities  M2- To deliver quality education by knowledge, interpersonal skills  M3- To equip students with technical skills, ethical and moral meet aspirations of the society and Industry, sustainable development JAYAWANT SHIKSHAN PRASARAK MANDAL’s Bhivrabai Sawant Polytechnic (Approved by AICTE, New Delhi, Govt. of Maharashtra, Affiliated to MSBTE Mumbai) Gat No. 720 (1&2), Wagholi, Pune-Nagar Road, Pune-412207) Phone: 020 – 65335100 Tele fax: - + 91-020-65335100 bspoly@rediffmail.com Website: www.jspm.edu.in Institute vision & Mission competent technocrats by imparting quality economic enhancement of the Nation. Mission of Institute re and maintain an environment of high academic standard for diplomat students, encouraging for higher education and abilities. quality education by inserting basic and engineering interpersonal skills, critical thinking and creativity. To equip students with technical skills, ethical and moral meet aspirations of the society and Industry, thereby to contribute development of the Nation. JAYAWANT SHIKSHAN PRASARAK MANDAL’s Bhivrabai Sawant Polytechnic (Approved by AICTE, New Delhi, Govt. of Maharashtra, Affiliated to MSBTE Mumbai) by imparting quality technical h academic education and inserting basic and engineering and creativity. To equip students with technical skills, ethical and moral values to to contribute
  • 6. JAYAWANT SHIKSHAN PRASARAK MANDAL’s Bhivrabai Sawant Polytechnic (Approved by AICTE, New Delhi, Govt. of Maharashtra, Affiliated to MSBTE Mumbai) Gat No. 720 (1&2), Wagholi, Pune Phone: E-mail: bspoly@rediffmail.com Programme Outcomes (Po’s) PO 1. Basic knowledge: engineering to solve the engineering problems. PO 2. Discipline knowledge: and for applied engineering problems. PO 3. Experiments and practice: and to use the results to solve engineering problems. PO 4. Engineering tools: of the limitations. PO 5. The engineer and society: legal and cultural issues and the consequent responsibilities relevant engineering practices. PO 6. Environment and sustainability: societal and environmental contexts, and demonstrate the knowledge a development. PO 7. Ethics: Apply ethical principles for commit to professional ethics, responsibilities and norms of the engineering practice. PO 8. Individual and team work: or leader in diverse/ multidisciplinary teams. PO 9. Communication: An ability to PO 10. Life-long learning: Engage in independent and life JAYAWANT SHIKSHAN PRASARAK MANDAL’s Bhivrabai Sawant Polytechnic (Approved by AICTE, New Delhi, Govt. of Maharashtra, Affiliated to MSBTE Mumbai) Gat No. 720 (1&2), Wagholi, Pune-Nagar Road, Pune-412207) Phone: 020 – 65335100 Tele fax: - + 91-020-65335100 bspoly@rediffmail.com Website: www.jspm.edu.in Programme Outcomes (Po’s) An ability to apply knowledge of basic mathematics, sciences and engineering to solve the engineering problems. PO 2. Discipline knowledge: An ability to apply discipline-specific knowledge to solve or applied engineering problems. PO 3. Experiments and practice: An ability to Plan and perform experiments and practices and to use the results to solve engineering problems. ineering tools: Apply appropriate technologies and tools with an understanding PO 5. The engineer and society: Demonstrate knowledge to Assess societal, health, safety, legal and cultural issues and the consequent responsibilities relevant engineering practices. PO 6. Environment and sustainability: Understand the impact of the engineering solutions societal and environmental contexts, and demonstrate the knowledge and need for sustainable Apply ethical principles for commit to professional ethics, responsibilities and norms of the engineering practice. PO 8. Individual and team work: Function effectively as an individual and as a team or leader in diverse/ multidisciplinary teams. An ability to communicate effectively. long learning: Recognize the need for, and have the preparation and ability to Engage in independent and life-long learning in the context of technological changes JAYAWANT SHIKSHAN PRASARAK MANDAL’s Bhivrabai Sawant Polytechnic (Approved by AICTE, New Delhi, Govt. of Maharashtra, Affiliated to MSBTE Mumbai) knowledge of basic mathematics, sciences and specific knowledge to solve, score An ability to Plan and perform experiments and practices Apply appropriate technologies and tools with an understanding Demonstrate knowledge to Assess societal, health, safety, legal and cultural issues and the consequent responsibilities relevant engineering practices. Understand the impact of the engineering solutions in nd need for sustainable Apply ethical principles for commit to professional ethics, responsibilities and Function effectively as an individual and as a team member Recognize the need for, and have the preparation and ability to the context of technological changes
  • 7. JAYAWANT SHIKSHAN PRASARAK MANDAL’s Bhivrabai Sawant Polytechnic (Approved by AICTE, New Delhi, Govt. of Maharashtra, Affiliated to MSBTE Mumbai) Gat No. 720 (1&2), Wagholi, Pune Phone: E-mail: bspoly@rediffmail.com Programme Educational PEO 1: To develop the ability among student to understand the concept of electronics & telecommunication engineering that will facilitate social & industrial demand. PEO 2: To give exposure to emerging technologies adequate training & opportunities to work as an individual & team effectively in the world of work. PEO 3: To promote innovative ideas, logical thinking & improve communication skills, presentation skills, learning PEO 4: To develop & enhance ability to solve, analyze engineering problems & provide real time solutions. Programme Specific Outcomes PSO 1: To apply fundamentals of electronics in various domains of analog and digital systems. PSO2: To design and analyze functional elements of different wired and wireless communication systems. PSO3: Understanding the principle and construction of electrical machine and determine their performance through testing. JAYAWANT SHIKSHAN PRASARAK MANDAL’s Bhivrabai Sawant Polytechnic (Approved by AICTE, New Delhi, Govt. of Maharashtra, Affiliated to MSBTE Mumbai) Gat No. 720 (1&2), Wagholi, Pune-Nagar Road, Pune-412207) Phone: 020 – 65335100 Tele fax: - + 91-020-65335100 bspoly@rediffmail.com Website: www.jspm.edu.in Programme Educational Objectives (Peo’s To develop the ability among student to understand the concept of & telecommunication engineering that will facilitate social & industrial give exposure to emerging technologies adequate training & to work as an individual & team effectively in the world of work. To promote innovative ideas, logical thinking & improve communication skills, presentation skills, learning abilities & managing skills. To develop & enhance ability to solve, analyze engineering problems & provide real time solutions. Programme Specific Outcomes(Pso’s) To apply fundamentals of electronics in various domains of analog and To design and analyze functional elements of different wired and wireless communication systems. Understanding the principle and construction of electrical machine and determine their performance through testing. JAYAWANT SHIKSHAN PRASARAK MANDAL’s Bhivrabai Sawant Polytechnic (Approved by AICTE, New Delhi, Govt. of Maharashtra, Affiliated to MSBTE Mumbai) (Peo’s ) To develop the ability among student to understand the concept of & telecommunication engineering that will facilitate social & industrial give exposure to emerging technologies adequate training & to work as an individual & team effectively in the world of work. To promote innovative ideas, logical thinking & improve communication To develop & enhance ability to solve, analyze engineering problems & (Pso’s) To apply fundamentals of electronics in various domains of analog and To design and analyze functional elements of different wired and wireless Understanding the principle and construction of electrical machine and
  • 8. Sr.No Index Page. No 1. ABSTRACT 1 2. INTRODUCTION 2 3. LITERATURE SURVEY 3-4 4. PROBLEM DEFINITION 5 5. METHODOLOGY 6 6. BLOCK DIAGRAM 7-8 7. WORKING DIAGRAM 9-10 8. CIRCUIT DIAGRAM 11-12 9. NODEMCU ESP-8266 12-E  OVERVIEW  PIN DIAGRAM/DESCRIPTION  FEATURES 13-15 10. 4-CHANNEL RELAY MODULE  INTRODUCTION  PRINCIPLE  PIN DESCRIPTION  FEATURES 16-17 11. ESP-8266  INTRODUCTION  PIN DIAGRAM  PIN CONFIGURATION  SPECIFICATION 18-20 12. POWER SUPPLY  INTRODUCTION  DESCRIPTION 21-22 13. FLOW CHART (PROGRAMMING) 23 14. ADVANTAGES & APPLICATIONS 24-25 15. REFERENCES 26 16. CONCLUSION 27 17. FUTURE SCOPE 28 18. COST OF COMPONENTS 29 19. APPENDIX A 30-32 Contents
  • 9. Chapter No : 1 ABSTRACT
  • 10. HOME AUTOMATION USING NODEMCU & BLYNK JSPM’s Bhivrabai Sawant Polytechnic, Wagholi. Dept.of E&TC Page | 1 ABSTRACT 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 system. With the rapid increase in the number of users of internet over the past decade has made Internet a part and parcel of life, and IoT is the latest and emerging internet technology. Internet of things is a growing network of everyday object-from industrial machine to consumer goods that can share information and complete tasks while you are busy with other activities. Wireless Home Automation system (HAS) using IoT is a system that uses computers or mobile devices to control basic home functions and features automatically through internet from anywhere around the world, an automated home is sometimes called a smart home. It is meant to save the electric power and human energy. The home automation system differs from other system by allowing the user to operate the system from anywhere around the world through internet connection. In this paper we present a Home Automation system(HAS) using Blynk Community 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. This system is designed to be low cost and expandable allowing a variety of devices to be controlled
  • 11. Chapter No : 2 INTRODUCTION
  • 12. HOME AUTOMATION USING NODEMCU & BLYNK JSPM’s Bhivrabai Sawant Polytechnic, Wagholi. Dept.of E&TC Page | 2 INTRODUCTION IOT or internet of things is an upcoming technology that allows us to control hardware devices through the internet .Here we propose to use IOT in order to control home appliances, thus automating modern homes through the internet. 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 NodeMCU (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, NodeMCU processes these instructions to operate these loads accordingly and display 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 dor 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 For triggering our circuits. It will trigger the circuit as it gets input command from the Google assistant.
  • 13. Chapter No : 3 LITERATURE SURVEY
  • 14. HOME AUTOMATION USING NODEMCU & BLYNK JSPM’s Bhivrabai Sawant Polytechnic, Wagholi. Dept.of E&TC Page | 3 3.1. LITERATURE SURVEY 1) BLUETOOTH BASED HOME AUTOMATION SYSTEM USING CELL PHONES:  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. 2) GSM BASED HOME AUTOMATION SYSTEM USING CELL PHONES:  Because of the mobile phone and GSM technology, the GSM based home automation is lure to research.  The SMS based home automation, GPRS based home automation and dual tone multi frequency (DTMF) based home automation, these options we considered mainly for communication in GSM.  The home sensors and devices interact with the home network and communicates through GSM and SIM (subscriber identity module).  The system use transducer which convert machine function into electrical signals which goes into microcontroller.  The sensors of system convert the physical qualities like sound, temperature and humidity into some other quantity like voltage.  The microcontroller analysis all signal and convert them into command to understand by GSM module.  Select appropriate communication method among SMS, GPRS and DTFC based on the command which received GSM module.
  • 15. HOME AUTOMATION USING NODEMCU & BLYNK JSPM’s Bhivrabai Sawant Polytechnic, Wagholi. Dept.of E&TC Page | 4 3) WI-FI BASED HOME AUTOMATION SYSTEM USING CELL PHONES:  Wi-Fi based home automation system mainly consist three modules, the server, the hardware interface module, and the software package.  The figure shows the system model layout. Wi-Fi technology is used by server, and hardware Interface module to communicate with each other.  The same technology uses to login to the server web based application. remote users can access server web based application through the internet using compatible web browser. Software of the latest home automation system is split to server application software, and Microcontroller (Arduino) firmware.  The Arduino software, built using C language, using IDE comes with the microcontroller itself. Arduino software is culpable for gathering events from connected sensors, then applies action to actuators and pre- programmed in the server.  Another job is to report the and record the history in the server DB. The server application software package for the proposed home automation system, is a web based application built using asp.net.  The server application software can be accessed from internal network or from internet if the server has real IP on the internet using any internet navigator supports asp.net technology.  Server application software is culpable of; maintain the whole home automation system, setup, and configuration.
  • 16. Chapter No : 4 PROBLEM DEFINITION
  • 17. HOME AUTOMATION USING NODEMCU & BLYNK JSPM’s Bhivrabai Sawant Polytechnic, Wagholi. Dept.of E&TC Page | 5 4.1. PROBLEM DEFINITION & PROBLEM STATEMENT Today people are looking at ways and means to better their life-style using the latest technologies that are available. Any new facility for home appliance that promises to enhance their life-style is grabbed by the consumers. The more such facilities and appliances are added, it becomes inevitable to have easy and convenient methods and means to control and operate these appliances. Conventional wall switches are located in different parts of a house and thus necessitates manual operations like to switch on or off these switches to control various appliances. It gets virtually impossible to keep track of appliances that are running and also to monitor their Performances. And Aim is to Built an system which controls home appliances with less efforts , like control using mobile, or voice based controlled….
  • 18. Chapter No : 5 METHODOLOGY
  • 19. HOME AUTOMATION USING NODEMCU & BLYNK JSPM’s Bhivrabai Sawant Polytechnic, Wagholi. Dept.of E&TC Page | 6 5.1. METHODOLOGY 1) Make Connection As Per Circuit Diagram, Make Connection On NodeMCU 2) And Then Connect NodeMCU To The Wifi using hotspot/Router. 3) Then Connect The NodeMCU pins Output To The Relay Driver Circuit 4) Then Start Programming the NodeMCU Module. 5) Programme The NodeMCU Using Aurdino IDE Software. 6) Download the Blynk Liberary zip File, Install it from add liberary files. 7) Downold the NodeMCU boards From preferences, by inserting the library link in it. 8) Set The Output Of NodeMCU (D0 – D14) For Different Control Function. 9) Compile the Typed Programme check whether errors are occur or not…. 10)Upload the Programme onto NodeMCU using mocro-type USB Cables. 11)Then Connect The NodeMCU Module To the Internet using Router/Hotspot. 12)Now Pair The NodeMCU Module With Android Application . i.e Blynk App. CONTROL TYPE  MANUAL CONTROL. 1. Now Set The Function of Switches In Application. 2. Checkout All The Connection First.. 3. Now To Test The Model…..  VOICE CONTROL 1. GoTo site IFTTT sign in Create the Google Assistant Applets (triggers for controlling). 2. Then after creating applets Configure those applets with WebHooks. 3. Connect Blynk the Web-Hooks by creating the Trigger weblink to Blynk App. 4. The link is available on net.. just copy the link and add AuthToken and set the pin Number. 5. All set now just check the set-up with google assistant by giving commands
  • 20. Chapter No : 6 BLOCK DIAGRAM
  • 21. HOME AUTOMATION USING NODEMCU & BLYNK JSPM’s Bhivrabai Sawant Polytechnic, Wagholi. 6.1. BLOCK DIAGRAM 1.1. DESCRIPTION SMART PHONE Used for controlling Purpose, for Android app is required NodeMCU Esp-8266 To take input and perform operation. obtain output as per user requirements. HOME AUTOMATION USING NODEMCU & BLYNK bai Sawant Polytechnic, Wagholi. Dept.of E&TC BLOCK DIAGRAM DESCRIPTION Purpose, for giving command and gain output, for required. 8266 (Wi-Fi Enable Microcontroller). and perform operation. As per programme fed in the Microcontroller and obtain output as per user requirements. Fig. Block Diagram Of Home Automation. HOME AUTOMATION USING NODEMCU & BLYNK of E&TC Page | 7 output, for this blynk in the Microcontroller and Of Home Automation.
  • 22. HOME AUTOMATION USING NODEMCU & BLYNK JSPM’s Bhivrabai Sawant Polytechnic, Wagholi. Dept.of E&TC Page | 8 RELAY DRIVER Basically the output of microcontroller is in Mili-volts so this output volt is not sufficient to run the bulky load output. So as to run the appliances on 230v we require an Relay module so the output is fed to the relay module according to given input to the relay module it will generate output and drive various appliances and load e.g. Lamp, Fan ,Tube light ,T.V, etc. Output These are the output Generated from the given input by the user The user can set the various output sections and can gain output through any of the section like Home appliance A for lights, Home appliance B for fans, Home appliance C for T.V .and many more………. Home appliance A Home appliance B Home appliance C Home appliance D
  • 23. Chapter No : 7 WORKING DIAGRAM
  • 24. HOME AUTOMATION USING NODEMCU & BLYNK JSPM’s Bhivrabai Sawant Polytechnic, Wagholi. 7.1. WORKING OF HOME AUTOMATION  PROCESS OF OPERATION Fig. Fig. HOME AUTOMATION USING NODEMCU & BLYNK bai Sawant Polytechnic, Wagholi. Dept.of E&TC WORKING OF HOME AUTOMATION PROCESS OF OPERATION Fig. Flow Chart Of Home Automation. Fig. Working Diagram Of Home Automation. HOME AUTOMATION USING NODEMCU & BLYNK of E&TC Page | 9 WORKING OF HOME AUTOMATION Of Home Automation.
  • 25. HOME AUTOMATION USING NODEMCU & BLYNK JSPM’s Bhivrabai Sawant Polytechnic, Wagholi. Dept.of E&TC Page | 10 1) Android Device – The Device used to provide the Commands, Control the Appliances, Switch the Loads over the Internet (Internet of Things ) Through Voice Commants Or Swiping on Screen/Display of Smartphones. 2) NodeMCU Processing – The Heart Of Home Automation, Used to Process the Information/Commands/Instruction provided by the User or Owner, Its function is to Process the data & Pass the signal to the Relay and Switch the loads as per given Input. 3) Applications/Appliances- The Load Can be of any type which is the output of the circuit. The Output oif relay drives the appliances. i.e switch the Loads. 1) Fan 2) Led Bulbs 3) Computers 4) Motors 5) Pumps 6) Tele-Vision(T.V) 7) Speakers 8) DVD players 9) Switches etc…………….
  • 26. Chapter No : 8 CIRCUIT DIAGRAM
  • 27. HOME AUTOMATION USING NODEMCU & BLYNK JSPM’s Bhivrabai Sawant Polytechnic, Wagholi. 8.1. CIRCUIT DIAGRAM OF HOME AUTOMATION NodeMCU Esp-8266 It is Node Micro-Controller Unit. It takes input from user from internet, the data and perform operation. As per programme fed in the Microcontroller and obtain output as per user requirements. RELAY DRIVER Basically the output of microcontroller is in Mili sufficient to run the bu So as to run the appliances on 230v we require an Relay module so the output is fed to the relay module according to given input to the relay module it will generate output and drive various appliances and load e.g. Lamp, Fan ,Tube light , HOME AUTOMATION USING NODEMCU & BLYNK bai Sawant Polytechnic, Wagholi. Dept.of E&TC CIRCUIT DIAGRAM OF HOME AUTOMATION NODEMCU 8266 (Wi-Fi Enable Microcontroller). Controller Unit. It takes input from user from internet, the data and perform operation. As per programme fed in the Microcontroller and obtain output as per user requirements. Basically the output of microcontroller is in Mili-volts so this output volt is not sufficient to run the bulky load output. So as to run the appliances on 230v we require an Relay module so the output is fed to the relay module according to given input to the relay module it will generate output and drive various appliances and load e.g. Lamp, Fan ,Tube light ,T.V, etc. Fig. Circuit Diagram Of Home Automation. HOME AUTOMATION USING NODEMCU & BLYNK of E&TC Page | 11 CIRCUIT DIAGRAM OF HOME AUTOMATION USING Controller Unit. It takes input from user from internet, then process the data and perform operation. As per programme fed in the Microcontroller and volts so this output volt is not So as to run the appliances on 230v we require an Relay module so the output is fed to the relay module according to given input to the relay module it will generate output T.V, etc.
  • 28. HOME AUTOMATION USING NODEMCU & BLYNK JSPM’s Bhivrabai Sawant Polytechnic, Wagholi. Dept.of E&TC Page | 12 OUTPUT These are the output Generated from the given input by the user. The user can set the various output sections and can gain output through any of the section like Home appliance A for lights, Home appliance B for fans, Home appliance C for T.V .and many more………. Home appliance A Home appliance B Home appliance C Home appliance D
  • 29. Chapter No : 9 NODEMCU ESP-8266 12-E
  • 30. HOME AUTOMATION USING NODEMCU & BLYNK JSPM’s Bhivrabai Sawant Polytechnic, Wagholi. 9.1. OVERVIEW (NodeMCU) 1) NodeMCU is a low firmware which runs on the ESP8266 Wi hardware which was ba ESP32 32-bit MCU was added 2) The term NodeMC hardware and software environment. It is on board system on chip(SOC) called ESP cost Wi-Fi microchip with full TCP/IP stack and 3) The ESP8266 is the name of a micro controller designed by Espressif Systems. The ESP8266 itself is a self bridge from existing micro controller to WiFi and is also capable of run self-contained applications. 4) This module comes with a built in USB connector and a rich assortment of pin outs. With a micro USB cable, you can connect NodeMCU devkit to your laptop and flash it without any trouble, just like Arduino. It is also immed breadboard friendly. HOME AUTOMATION USING NODEMCU & BLYNK bai Sawant Polytechnic, Wagholi. Dept.of E&TC OVERVIEW (NodeMCU) NodeMCU is a low-cost open source IoT platform. It initially included firmware which runs on the ESP8266 Wi-Fi SoC from Espressif Systems, and hardware which was based on the ESP-12 module. Later, support for the bit MCU was added…. The term NodeMCU stands for Node Microcontroller unit hardware and software environment. NodeMCU is also called as is on board system on chip(SOC) called ESP-8266.The ESP8266 is a low Fi microchip with full TCP/IP stack and microcontroller capability The ESP8266 is the name of a micro controller designed by Espressif Systems. The ESP8266 itself is a self-contained WiFi networking solution offering as a bridge from existing micro controller to WiFi and is also capable of run contained applications. This module comes with a built in USB connector and a rich assortment of pin outs. With a micro USB cable, you can connect NodeMCU devkit to your laptop and flash it without any trouble, just like Arduino. It is also immed breadboard friendly. HOME AUTOMATION USING NODEMCU & BLYNK of E&TC Page | 13 cost open source IoT platform. It initially included Fi SoC from Espressif Systems, and Later, support for the stands for Node Microcontroller unit It has open source is also called as Devkit 1.0. The ESP8266 is a low- microcontroller capability. The ESP8266 is the name of a micro controller designed by Espressif Systems. contained WiFi networking solution offering as a bridge from existing micro controller to WiFi and is also capable of running This module comes with a built in USB connector and a rich assortment of pin- outs. With a micro USB cable, you can connect NodeMCU devkit to your laptop and flash it without any trouble, just like Arduino. It is also immediately
  • 31. HOME AUTOMATION USING NODEMCU & BLYNK JSPM’s Bhivrabai Sawant Polytechnic, Wagholi. Dept.of E&TC Page | 14 9.2. FEATURES OF NODEMCU Developer ESP8266 Open-source Community Type Single-board microcontroller Introductory price 300-400 Rs Operating system XTOS CPU ESP8266 Memory 128kBytes Storage 4MBytes Power USB Website www.nodemcu.com 9.3. SPECIFICATIONS  Voltage:3.3V.  Wi-Fi Direct (P2P), soft-AP.  Current consumption: 10uA~170mA.  Flash memory attachable: 16MB max (512K normal).  Integrated TCP/IP protocol stack.  Processor: Tensilica L106 32-bit.  Processor speed: 80~160MHz. • RAM: 32K + 80K.  GPIOs: 16 (multiplexed with other functions).  Analog to Digital: 1 input with 1024 step resolution.  +19.5dBm output power in 802.11b mode • 802.11 support: b/g/n.  Maximum concurrent TCP connections: 5.
  • 32. HOME AUTOMATION USING NODEMCU & BLYNK JSPM’s Bhivrabai Sawant Polytechnic, Wagholi. 9.4. PIN DIAGRAM/ PIN LOYOUT OF NodeMCU 9.5. NodeMCU GPIO pin for Lua HOME AUTOMATION USING NODEMCU & BLYNK bai Sawant Polytechnic, Wagholi. Dept.of E&TC PIN DIAGRAM/ PIN LOYOUT OF NodeMCU NodeMCU GPIO pin for Lua HOME AUTOMATION USING NODEMCU & BLYNK of E&TC Page | 15
  • 33. Chapter No : 10 RELAY MODULE
  • 34. HOME AUTOMATION USING NODEMCU & BLYNK JSPM’s Bhivrabai Sawant Polytechnic, Wagholi. 10.1. RELAY MODULE (5V). 10.2. INTRODUCTION This is a 5V 4-channel relay interface board, and each channel needs a 15 driver current. It can be used to control various appliances and equipment with large current. It is equipped DC30V 10A. It has a standard interface that can be controlled directly by microcontroller. 10.3. PRINCIPLE From the picture below, you can see that when the signal port is at low level, the signal light will light up and the opto light and can isolate input and output electrical signals) will conduct, and transistor will conduct, the relay coil will be electrified, and the normally open contact of the relay will be closed. When the signal port is at high level, the normally closed contact of the relay will be closed. So you can connect and disconne controlling the level of the control signal port. HOME AUTOMATION USING NODEMCU & BLYNK bai Sawant Polytechnic, Wagholi. Dept.of E&TC RELAY MODULE (5V). .2. INTRODUCTION channel relay interface board, and each channel needs a 15 nt. It can be used to control various appliances and equipment with large equipped with high-current relays that work under AC250V 10A or DC30V 10A. It has a standard interface that can be controlled directly by From the picture below, you can see that when the signal port is at low level, the signal light will light up and the opto-coupler Relay (it transforms electrical signals by light and can isolate input and output electrical signals) will conduct, and transistor will conduct, the relay coil will be electrified, and the normally open contact of the relay will be closed. When the signal port is at high level, the normally closed contact of the relay will be closed. So you can connect and disconne controlling the level of the control signal port. Fig. RELAY MODULE 5V HOME AUTOMATION USING NODEMCU & BLYNK of E&TC Page | 16 channel relay interface board, and each channel needs a 15-20mA nt. It can be used to control various appliances and equipment with large current relays that work under AC250V 10A or DC30V 10A. It has a standard interface that can be controlled directly by From the picture below, you can see that when the signal port is at low level, the (it transforms electrical signals by light and can isolate input and output electrical signals) will conduct, and then the transistor will conduct, the relay coil will be electrified, and the normally open contact of the relay will be closed. When the signal port is at high level, the normally closed contact of the relay will be closed. So you can connect and disconnect the load by RELAY MODULE 5V
  • 35. HOME AUTOMATION USING NODEMCU & BLYNK JSPM’s Bhivrabai Sawant Polytechnic, Wagholi. Dept.of E&TC Page | 17 10.4. PIN DESCRIPTION 1) Input: 0-5 V 2) VCC: Positive supply voltage 3) GND: Ground 4) IN1--IN4: Relay control port 5) Output: supports various types of loads 6) Connect a load, DC 30V/10A,AC 250V/10A 10.5. FEATURES 1. Size: 75mm (Length) * 55mm (Width) * 19.3mm (Height) 2. Weight: 61g 3. PCB Color: Blue 4. There are four fixed screw holes at each corner of the board, easy for install and fix. The diameter of the hole is 3.1mm 5. High quality Single relay is used with single pole double throw, a common terminal, a normally open terminal, and a normally closed terminal 6. Optical coupling isolation, good anti-interference. 7. Closed at low level with indicator on, released at high level with indicator off 8. VCC is system power source, and JD_VCC is relay power source. Ship 5V relay by default. Plug jumper cap to use 9. The maximum output of the relay: DC 30V/10A, AC 250V/10A
  • 36. Chapter No : 11 ESP-8266
  • 37. HOME AUTOMATION USING NODEMCU & BLYNK JSPM’s Bhivrabai Sawant Polytechnic, Wagholi. 11.1. ESP 8266 MODULE 11.2. INTRODUCTION The chip first came to the attention of Western makers in August 2014 with the ESP 01 module, made by a third This small module allows microcontrollers to connect to a Wi simple TCP/IP connections using H However, at first there was almost no English the commands it accepted. The very low price and the fact that there were very few external components on the module, which suggested that it could e attracted many hackers to explore the module, chip, and the software on it, as well as to translate the Chinese documentation. The ESP8285 is an ESP8266 with 1 MiB of built devices capable of connecting to Wi HOME AUTOMATION USING NODEMCU & BLYNK JSPM’s Bhivrabai Sawant Polytechnic, Wagholi. Dept.of E&TC MODULE .2. INTRODUCTION The chip first came to the attention of Western makers in August 2014 with the ESP 01 module, made by a third-party manufacturer Ai-Thinker. This small module allows microcontrollers to connect to a Wi-Fi network and make simple TCP/IP connections using Hayes-style commands. However, at first there was almost no English-language documentation on the chip the commands it accepted. The very low price and the fact that there were very few external components on the module, which suggested that it could eventually be very inexpensive in volume, attracted many hackers to explore the module, chip, and the software on it, as well as to translate the Chinese documentation. The ESP8285 is an ESP8266 with 1 MiB of built-in flash, allowing for single capable of connecting to Wi-Fi. Fig. Esp- HOME AUTOMATION USING NODEMCU & BLYNK of E&TC Page | 18 The chip first came to the attention of Western makers in August 2014 with the ESP- Fi network and make language documentation on the chip and The very low price and the fact that there were very few external components on the ventually be very inexpensive in volume, attracted many hackers to explore the module, chip, and the software on it, as well as in flash, allowing for single-chip - 8266.
  • 38. HOME AUTOMATION USING NODEMCU & BLYNK JSPM’s Bhivrabai Sawant Polytechnic, Wagholi. 11.3. PIN LAYOUT 11.4. SPECIFICATION 1. Low cost, compact and powerful Wi 2. Power Supply: +3.3V only 3. Current Consumption: 100mA 4. I/O Voltage: 3.6V (max) 5. I/O source current: 12mA (max) 6. Built-in low power 32 7. 512kB Flash Memory 8. Can be used as Station or Access Point or both combined 9. Supports Deep sleep (<10uA) 10. Supports serial communication hence compatible with many development platform like NodeMCU HOME AUTOMATION USING NODEMCU & BLYNK JSPM’s Bhivrabai Sawant Polytechnic, Wagholi. Dept.of E&TC . SPECIFICATION Low cost, compact and powerful Wi-Fi Module Power Supply: +3.3V only Current Consumption: 100mA 3.6V (max) I/O source current: 12mA (max) in low power 32-bit MCU @ 80MHz 512kB Flash Memory Can be used as Station or Access Point or both combined Supports Deep sleep (<10uA) Supports serial communication hence compatible with many development NodeMCU HOME AUTOMATION USING NODEMCU & BLYNK of E&TC Page | 19 Supports serial communication hence compatible with many development
  • 39. HOME AUTOMATION USING NODEMCU & BLYNK JSPM’s Bhivrabai Sawant Polytechnic, Wagholi. Dept.of E&TC Page | 20 11.5. PIN CONFIGURATIONS
  • 40. Chapter No : 12 POWER SUPPLY
  • 41. HOME AUTOMATION USING NODEMCU & BLYNK JSPM’s Bhivrabai Sawant Polytechnic, Wagholi. 12.1. BLOCK DIA 12.2. INTRODUCTION Today almost every electronic device needs a DC supply for its smooth operation and they need to be operated within certain power supply limits. This required DC voltage or DC supply is derived from single phase ac mains. A regulated power supply can convert unregulated an AC (alternating current or voltage) to a constant DC (direct current or voltage). to ensure that the output remains constant even if the input changes. A regulated DC power supply is also called as a linear power supply, it is an embedded circuit and consists of various blocks. The regulated power supply will accept an AC input and give a constant DC output. So we have Powered the Kit/ set voltage we have used the micro Adaptor. HOME AUTOMATION USING NODEMCU & BLYNK JSPM’s Bhivrabai Sawant Polytechnic, Wagholi. Dept.of E&TC BLOCK DIAGRAM OF POWER SUPPLY .2. INTRODUCTION Today almost every electronic device needs a DC supply for its smooth operation and operated within certain power supply limits. This required DC voltage or DC supply is derived from single phase ac mains. A regulated power supply can convert unregulated an AC (alternating current or voltage) to a constant DC (direct current or voltage). A regulated power supply is used to ensure that the output remains constant even if the input changes. A regulated DC power supply is also called as a linear power supply, it is an embedded circuit and consists of various blocks. The regulated power supply will accept an AC input and give a constant DC output. So we have Powered the Kit/ set-up with the Adaptor Which gives exact 5V output voltage we have used the micro-type USB cables for connection of Controller with HOME AUTOMATION USING NODEMCU & BLYNK of E&TC Page | 21 Today almost every electronic device needs a DC supply for its smooth operation and operated within certain power supply limits. This required DC voltage A regulated power supply can convert unregulated an AC (alternating current or A regulated power supply is used to ensure that the output remains constant even if the input changes. A regulated DC power supply is also called as a linear power supply, it is an embedded circuit and The regulated power supply will accept an AC input and give a constant DC output. up with the Adaptor Which gives exact 5V output type USB cables for connection of Controller with
  • 42. HOME AUTOMATION USING NODEMCU & BLYNK JSPM’s Bhivrabai Sawant Polytechnic, Wagholi. Dept.of E&TC Page | 22 12.3. DESCRIPTION The basic building blocks of a regulated DC power supply are as follows: 1. A step down transformer 2. A rectifier 3. A DC filter 4. A regulator Step Down Transformer A step down transformer will step down the voltage from the ac mains to the required voltage level. The turn’s ratio of the transformer is so adjusted such as to obtain the required voltage value. The output of the transformer is given as an input to the rectifier circuit. Rectification Rectifier is an electronic circuit consisting of diodes which carries out the rectification process. Rectification is the process of converting an alternating voltage or current into corresponding direct (DC) quantity. The input to a rectifier is ac whereas its output is unidirectional pulsating DC. Usually a full wave rectifier or a bridge rectifier is used to rectify both the half cycles of the ac supply (full wave rectification). Figure below shows a full wave bridge rectifier.' DC Filtration The rectified voltage from the rectifier is a pulsating DC voltage having very high ripple content. But this is not we want, we want a pure ripple free DC Regulation This is the last block in a regulated DC power supply. The output voltage or current will change or fluctuate when there is change in the input from ac mains or due to change in load current at the output of the regulated power supply or due to other factors like temperature changes. This problem can be eliminated by using a regulator. A regulator will maintain the output constant even when changes at the input or any other changes occur. Transistor series regulator, Fixed and variable IC regulators or a zener diode operated in the zener region can be used depending on their applications. IC’s like 78XX and 79XX are used to obtained fixed values of voltages at the output. waveform. Hence a filter is used. Different types of filters are used such as capacitor filter, LC filter, Choke input filter, π type filter.
  • 43. Chapter No : 13 FLOW CHART
  • 44. HOME AUTOMATION USING NODEMCU & BLYNK JSPM’s Bhivrabai Sawant Polytechnic, Wagholi. 13.1. FLOW CHART FOR PROGRAMMING HOME AUTOMATION USING NODEMCU & BLYNK bai Sawant Polytechnic, Wagholi. Dept.of E&TC FLOW CHART FOR PROGRAMMING Fig. Flow Chart Of Programming HOME AUTOMATION USING NODEMCU & BLYNK of E&TC Page | 23 Fig. Flow Chart Of Programming
  • 45. Chapter No : 14 ADVANTAGES
  • 46. HOME AUTOMATION USING NODEMCU & BLYNK JSPM’s Bhivrabai Sawant Polytechnic, Wagholi. Dept.of E&TC Page | 24 14.1. ADVANTAGES 1. Savings: Smart thermostats and smart light bulbs save energy, cutting utility costs over time. Some home automation technologies monitor water usage, too, helping to prevent exorbitant wate r bills. Certain devices even offer rebates. 2. Convenience: Because home automation technology performs rote tasks automatically, end users experience great convenience. Lots of smart gadgets are compatible with one another, and you can set different triggers between devices to automate regular home processes. For instance, you could set your smart locks to turn on your smart lighting when you unlock the front door. . 3. Control: Consumers also choose smart home devices to better control functions within the home. With home automation technology, you can know what’s happening inside your home at all times. 4. Comfort: Some people use smart technology to record shows or to play music throughout the home. Connected devices can also help create a comfortable atmosphere—they provide intelligent and adaptive lighting, sound, and temperature, which can all help create an inviting environment. 5. Peace of Mind: Finally, many consumers invest in home automation technology for peace of mind. A new mom or dad can check on their little one thanks to smart cameras and other technologies. Or, if you can’t remember whether you closed the garage after you left, you can verify remotely with an app.
  • 47. Chapter No : 15 APPLICATIONS
  • 48. HOME AUTOMATION USING NODEMCU & BLYNK JSPM’s Bhivrabai Sawant Polytechnic, Wagholi. Dept.of E&TC Page | 25 15.1. APPLICATIONS 1. Heating, ventilation and air conditioning (HVAC): it is possible to have remote control of all home energy monitors over the internet incorporating a simple and friendly user interface. 2. Lighting control system: A "smart" network that incorporates communication between various lighting system inputs and outputs, using one or more central computing devices. 3. Occupancy-aware control system: It is possible to sense the occupancy of the home using smart meters[14] and environmental sensors like CO2 sensors,[15] which can be integrated into the building automation system to trigger automatic responses for energy efficiency and building comfort applications. 4. Appliance control and integration; With the smart grid and a smart meter, taking advantage, for instance, of high solar panel output in the middle of the day to run washing machines. 5. Home robots and security: A household security system integrated with a home automation system can provide additional services such as remote surveillance of security cameras over the Internet, or access control and central locking of all perimeter doors and windows. 6. Leak detection. smoke and CO detectors. 7. Home automation for the elderly and disabled. 8. Smart Kitchen and Connected Cooking. Using Voice control devices like Amazon Alexa or Google Home to kitchen appliances.
  • 49. Chapter No : 16 REFERENCES
  • 50. HOME AUTOMATION USING NODEMCU & BLYNK JSPM’s Bhivrabai Sawant Polytechnic, Wagholi. Dept.of E&TC Page | 26 16.1. REFERENCES 1) https://www.elprocus.com/home-automation-projects-engineering-students/ 2) https://openhomeautomation.net/ 3) https://publications.waset.org/5037/pdf 4) https://www.academia.edu/11182817/WIFI_BASED_WIRELESS_ADVA NCED_HOME_AUTOMATION_SYSTEM 5) https://circuitdigest.com/microcontroller-projects/diy-smart-plug-using- esp8266 6) https://circuitdigest.com/home-automation-projects 7) https://www.makeuseof.com/tag/getting-started-blynk-simple-diy-iot- devices/ 8) https://www.blynkcommunity.in 9) https://www.gits.in 10) https://www.iftt.in 11) https://www.arduino.in
  • 51. Chapter No : 17 CONCLUSION
  • 52. HOME AUTOMATION USING NODEMCU & BLYNK JSPM’s Bhivrabai Sawant Polytechnic, Wagholi. Dept.of E&TC Page | 27 17.1. 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 completes 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.
  • 53. Chapter No : 18 FUTURE SCOPE
  • 54. HOME AUTOMATION USING NODEMCU & BLYNK JSPM’s Bhivrabai Sawant Polytechnic, Wagholi. Dept.of E&TC Page | 28 18.1. FUTURE SCOPE 1) The going with stage for home robotization advertise will happen subject to a couple of key overhauls in the progression open in Automation, for example, improvement in Wireless Automation blueprints and moreover bringing down of regard appears as the market starts perceive Home mechanization use in more noteworthy volumes. A couple of examples that we foresee for this time of the business are, 2) Big associations like Philips, Siemens and Schneider will as time goes on bring out truly mass market mechanization things with interfacing with UI in any case at lower esteem point as contrast with today, and more people will be able to bear the cost of the things. 3) Solution commitments will bit by bit move to an all the more straightforward structure, where next to two or three key parts, customers will have the ability to buy and use the Automation things themselves without the guide of any specific ace . 4) Future Scope for the home automation system involves making homes even smarter. Homes can be interfaced with the sensors including the motion sensors, light sensors and temperature sensors and thus this may provide the automatic toggling of the devices according to the conditions. 5) More energy can be conserved by ensuring occupation of the house before turning on devices and checking the brightness and turning off the light if not necessary. 6) The system can be integrated closely with the home security solutions enhancing the safety for home owners.
  • 55. Chapter No : 19 COST OF COMPONENTS
  • 56. HOME AUTOMATION USING NODEMCU & BLYNK JSPM’s Bhivrabai Sawant Polytechnic, Wagholi. Dept.of E&TC Page | 29 19.1. COST OF COMPONENTS Sr. No. Component Price 1) NodeMCU Esp-8266 370 2) Relay Module 450 3) Jumper Wires/ Connection Wires 80 4) Switch Board Box 150 5) Sockets 3-phase (1x4) 160 6) Switch 20 7) LEDS’s 30 8) Motor 5v 30 9) Light Bulb (1x3) 50 10) Charger 150 11) USB Cables 100 12) Home Set-up 300 13) Paper Publishing 800 Total ₹ 2690+
  • 57. Chapter No : 20 APPENDIX A
  • 58. HOME AUTOMATION USING NODEMCU & BLYNK JSPM’s Bhivrabai Sawant Polytechnic, Wagholi. Dept.of E&TC Page | 30 20.1 APPENDIX A (FOR NodeMCU Esp-8266 /************************************************************* Download latest Blynk library here: https://github.com/blynkkk/blynk-library/releases/latest Blynk is a platform with iOS and Android apps to control Arduino, Raspberry Pi and the likes over the Internet. You can easily build graphic interfaces for all your projects by simply dragging and dropping widgets. Downloads, docs, tutorials: http://www.blynk.cc Sketch generator: http://examples.blynk.cc Blynk community: http://community.blynk.cc Follow us: http://www.fb.com/blynkapp http://twitter.com/blynk_app Blynk library is licensed under MIT license This code is in public domain. ************************************************************* This Code runs directly on NodeMCU. Note: This requires ESP8266 support package: https://github.com/esp8266/Arduino
  • 59. HOME AUTOMATION USING NODEMCU & BLYNK JSPM’s Bhivrabai Sawant Polytechnic, Wagholi. Dept.of E&TC Page | 31 Please be sure to select the right NodeMCU module in the Tools -> Board menu! For advanced settings please follow ESP examples : - ESP8266_Standalone_Manual_IP.ino - ESP8266_Standalone_SmartConfig.ino - ESP8266_Standalone_SSL.ino Change WiFi ssid, pass, and Blynk auth token to run :) Feel free to apply it to any other example. It's simple! *************************************************************/ /* Comment this out to disable prints and save space */ MAIN PROGRAMME #define BLYNK_PRINT Serial #include <ESP8266WiFi.h> #include <BlynkSimpleEsp8266.h> // You should get Auth Token in the Blynk App. // Go to the Project Settings (nut icon). char auth[] = "AuthToken"; // Your WiFi credentials.
  • 60. HOME AUTOMATION USING NODEMCU & BLYNK JSPM’s Bhivrabai Sawant Polytechnic, Wagholi. Dept.of E&TC Page | 32 // Set password to "" for open networks. char ssid[] = "Network name"; char pass[] = "Password"; void setup() { // Debug console Serial.begin(9600); Blynk.begin(auth, ssid, pass); // You can also specify server: //Blynk.begin(auth, ssid, pass, "blynk-cloud.com", 80); //Blynk.begin(auth, ssid, pass, IPAddress(192,168,1,100), 8080); } void loop() { Blynk.run(); }