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

Node Mcu Notes

the paper covers details of node mcu and it is very useful for engineering students those are interest in doing some experiments

Uploaded by

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

Node Mcu Notes

the paper covers details of node mcu and it is very useful for engineering students those are interest in doing some experiments

Uploaded by

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

ISSN XXXX XXXX © 2018 IJESC

Research Article Volume 8 Issue No.5

IoT Based Home Automation using NODE MCU


Mohammad miraj shekh1, Asha S. R2, Hariprakash3, Harshitha4
B.E Student1, 2, 3, 4
Department of Electrical & Electronic Engineering
Cambridge Institute of Technology, Bangalore, India

Abstract:
This paper presents a low cost and flexible home control and environmental monitoring system. It employs an embedded micro – web
server in NODE MCU microcontroller, with IP connectivity for accessing and controlling devices and appliances remotely. These
devices can be controlled through a web application or via Bluetooth Android based Smart phone app. The proposed system does not
require a dedicated server PC with respect to similar systems and offers a novel communication protocol to monitor and control the
home environment with more than just the switching functionality. To demonstrate the feasibility and effectiveness of this system,
devices such as light switches, power plug, temperature sensor, gas sensor and motion sensors have been integrated with the proposed
home control system. Therefore this system has been successfully designed and implemented in real time.

Keywords: IOT, Wi-Fi, Relay.

I. INTRODUCTION technology. RTC with EEPROM can record all the working
parameters in the devices or appliances. Basically the project is a
Internet of Things is a concept where each device is assign to an concept to bring automation in the industry or home. All the
IP address and through that IP address anyone makes that device home appliances will be controlled by mobile app. The
identifiable on internet. Basically it started as the “Internet of appliances in the industry or home will be interfaced with
Computers.” Research studies have forecast an explosive growth centralized micro controller NODE MCU for the systematic
in the number of “things” or devices that will be connected to the working. The inbuilt RTC and EEPROM present in the controller
Internet. The resulting network is called the “Internet of Things” will be activated for the operation. The controller also interfaced
(IoT) [1]. The recent developments in technology which permit with WIFI to receive the control commands from Wi-Fi shield
the use of Bluetooth and Wi-Fi have enabled different devices to (Wi-Fi hotspot). The operator will be provided with Mobile app
have capabilities of connecting with each other. Using a WIFI having Wi-Fi in that. If operator wants to switch theLight to turn
shield to act as a Micro web server for the Arduino which on or off he needs to switch control button provided in app.
eliminates the need for wired connections between the Arduino Once he switched the Wi-Fi will send the data to Wi-Fi present
board and computer which reduces cost and enables it to work as at microcontroller. As and when the request is received the
a standalone device. The Wi-Fi shield needs connection to the microcontroller activates the RTC and EEPROM and as per
internet from a wireless router or wireless hotspot and this would request received the operation will be done. In the same way all
act as the gateway for the Arduino to communicate with the other appliances can be controlled.
internet. With this in mind, an internet based home automation
system for remote control of home appliances is designed.

Figure.1. Smart Home Figure.2. Block diagram

II. METHODOLOGY III. HARDWARE SPECIFICATION

Real Time clock based home automation in an advance project to The components used are,
control the devices in timely and systematic manner. The devices  NODEMCU esp8266
can be controlled wirelessly from other places using wireless  RELAY

International Journal of Engineering Science and Computing, May 2018 17703 http://ijesc.org/
 LED
 NODEMCU (esp8266) has been selected as the
controller for this system due to its compact size, compatibility,
easy interfacing over several other type of controller including
Programmable Integrated Circuit (PIC), Programmable Logic
Controller (PLC) and others. ESP8266 is an open
source firmware that is built on top of the chip manufacturer's
proprietary SDK. The firmware provides a simple programming
environment, which is a very simple and fast scripting language Figure.5. Diagram of Relay
The ESP8266 chip incorporates on a standard circuit board. The
board has a built-in USB port that is already wired up with the IV. WIFI MODULE
chip, a hardware reset button, Wi-Fi antenna, LED lights, and
standard-sized GPIO (General Purpose Input Output) pins that Expressive Systems Smart Connectivity Platform (ESCP) of high
can plug into a bread board..Figure-3 shows the diagram of performance wireless SOCs, for mobile platform designers,
NODEMCU (ESP8266).It has Processor called L106 provides unsurpassed ability to embed Wi-Fi capabilities within
32bit RISC microprocessor core based on the Tensilica Xtensa other systems, at the lowest cost with the greatest functionality.
Diamond Standard 106Micro running at 80 MHz and has a
memory of 32 Kbit instruction RAM ,32 Kbit instruction cache V. SOFTWARE DEVELOPMENT
RAM, 80 Kbit user data RAM&16 KbitETS system data RAM. Arduino software has been used as the interface between
It has inbuilt Wi-Fi module of IEEE 802.11 b/g/n Wi-Fi. software and hardware of this project. Microcontroller needs a
program to operate and execute the process associated with
proposed design. It is easy to verify and compile after writing the
code. The complete flowchart which gives the whole operation
of system is shown in figure-6. The complete flowchart which
indicates the whole operation of the system and controlled by a
mobile app. The focus of this project is to bring automation in
home or industries Firstly, the Wi-Fi shield (Wi-Fi hotspot)
connect to the existing network infrastructure& it initializing
blynk server which is of open source server ,TheWi-Fi module
Figure.3. Diagram of NodeMCU (esp8266) send single to app that provide for the client(operator) indicating
system is in online or offline then it check the input-output pins
 A light emitting diode(LED) is a semiconductor device that i.e.switch-1,2,3,4,5,6,7,&8.If the client (operator) switches any
emits visible light when an electirc current passes through of the switch the data will be received by blynk server and give
it.Figure-4 shows the diagram of LED. status return to the user by display it on lcd provided in app.
Lastly, this process is in continues operation the system will loop
to the initial condition.

Figure.4. Diagram of LED


 Relay is nothing but it is the electromagnetic switch. Relay
allows one circuit to switch another circuit while they are
separated. Relay is used when we want to use a low voltage
circuit to turn ON and OFF the device which required high
voltage for its operation. For example, 5V supply connected to
the relay is sufficient to drive the bulb operated on 230V AC
mains. Relays are available in various configurations of
operating voltages like 6V, 9V, 12V, 24V and so on. Relay is
divided into two parts, one is input and other is output. Input side
is nothing but a coil which generate magnetic field when small
input voltage is given to it. Relay having three contactors:
Normally closed (NC), Normally opened (NO) and common
(COM). By using the proper combinations of the contactors
electrical appliances may turn ON or OFF. [2]
Figure.6. Flow chart

International Journal of Engineering Science and Computing, May 2018 17704 http://ijesc.org/
VI. RESULT AND DISCUSION R.RuhinKouser4 Student1, 2, 3, Assistant Professor4
Department of CSE Kingston Engineering College, Katpadi,
TURN ON HOME APPLIENCES Vellore, India

[2].International Journal of Innovative Studies in Sciences and


Engineering Technology (IJISSET)IoT Based Home Automation
Using Raspberry PI ISSN 2455-4863 (Online) www.ijisset.org
Volume: 3 Issue: 4 | April 2017

[3] Mark Murphy (2011): Beginning Android 3, Après. ISBN-13


Figure.7. Mobile app to turn on home appliances (pbk): 978-1-4302-3297-1 ISBN-13 (electronic): 978-1-4302-
3298-8

[4] Addison-Wesley (2011): Android Wireless Application


Development, 2nd edition ISBN-13: 978-0-321-74301-5 ISBN-
10: 0-321-74301-6

[5] Wikipedia(2009). HomeAutomation. From http://en. Wikip


edia. org/wiki/Home_automation. Retrievedon 20/5/2018
Figure.8. Output for above figure-7
[6]Martin Bates(2006). Interfacing PIC Microcontrollers
TURN OFF HOME APPLIENCES Embedded Designby Interactive Simulation. Newnes, London.

[7] S. Alam, M. M. R. Chowdhury, and J. Noll, “Senaas: An


event-driven sensor virtualization approach for internet of things
cloud,” in Networked Embedded Systems for Enterprise
Applications (NESEA), 2010 IEEE International Conference on,
November 2010.

[8] Z. Schelby, K. Hartke, and C. Bormann, (Aug. 28, 2013)


„„Constrained application protocol (CoAP),‟‟ CoRE Working
Group Internet-Draft. [Online].
Figure.9. Mobile app to turn off home appliances

Figure.10. Output for above figure-9

VII. CONCLUSION

It is evident from this project work that an individual control


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

VIII. REFERENCES

[1].D. Norris, Smart Home Automation Based on IOT and


Android Technology M.Abivandhana1, K.Divya2, D.Gayathri3,

International Journal of Engineering Science and Computing, May 2018 17705 http://ijesc.org/

You might also like