Node Mcu Notes
Node Mcu Notes
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.
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.
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.
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
VII. CONCLUSION
VIII. REFERENCES
International Journal of Engineering Science and Computing, May 2018 17705 http://ijesc.org/