IoT Based Power Consumption
IoT Based Power Consumption
IoT Based Power Consumption
https://doi.org/10.22214/ijraset.2022.45892
International Journal for Research in Applied Science & Engineering Technology (IJRASET)
ISSN: 2321-9653; IC Value: 45.98; SJ Impact Factor: 7.538
Volume 10 Issue IX Sep 2022- Available at www.ijraset.com
Abstract: With the increasing electrical demand and new devices focused on getting the most and cheapest energy possible, the
usage of energy management system is escalating both in end user and for utilities. The main objective is to minimize energy cost
without affecting comfort.
This project enables the user to monitor the power consumption through webpage so that the appliances can be controlled
through mobile. Data is collected as a input which is further processed using Nodemcu in order to get the magnitude of the
various power consumption.
This data is later sent to the cloud-based platform Thingspeak for data analysis. It helps in plotting daily and annual load curve
using data analysis technique.
By graphical analyses in Thingspeak we can control the energy wastage using blynk app. The software implementation IOT
allows objects to be sensed or controlled remotely across existing network infrastructure, creating opportunities for more direct
integration of the physical world into computer-based systems, this leads towards more secure, cost-effective and sustainable
energy in future.
I. INTRODUCTION
Electricity has become one of the basic requirements of man. It is used in the home, industry and agriculture. With the increasing
demand for energy, there is a need to use alternative energy sources in the production of electricity, but the methods of generating
energy from renewable sources face many complexities and challenges. For this reason, extensive modifications and changes to
existing energy systems are carried out.
Energy Management Systems (EMS) are widely used in all locations to reduce electricity costs as well as improve energy
efficiency. Rising economic growth and consumption patterns lead to an ever-increasing demand for energy. As the majority of
energy supply comes from fossil fuels, the resource is being depleted, increasing energy costs.
Burning fossil fuels has also increased the concentration of carbon dioxide in the environment, leading to extreme weather
fluctuations. It is therefore imperative that industries and commercial enterprises take steps to reduce energy waste, become energy
efficient and reduce costs. Energy Management Systems (EMS) are widely used in all locations to reduce electricity costs as well as
improve energy efficiency.
EMS itself finds its better opportunity on the demand side – in the management and mass consumption of energy. The introduction
of EMS allows for the central integration of data with utilities and the ability to predict the possibility of communicating real-time
energy market tariffs to end users, which allows to sell or buy energy at the most convenient moments. The increasing integration of
renewable energy sources and electric assets will push the requirement to have a global and centralized EMS and new devices aimed
at obtaining the most and cheapest energy, the use and release of energy management systems (EMS) is escalating both for end
users. and for utility networks. An energy management system (EMS) is a set of computer tools used to monitor, control and
optimize the performance of generation and transmission systems. the energy management software control system is designed to
reduce energy consumption, improve system utilization, increase reliability and predict electrical system performance, as well as
optimize energy consumption to reduce costs. EMS itself finds its better opportunity on the demand side – in the management and
mass consumption of energy. Recent EMS improvements have been made to address the challenges of energy sustainability and
reliability. Electricity costs form the main budget of an educational institution. It would be much better to reduce your electricity bill
with EMS. The proposed model uses a centralized energy management system that allows monitoring energy consumption and
performance in different time periods. EMS refers to a computer system designed specifically for the automated control and
monitoring of electromechanical equipment in buildings that provide significant energy consumption, such as heating, ventilation
and lighting. The scope can range from a single building to a group of buildings such as universities, office buildings, retail chains
or factories. The data obtained can be used to perform self-diagnosis and optimization routines and to create trend analysis and
annual consumption forecasts. Most of these energy management systems also provide decision making.
©IJRASET: All Rights are Reserved | SJ Impact Factor 7.538 | ISRA Journal Impact Factor 7.894 | 547
International Journal for Research in Applied Science & Engineering Technology (IJRASET)
ISSN: 2321-9653; IC Value: 45.98; SJ Impact Factor: 7.538
Volume 10 Issue IX Sep 2022- Available at www.ijraset.com
III. METHODS
A. Create a channel and collect data
The core element of ThingSpeak is the ThingSpeak channel. The channel stores the data we send to ThingSpeak and consists of the
elements below: 8 data storage fields of any type - Can be used to store data from a sensor or an embedded device. 3 location fields
– Can be used to store latitude, longitude and altitude. These are very useful for tracking a moving device. 1 status field - A short
message describing the data stored in the channel. In order to use ThingSpeak, we need to register and create a channel. Once we
have a channel, we can send the data, let ThingSpeak process it, and retrieve it as well.
©IJRASET: All Rights are Reserved | SJ Impact Factor 7.538 | ISRA Journal Impact Factor 7.894 | 548
International Journal for Research in Applied Science & Engineering Technology (IJRASET)
ISSN: 2321-9653; IC Value: 45.98; SJ Impact Factor: 7.538
Volume 10 Issue IX Sep 2022- Available at www.ijraset.com
C. Blynk App
Blynk was designed for the Internet of Things. It can control hardware remotely, can display sensor data, can store data and
visualize. The platform has three main components:
Blynk App - allows you to create an interface for projects using the various widgets we provide.
Blynk Server – responsible for all communication between smartphone and hardware.
Blynk Cloud can run a private Blynk server locally. It's open-source, easily handles thousands of devices.
Blynk libraries - for all popular hardware platforms - enable communication with the server and handle all incoming and outgoing
commands. Every time we press a button in the Blynk app, a message moves to the Blynk Cloud space, where it finds its way to
your hardware.
IV. SOFTWARE ARCHITECTURE
The figure 1 is the interface of hardware and software. The hardware consists of NodeMCU, four channel relay, and the software
consist of Arduino IDE software, Blink app, Think speak. Each relay is connected to load and also to the NodeMCU. NodeMCU is
embedded with Wi-Fi module which has wireless connectivity to thinkspeak and Blink app. Through blink app we can turn on/off
and even generate a bill of energy consumption.
©IJRASET: All Rights are Reserved | SJ Impact Factor 7.538 | ISRA Journal Impact Factor 7.894 | 549
International Journal for Research in Applied Science & Engineering Technology (IJRASET)
ISSN: 2321-9653; IC Value: 45.98; SJ Impact Factor: 7.538
Volume 10 Issue IX Sep 2022- Available at www.ijraset.com
V. IMPLEMENTATION
The project requires NodeMCU, 4-channel relay, BlynkApp, Thingspeak, Arduino software 1.8.15. The connections are made as
shown in Figure 17. Each channel relay is connected to the respective loads. The relay inputs IN1,IN2,IN3,IN4 are connected to
D1,D2,D3,D4, the ground of the relay is connected to the ground of the NodeMCU. The Vcc relay is connected to the Vin of the
NodeMCU. The program is coded on nodemcu's Arduino platform, which is then uploaded. Data mining is in the form of a loop
function at an interval of 10 seconds. This data is sent to the ThingSpeak cloud server via Nodemcu, which has a built-in WiFi
module for communication purposes. This data is further analyzed as graphs on this website providing details regarding data time
and amount of power consumption. Here we consider 1 unit = 60 watts.
Three graphs appear in Thinkspeak. In which the first graph shows the current power consumption. It shows the time required to
consume one unit of energy. When all loads are on, unit consumption is fast, and when the load is reduced, the time required for unit
consumption is shorter. The second graph shows the total energy consumption and the third graph shows the total amount of energy
consumed. We can monitor and analyze energy consumption through a graphical display. The four-channel relay is controlled by
BlynkApp by switching the load on/off. In this way, unwanted energy consumption can be minimized. Through BlynkApp, we can
generate a bill of total load consumption for a specific period. We consider 20 rupees per unit for account generation.
Here we consider two models. In the first one, when all loads are on, we check the maximum unit consumed. In the second model,
we take as the unit consumed as a reference and compared with the other. When the consumed unit is bigger than the first or if it is
half/full of the one we consumed, a warning massage will be given. By controlling it with the blink app, we manage energy.
VI. RESULT
The figure shows the proposed prototype with node connection. The power source supply is connected to Node MCU and when the
relay is turned on the LED light glows and this operation is carried out through blynk app.
©IJRASET: All Rights are Reserved | SJ Impact Factor 7.538 | ISRA Journal Impact Factor 7.894 | 550
International Journal for Research in Applied Science & Engineering Technology (IJRASET)
ISSN: 2321-9653; IC Value: 45.98; SJ Impact Factor: 7.538
Volume 10 Issue IX Sep 2022- Available at www.ijraset.com
The graph shows model 1 load consumption when all loads are on. A time period of 30 min is considered here. Chart1 shows 80
units as the maximum consumed load. For the second model, when the consumed unit is half/full of the first model, we get a
warning massage. This means checking for waste and taking further action.
By following the graph, if the unit consumption is high, we can reduce the power consumption by turning on/off the load.
Overall, the system is able to manage energy through monitoring, analysis and control. Therefore, costs are reduced. Using this
model, we can monitor and optimize energy consumption to save energy consumption. This leads to a safer, more cost-effective and
sustainable energy future
VII. CONCLUSION
The project is implemented in hardware and software components that interact through network connections. The main task is to
implement the project in an economical way so that it can be easily deployed. An efficient energy management system can save
energy (kWh) and help ensure better optimization.
A software implementation of the IoT allows objects to be sensed or controlled remotely within the existing network infrastructure,
creating opportunities for more direct integration of the physical world into computer systems, resulting in greater accuracy and
economic benefit. A smart energy system is a cost-effective and sustainable energy-based system in which renewable energy
production and consumption infrastructures are integrated, interconnected and coordinated through energy mobile applications,
active users and supporting technologies.
REFERENCES
[1] Z. Yu, B. C. M. Fung, F. Haghighat, H. Yoshino, and E. Morofsky, ―A systematic procedure to study the influence of occupant behavior on building energy
consumption,‖ Energy and Buildings, vol. 43, no. 6, pp. 1409–1417, 2011. [Online]. Available: http://dx.doi.org/10.1016/j.enbuild.2011.02.002
[2] S. Chen, N. Li, and J. Guan, ―Research on statistical methodology to investigate energy consumption in public buildings sector in China, Energy Conversion
and Management, vol. 49, no. 8, pp. 2152–2159, 2008.
[3] H. Doukas, K. D. Patlitzianas, K. Iatropoulos, and J. Psarras, ―Intelligent building energy management system using rule sets,‖ Building and Environment, vol.
42, no. 10, pp. 3562– 3569, 2011.Parallax, ―XBee USB Adapter Board (# 32400 ),‖ XBee USB Adapter datasheet, 2013.
[4] F. Akyildiz, W. Su, Y. Sankar Subramaniam, and E. Cayirci, ―Wireless sensor networks: a survey, ‖ Computer networks, vol. 38, no. 4, pp. 393– 422, 2014.
[5] J. Yick, B. Mukherjee, and D. Ghosal, ―Wireless sensor network survey, ‖ Computer Networks, vol. 52, no. 12, pp. 2292–2330, Aug. 2018.
[6] Arduino Uno. ‖ [Online]. Available: https://www.arduino.cc/en/Main/arduinoBoardUno
[7] Internet of Things Thing Speak service. ‖[Online]. Available: http://www.thingspeak.com.
[8] https://api.thingspeak.com/update?api_key=VCAQCSR15LIAQ1NG&field1= 0&field2=0& field3=0
[9] D Schachinger et al, ― An advanced data analytics framework for energy efficiency in building‖ 2016 IEEE 21st International conference on emerging
Technologies and Factory Automation (ETFA), Berlin, 2016, pp 1-4
[10] D Schachinger et al, ― An advanced data analytics framework for energy efficiency in building‖ 2016 IEEE 21st International conference on emerging
Technologies and Factory Automation (ETFA), Berlin, 2016, pp 1-4
©IJRASET: All Rights are Reserved | SJ Impact Factor 7.538 | ISRA Journal Impact Factor 7.894 | 551