Power Consumption Using NodeMCU Controller Suresh.S Department of Computer Science and Engineering SRM Institute of Science and Technology, Ramapuram, Chennai, Tamilnadu, India B.S.SanjayKuumar Department of Computer Science and Engineering SRM Institute of Science and Technology, Ramapuram, Chennai, Tamilnadu, India R.Pritika Department of Computer Science and Engineering SRM Institute of Science and Technology, Ramapuram, Chennai, Tamilnadu, India Vinetha .J Department of Computer Science and Engineering SRM Institute of Science and Technology, Ramapuram, Chennai, Tamilnadu, India ABSTRACT Introduction of the node MCU controller for power consumption in our homes provides us a way to consume energy and electricity in the most efficient way possible. There are many advantages for the node MCU controller and this helps to reduce the electricity bill. Here we use the main components like the voltmeter, current meter and the relay to achieve what we want. We also use IOT to make things much more easier for us. Here each load, that is each electrical appliances are monitored by the current and voltage meter and it is also stabilised using the relay. All devices is rechanging by controllable devices to make things easier for us. KeywordsInternet of Things (IoT), NodeMCU (Node MicroController Unit), Integrated Circuit (IC), System on Chip (SoC),Power Management Unit (PMU), Voltage Transformer, Current Transformer. I.INTRODUCTION The progress of automation technology leads to a simple and uncomplicated life .The manual systems are now less in use and are getting replacement by automation technology which is also feasible.Smart home is a typical application scenario of Internet of Things (IoT) technology.Automation technology is adaptable and user friendly interface which allows for easy control of electrical appliances by means of internet. The NodeMCU interfaced with internet to get user comments. Researches anticipate that the potential of standing energy is not enough for the future need without new energy source.To avoid this a system can be created tu use power effectively.The term power consumption in electrical engineering refer electrical energy per unit time. The national el Power consumption monitoring system measures the usage of power of each of the loads individually. This system is designed around NodeMCU micro-controller board. If the user consumes more energy beyond the limit they will get notified and fine will be added If still consumption is not reduced . It also used to detect the malfunctioning device used in households that consumes unusual amount of energy. II .PROPOSED SYSTEM Power consumption is very important for us . Here we have achieved to conserve power with the help of the Node MCUcontroller. Here each load is connected to the Node MCU and the current being used by each load is measured if at anytime the consumption of power goes beyond the specified level they will be notified and if it still continues they will be fined . IOT plays a major role here. It is also used for detecting faulty electrical devices that’s consuming unusual amount of power and we will be notified about that. PAIDEUMA JOURNAL Vol XIV Issue 5 2021 ISSN NO : 0090-5674 http://www.paideumajournal.com 471
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Power Consumption Using NodeMCU Controller
Suresh.S
Department of Computer Science and Engineering
SRM Institute of Science and Technology, Ramapuram, Chennai, Tamilnadu, India
B.S.SanjayKuumar
Department of Computer Science and Engineering
SRM Institute of Science and Technology, Ramapuram, Chennai, Tamilnadu, India
R.Pritika
Department of Computer Science and Engineering
SRM Institute of Science and Technology, Ramapuram, Chennai, Tamilnadu, India
Vinetha .J
Department of Computer Science and Engineering
SRM Institute of Science and Technology, Ramapuram, Chennai, Tamilnadu, India
ABSTRACT
Introduction of the node MCU controller for power consumption in our homes provides us a way to consume energy and electricity in the most
efficient way possible. There are many advantages for the node MCU controller and this helps to reduce the electricity bill. Here we use the
main components like the voltmeter, current meter and the relay to achieve what we want. We also use IOT to make things much more easier for
us. Here each load, that is each electrical appliances are monitored by the current and voltage meter and it is also stabilised using the relay. All
devices is rechanging by controllable devices to make things easier for us.
KeywordsInternet of Things (IoT), NodeMCU (Node MicroController Unit), Integrated Circuit (IC), System on Chip
(SoC),Power Management Unit (PMU), Voltage Transformer, Current Transformer.
I.INTRODUCTION
The progress of automation technology leads to a simple and uncomplicated life .The manual systems are now less in use and are
getting replacement by automation technology which is also feasible.Smart home is a typical application scenario of Internet of
Things (IoT) technology.Automation technology is adaptable and user friendly interface which allows for easy control of
electrical appliances by means of internet. The NodeMCU interfaced with internet to get user comments. Researches anticipate
that the potential of standing energy is not enough for the future need without new energy source.To avoid this a system can be
created tu use power effectively.The term power consumption in electrical engineering refer electrical energy per unit time. The
national el Power consumption monitoring system measures the usage of power of each of the loads individually. This system is
designed around NodeMCU micro-controller board. If the user consumes more energy beyond the limit they will get notified and
fine will be added If still consumption is not reduced . It also used to detect the malfunctioning device used in households that
consumes unusual amount of energy.
II .PROPOSED SYSTEM
Power consumption is very important for us . Here we have achieved to conserve power with the help of the Node
MCUcontroller. Here each load is connected to the Node MCU and the current being used by each load is measured if at anytime
the consumption of power goes beyond the specified level they will be notified and if it still continues they will be fined . IOT
plays a major role here. It is also used for detecting faulty electrical devices that’s consuming unusual amount of power and we
will be notified about that.
PAIDEUMA JOURNAL
Vol XIV Issue 5 2021
ISSN NO : 0090-5674
http://www.paideumajournal.com471
III. Literature Survey
Reference [1] This paper refers to avoid the water wastage in the irrigation process using the IOT and node MCU to act as a micro
controller and as a server.
Reference [2] In this paper,there is a discussion about electrical device which saves energy and also it is also a surveillance and
control system which is based on internet of things.
Reference [3] This paper refers to using a flame sensor using an Arduino board to determine the presence of fire which also
calculates the fire intensity caused by a Fire.It is used in common places such as houses,offices,and other places.
Reference [4] This paper refers to include functionality of node esp8266 are connected with either of above given house
application like fan, light, water pump, gardening with help of coding and hosting online with web server.
Reference [5] This paper refers to Our system will be useful to maintain physical distance between people, and it gives best
efficiency compare to previous algorithms.
Reference [6] This paper refers to system which identifies and monitors cardio-vascularpulse wave remotely.This project works
based on NodeMcu which comes with an inbuilt wi-fi module and an easypulse sensor.
IV.BLOCK DIAGRAM
Fig. 1 Block diagram
Hardware tools:
• Nodemcu
• Current sensor
• Voltage sensor
• Potential transformer
• Loads
Software tools:
• Arduino IDE
• Embedded C
V. MODULES
BLOCK DIAGRAM DESCRIPTION: • We are using the Node MCU controller for power consumption. • All the loads are
connected to the node MCU • We are able to read the current values through an external ADC IC. • All the loads are connected to
it using relays. • The relays are used for stabilising when the load takes up lesser or more power than needed. • Relays and the
other loads are connected to GPIO pins in nodemcu. • The Node MCU has a wifi chip.
PAIDEUMA JOURNAL
Vol XIV Issue 5 2021
ISSN NO : 0090-5674
http://www.paideumajournal.com472
Where to use ESP8266-01
We have to plus the ESP into the USB adapter this should then be plugged into the computer and we must switch it to
programming mode. This is very convenient as it very useful and cheap wifi module for controlling devices with the help of
internet. This works with the micro-controller NodeMCU and the internet of things has just been made very easy and cheap too.
So if weuse this module we will also be able to know how much current a particular appliance ends up taking and also if any
appliance is taking more than its needed. We will also be able to control the power of the appliances for example if we leave the
house forgetting to switch off certain appliances we will be able to know with the help of this module and we will also be able to
switch it off. This makes things very easy for us . Here it is programmed using Audrino IDE which is very user friendly.
Fig.2 Node MCU
5.1 Current Transformer (CT)
Current Transformer (CT), is connected to the node MCU controller and each load in the house in connected to the input pins of
the controller .So when any electrical appliance is used the current transformer which is also connected to the node MCU
controller will measure the current being used by the particular load. The current transformer replicates the primary wave in the
secondary welding and gives us the current that’s being used. It basically produces other system of electric welding that directly
equal to primary system of electric. So the alternating current produced in the secondary winding will be measured using an
ammeter and through this we will come to know the current consumed by each load connected to the controller.
Fig.5.1 Current transformer
PAIDEUMA JOURNAL
Vol XIV Issue 5 2021
ISSN NO : 0090-5674
http://www.paideumajournal.com473
5.2 Voltage transformer
Voltage transformer get used in electrical power system for stepping down the system voltage to a safe value which can be fed to
low rating meters and relays. It can be measured by the ordinary low voltage instrument like a voltmeter wattmeter and watt
hours meters. Since, voltage has the capacity to reduce the values from higher to lower it correctly balance that is maintains the
electric system of voltage perfectly.
Fig.5.2 Voltage transformer
5.3 Potential transformer
The voltage transformer which is connected to the Node MCU is also connected to the potential transformer which is also called
as the voltage step down transformer. They are mostly used in metering circuits and relays. The main purpose of this transformer
is to step down the voltage value that is got from the load to a safe limit value so that it is easier for an ordinary low voltage
instrument reader such as voltmeter, multimeter, wattmeter etc. to read the value easily.
Fig.5.3Potential transformer
5.4 ARDUINO IDE:-
The Arduino Integrated Development Environment is a platform application which can be used in windows Mac OS and linux to
write code in c and c++. Here we are using the Node Mcu which is an Arduino compatible board so we can use the arduino IDE
for writing and uploading programs into controller boards which are compatible with arduino. It is a form of an editor and
programs which are written in this platform are called sketches and are saved in the extension .ino. it has five menus they are
File, Edit, Sketch, Tools, Help. The Node MCU is connected to the computer through the usb port. We write down the code on the
arduino IDE, so when the controller board is connected through the usb the written code is uploaded onto the controller and
executes it. Through this code the controller will be able to interact with the inputs and outputs.
PAIDEUMA JOURNAL
Vol XIV Issue 5 2021
ISSN NO : 0090-5674
http://www.paideumajournal.com474
5.5 Cloud
In this project we are using the cloud to store the recorded values from the loads. These values can then be used by us to pe
whatever functions that we need. The Arduino IoT cloud helps us to create great things easily. It is especially very useful f
automation and power consumption. So any change made with the code will automatically be updated to the cloud.
Fig.6 Working of cloud and ThingSpeak
All the required components are connected to the Node MCU. The circuit consists of the load, current sensor, voltage sensor,
potential transformer, relay and the ADC/IC. The Node MCU is connected to the internet through the wifi and is connected to t
computer using the USB port. Once the circuit is connected to the computer we can set up the Arduino IDE to perform tasks by
writing the code. The Arduino IDE and the Node MCU is connected to the wifi so the values recorded by the input pins of the
controller will be saved in the particular variables as written in our code and that will be stored in the cloud.
6.1 ThingSpeak Io Platform
Things speak is an IoT analytic platform which allows you to analyse and visualise
protocol over the internet is used by this platform. They use the MATLAB analytics on the data received from the hardware
device. Firstly we have to go to things speak website and create an account. Then we hav
the Node MCU and the arduino IDE we will be able to write the code to save the values that we want to monitor. So in this cas
we want to achieve power consumption so we will save the values of voltage, current, unit
stored in the cloud and we will be able to access this data. Once the variables are created we will use the channel name that
created and the API key to upload these variable values into things speak . We’ve created
these fields represent the streams of data that we want to analyse and visualise in this case we are choosing voltage, curren
and power. Once we’ve done all that this will be our final result.
In this project we are using the cloud to store the recorded values from the loads. These values can then be used by us to pe
whatever functions that we need. The Arduino IoT cloud helps us to create great things easily. It is especially very useful f
automation and power consumption. So any change made with the code will automatically be updated to the cloud.
Fig.6 Working of cloud and ThingSpeak
VI Implementation and Results All the required components are connected to the Node MCU. The circuit consists of the load, current sensor, voltage sensor,
potential transformer, relay and the ADC/IC. The Node MCU is connected to the internet through the wifi and is connected to t
Once the circuit is connected to the computer we can set up the Arduino IDE to perform tasks by
writing the code. The Arduino IDE and the Node MCU is connected to the wifi so the values recorded by the input pins of the
will be saved in the particular variables as written in our code and that will be stored in the cloud.
Fig.7 Module diagram
Things speak is an IoT analytic platform which allows you to analyse and visualise data that is stored on there cloud. The HTTP
protocol over the internet is used by this platform. They use the MATLAB analytics on the data received from the hardware
device. Firstly we have to go to things speak website and create an account. Then we have to create a new channel. So by using
the Node MCU and the arduino IDE we will be able to write the code to save the values that we want to monitor. So in this cas
we want to achieve power consumption so we will save the values of voltage, current, unit and power to a variable this will be
stored in the cloud and we will be able to access this data. Once the variables are created we will use the channel name that
created and the API key to upload these variable values into things speak . We’ve created the channel, there will be 8 fields so
these fields represent the streams of data that we want to analyse and visualise in this case we are choosing voltage, curren
and power. Once we’ve done all that this will be our final result.
In this project we are using the cloud to store the recorded values from the loads. These values can then be used by us to perform
whatever functions that we need. The Arduino IoT cloud helps us to create great things easily. It is especially very useful for home
automation and power consumption. So any change made with the code will automatically be updated to the cloud.
All the required components are connected to the Node MCU. The circuit consists of the load, current sensor, voltage sensor,
potential transformer, relay and the ADC/IC. The Node MCU is connected to the internet through the wifi and is connected to the
Once the circuit is connected to the computer we can set up the Arduino IDE to perform tasks by
writing the code. The Arduino IDE and the Node MCU is connected to the wifi so the values recorded by the input pins of the
will be saved in the particular variables as written in our code and that will be stored in the cloud.
data that is stored on there cloud. The HTTP
protocol over the internet is used by this platform. They use the MATLAB analytics on the data received from the hardware
e to create a new channel. So by using
the Node MCU and the arduino IDE we will be able to write the code to save the values that we want to monitor. So in this case
and power to a variable this will be
stored in the cloud and we will be able to access this data. Once the variables are created we will use the channel name that we
the channel, there will be 8 fields so
these fields represent the streams of data that we want to analyse and visualise in this case we are choosing voltage, current, unit
PAIDEUMA JOURNAL
Vol XIV Issue 5 2021
ISSN NO : 0090-5674
http://www.paideumajournal.com475
Fig.8 Screenshot of test cases of various data streams
Once the code is completed all the values and the data will be stored on the cloud that will then be accessed by things speak
the API key and channel name and we will be able to see the output on the website this can also be monitored by us and can b
made public or private. After ThingSpeak analyses the data the output will be uploaded on the cloud and that will then be
retrieved and shown on the Arduino IDE
Fig.9 screenshot of Arduino IDE final result
The resultant is very effective as the voltage and the current sensor. Both the voltage and current sensor
together is coded for transmitting and receiving and to make sure the war system is working perfectly. It shows that if the v
and current will be very effective only if the setup of the module is placed and coded correctly. Arduino is the very main
component that connects all of the sensors, voltage and current module and also it performs as a hub and that is how it is in
to perform. This method is the easiest way of calculating that is measuring the energy produces by the electrical appliances. It
able to show how the electrical system appliances is controlled through through internet. And also sends the notification t
e – mail and twitter and other social networks to users.
This IOT based SEM system is been used for deducting the system energy also the amount . It also shows the basic need
electrical system appliances. Cost of the money will be deducted that is will be reduced for the electric products such as wa
machine, dishwasher and mixer grinder etc. This all is done by operating these devices with good flexibility that can
time in the day since, the power costs for all the items of devices are low and the voltage, power and energy consumption val
are maintained in the correct level. Energy consumption reports can be easily drawn up for each and every single d
Screenshot of test cases of various data streams
Once the code is completed all the values and the data will be stored on the cloud that will then be accessed by things speak
the API key and channel name and we will be able to see the output on the website this can also be monitored by us and can b
made public or private. After ThingSpeak analyses the data the output will be uploaded on the cloud and that will then be
Fig.9 screenshot of Arduino IDE final result
VII RESULT AND DISCUSSION:
The resultant is very effective as the voltage and the current sensor. Both the voltage and current sensor
together is coded for transmitting and receiving and to make sure the war system is working perfectly. It shows that if the v
nd current will be very effective only if the setup of the module is placed and coded correctly. Arduino is the very main
component that connects all of the sensors, voltage and current module and also it performs as a hub and that is how it is in
perform. This method is the easiest way of calculating that is measuring the energy produces by the electrical appliances. It
able to show how the electrical system appliances is controlled through through internet. And also sends the notification t
mail and twitter and other social networks to users.
VIII CONCLUSION :
This IOT based SEM system is been used for deducting the system energy also the amount . It also shows the basic need
electrical system appliances. Cost of the money will be deducted that is will be reduced for the electric products such as wa
machine, dishwasher and mixer grinder etc. This all is done by operating these devices with good flexibility that can
time in the day since, the power costs for all the items of devices are low and the voltage, power and energy consumption val
are maintained in the correct level. Energy consumption reports can be easily drawn up for each and every single d
Once the code is completed all the values and the data will be stored on the cloud that will then be accessed by things speak using
the API key and channel name and we will be able to see the output on the website this can also be monitored by us and can be
made public or private. After ThingSpeak analyses the data the output will be uploaded on the cloud and that will then be
The resultant is very effective as the voltage and the current sensor. Both the voltage and current sensor
together is coded for transmitting and receiving and to make sure the war system is working perfectly. It shows that if the voltage
nd current will be very effective only if the setup of the module is placed and coded correctly. Arduino is the very main
component that connects all of the sensors, voltage and current module and also it performs as a hub and that is how it is intended
perform. This method is the easiest way of calculating that is measuring the energy produces by the electrical appliances. It is
able to show how the electrical system appliances is controlled through through internet. And also sends the notification through
This IOT based SEM system is been used for deducting the system energy also the amount . It also shows the basic needfor the
electrical system appliances. Cost of the money will be deducted that is will be reduced for the electric products such as washing
machine, dishwasher and mixer grinder etc. This all is done by operating these devices with good flexibility that can be used any
time in the day since, the power costs for all the items of devices are low and the voltage, power and energy consumption values
are maintained in the correct level. Energy consumption reports can be easily drawn up for each and every single device.
PAIDEUMA JOURNAL
Vol XIV Issue 5 2021
ISSN NO : 0090-5674
http://www.paideumajournal.com476
REFERENCES
[1] Vanaja, K. Jyostsna, Aala Suresh, S. Srilatha, K. Vijay Kumar, and M. Bharath. "IOT based agriculture system using
NodeMCU." International Research Journal of Engineering and Technology 5, no. 3 (2018): 3025-3028.
[2] Qiang T, Guangling G, Lina C, Han W. Nodemcu-based Low-cost Smart Home Node Design. InIOP Conference Series:
Materials Science and Engineering 2018 Oct 1 (Vol. 435, No. 1, p. 012013). IOP Publishing.
[3] Qiang T, Guangling G, Lina C, Han W. Nodemcu-based Low-cost Smart Home Node Design. InIOP Conference Series:
Materials Science and Engineering 2018 Oct 1 (Vol. 435, No. 1, p. 012013). IOP Publishing.
[4] Anjari, L. and Budi, A.H.S., 2018, July. The development of smart parking system based on NodeMCU 1.0 using the internet
of things. In IOP Conference Series: Materials Science and Engineering (Vol. 384, No. 1, p. 012033). IOP Publishing.
[2] Gupta, A. K., & Johari, R. (2019, April). IOT based electrical device surveillance and control system. In 2019 4th international
conference on internet of things: Smart innovation and usages (IoT-SIU) (pp. 1-5). IEEE.
[3] Khalaf, Osamah Ibrahim, GhaidaMuttasharAbdulsahib, and Noor Abdul Khaleq Zghair. "IOT fire detection system using
sensor with Arduino." AUS 26 (2019): 74-78.
[4] Durani, H., Sheth, M., Vaghasia, M., &Kotech, S. (2018, April). Smart automated home application using IoT with Blynk app.
In 2018 Second International Conference on Inventive Communication and Computational Technologies (ICICCT) (pp. 393-397).
IEEE.
[5] Soni, Vishal Dineshkumar, Ankit NarendrakumarSoni, and KarunakarPothuganti. "Student Body Temperature and Physical
Distance Management Device in Classroom Using 3D Stereoscopic DistanceMeasurement." International Journal of Innovative
Research in Science Engineering and Technology 9, no. 9 (2020): 9294-9299.
[6]khalaf Abdullah, Salam. "Remote heart rate monitor system using NodeMcu microcontroller and easy pulse sensor v1. 1." In
IOP Conference Series: Materials Science and Engineering, vol. 518, no. 5, p. 052016. IOP Publishing, 2019.