Done by : RABHI Nadjoua, MISSAOUI Isra Oumaima, AGGOUN Hanane Aya.
Summary
The concept of a smart electricity meter
has gained significant popularity worldwide in recent years. Traditionally, you
need to go to the meter reading room and take down readings. Thus, monitoring
and keeping track records of your electricity consumption is a tedious task and
inconvenient. In addition, at the end of each month, many of us get worried
about the high electricity bill and we have to look at the energy meter once in
a while. But what if we can monitor our electricity uses from anywhere in the
world. In this project, we will create a
multi-function smart electricity measurement device based on an ESP32
microcontroller and the Blynk application on mobile. The smart electricity measurement
device shows the real-time value of voltage, current, power consumption, and
power factor. It also shows the value of total energy consumption in kWh as
well as electricity costs in dinars, thereby saving time and money.
Working Explanation
We created a multi-function smart
electricity measurement device based on the best current and voltage sensors.
By using the ESP32 microcontroller and Blynk apps, we can measure voltage,
current, power, and total energy consumed in kWh. The readings will be sent to
the Blynk app and displayed on a dashboard accessible from any location. If the
bills are not settled, the consumer's power will be disconnected remotely.
Suggested Device Functions
This proposed smart electricity measurementdevice does the following tasks:
- Calculates the estimated cost of electricity consumed based on a predefined cost per kWh, allowing the user to monitor electricity expenses.
- Utilizes a Blynk Server to visualize the voltage, current, power, power factor, energy consumption, and cost.
- Remote power disconnection in the event of delayed payment of due invoices.
- In case of power outages, the energy meter data will be stored in the ESP32's EEPROM and retrieve the energy consumption (in kWh), ensuring the persistence of the data.
Materials Required
To create a
smart electricity measurement device, we need following materials: ESP32 WiFi
Module, ZMPT101B AC voltage sensor module, SCT-013-030 AC Current sensor
module, 1-Channel Relay Module, 2-Resistor 10K Ω, Resistor 100 Ω, Capacitor
10uF, and PCB Board.
As for the Software we used: Fritzing,
Arduino IDE, and Blynk
Block Diagram
The image here shows the block diagram for
the multi-function smart electricity measurement device using ESP32. The design
was created using Fritzing software.
Blynk Dashboard
To monitor the electricity measurement
device data from ESP32 microcontroller, we need to set the Blynk Dashboard.
Here we will display the energy measurement device data on the mobile app. We
need to create Virtual Pins for voltage, current, power, power factor, energy
Consumption, cost, and load control. The table shows that each parameter is
measured with a different virtual pin (V0 to V6).
