Professional Documents
Culture Documents
A
PROJECT REPORT
ON
Home Automation
“Using NodeMCU & Blynk’’
Blynk
Under Guidance
Of
Prof. – V.B.Takale
Submitted
By
DEPARTMENT OF
ELECTRONICS & TELECOMMUNICATION ENGINEERING
Academic Year
2019-2020
Maharashtra State Board of Technical Education
Mumbai -51
Certificate
Title Name Enrollment Number.
EXTERNAL EXAMINER
H.O.D PRINCIPAL
VISION
MISSION
Mission of Institute
M3- To equip students with technical skills, ethical and moral values to
meet aspirations of the society and Industry, thereby to contribute
sustainable development of the Nation.
JAYAWANT SHIKSHAN PRASARAK MANDAL’s
PO 3. Experiments and practice: An ability to Plan and perform experiments and practices
and to use the results to solve engineering problems.
PO 4. Engineering
ineering tools: Apply appropriate technologies and tools with an understanding
of the limitations.
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 7. Ethics: 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 member
or leader in diverse/ multidisciplinary teams.
PO 10. Life-long
long learning: Recognize the need for, and have the preparation and ability to
Engage in independent and life
life-long learning in the context of technological changes
JAYAWANT SHIKSHAN PRASARAK MANDAL’s
PEO 4: To develop & enhance ability to solve, analyze engineering problems &
provide real time solutions.
PSO2: To design and analyze functional elements of different wired and wireless
communication systems.
11.
ESP-8266
INTRODUCTION
18-20
PIN DIAGRAM
PIN CONFIGURATION
SPECIFICATION
12. POWER SUPPLY
INTRODUCTION 21-22
DESCRIPTION
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
Chapter No : 1
ABSTRACT
HOME AUTOMATION USING NODEMCU & BLYNK
ABSTRACT
INTRODUCTION
HOME AUTOMATION USING NODEMCU & BLYNK
INTRODUCTION
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.
LITERATURE SURVEY
HOME AUTOMATION USING NODEMCU & BLYNK
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.
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.
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.
PROBLEM DEFINITION
HOME AUTOMATION USING NODEMCU & BLYNK
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….
METHODOLOGY
HOME AUTOMATION USING NODEMCU & BLYNK
5.1. METHODOLOGY
CONTROL TYPE
MANUAL CONTROL.
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
BLOCK DIAGRAM
HOME AUTOMATION USING NODEMCU & BLYNK
1.1. DESCRIPTION
SMART PHONE
Used for controlling Purpose, for giving command and gain output, for this blynk
Android app is required.
required
NodeMCU Esp-8266
8266 (Wi-Fi Enable Microcontroller).
To take input and perform operation. As per programme fed in the Microcontroller and
obtain output as per user requirements.
RELAY DRIVER
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
WORKING DIAGRAM
HOME AUTOMATION USING NODEMCU & BLYNK
PROCESS OF OPERATION
1) Android Device –
2) NodeMCU Processing –
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…………….
CIRCUIT DIAGRAM
HOME AUTOMATION USING NODEMCU & BLYNK
NodeMCU Esp-8266
8266 (Wi-Fi Enable Microcontroller).
Controller Unit. It takes input from user from internet, then process
It is Node Micro-Controller
the data and perform operation. As per programme fed in the Microcontroller and
obtain output as per user requirements.
RELAY DRIVER
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.
and drive various appliances and load e.g. Lamp, Fan ,Tube light ,T.V,
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
NODEMCU
ESP-8266 12-E
HOME AUTOMATION USING NODEMCU & BLYNK
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.
RELAY MODULE
HOME AUTOMATION USING NODEMCU & BLYNK
10.2.
.2. INTRODUCTION
channel relay interface board, and each channel needs a 15
This is a 5V 4-channel 15-20mA
nt. It can be used to control various appliances and equipment with large
driver current.
current relays that work under AC250V 10A or
current. It is equipped with high-current
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-coupler
opto Relay (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 disconnedisconnect the load by
controlling the level of the control signal port.
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
ESP-8266
HOME AUTOMATION USING NODEMCU & BLYNK
11.2.
.2. INTRODUCTION
The chip first came to the attention of Western makers in August 2014 with the ESP-
ESP
01 module, made by a third
third-party manufacturer Ai-Thinker.
The very low price and the fact that there were very few external components on the
eventually be very inexpensive in volume,
module, which suggested that it could eventually
attracted many hackers to explore the module, chip, and the software on it, as well as
to translate the Chinese documentation.
of E&TC
JSPM’s Bhivrabai Sawant Polytechnic, Wagholi. Dept.of Page | 18
HOME AUTOMATION USING NODEMCU & BLYNK
11.4.. SPECIFICATION
of E&TC
JSPM’s Bhivrabai Sawant Polytechnic, Wagholi. Dept.of Page | 19
HOME AUTOMATION USING NODEMCU & BLYNK
POWER SUPPLY
HOME AUTOMATION USING NODEMCU & BLYNK
12.2.
.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.
The regulated power supply will accept an AC input and give a constant DC output.
of E&TC
JSPM’s Bhivrabai Sawant Polytechnic, Wagholi. Dept.of Page | 21
HOME AUTOMATION USING NODEMCU & BLYNK
12.3. DESCRIPTION
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.
FLOW CHART
HOME AUTOMATION USING NODEMCU & BLYNK
ADVANTAGES
HOME AUTOMATION USING NODEMCU & BLYNK
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.
APPLICATIONS
HOME AUTOMATION USING NODEMCU & BLYNK
15.1. APPLICATIONS
6. Leak detection.
smoke and CO detectors.
REFERENCES
HOME AUTOMATION USING NODEMCU & BLYNK
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
CONCLUSION
HOME AUTOMATION USING NODEMCU & BLYNK
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.
FUTURE SCOPE
HOME AUTOMATION USING NODEMCU & BLYNK
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.
COST OF COMPONENTS
HOME AUTOMATION USING NODEMCU & BLYNK
6) Switch 20
7) LEDS’s 30
8) Motor 5v 30
Total ₹ 2690+
APPENDIX A
HOME AUTOMATION USING NODEMCU & BLYNK
/*************************************************************
https://github.com/blynkkk/blynk-library/releases/latest
http://twitter.com/blynk_app
*************************************************************
https://github.com/esp8266/Arduino
- ESP8266_Standalone_Manual_IP.ino
- ESP8266_Standalone_SmartConfig.ino
- ESP8266_Standalone_SSL.ino
*************************************************************/
MAIN PROGRAMME
#include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266.h>
void setup()
// Debug console
Serial.begin(9600);
void loop()
Blynk.run();