Esp32 Projects

Smart Electricity Energy Meter With ESP32 & Blynk 2.0

IoT Based Smart Electricity Meter

Introduction 

In this project, we build an IoT-based Smart Energy meter Using ESP32 Board and a new Blynk 2.0 application. we have ready many projects like Home Automation and DHT22 Sensor related to the Blynk application.

in this smart energy meter project we measure the AC Voltage, Current, and Watt, and Display The All Date to 16×2 LCD Display as well Blynk App.

Bill of Materials

S.N

Component's

Quantity

1

ESP32 Board

1

2

16x2 LCD Display

1

3

AC Voltage Sensor (ZMPT101B)

1

4

Current Sensor (SCT-013-030,30A Non -invasive)

1

5

Capcitor 10uf

1

6

Resister 100ohm,10K

1

7

Breadboard

1

AC Single Phase Voltage Sensor (ZMPT101B)

zmpt101b sensor

The ZMPT101B is an AC single-phase voltage sensor built in a micro voltage transformer. and is compatible with all devices like Arduino, ESP8266, ESP32 And Rpi.

The Voltage sensor is capable of measuring AC voltage range from 110v to 250v and also offers adjustable analog output. the potentiometer for adjusting and calibrating the ADC Output.

Specifications

  • Voltage Range:- 250 volts
  • Operating Temperature :- 40c to 70c
  • Input Supply Voltage:- 5V
  • small size and lightweight
  • on-board op-amp circuit

Current sensor (SCT-013)

SCT 013 Current Sensor

this type of current sensor is a non-invasive and split-core clamp meter sensor and they are commonly used to find the current value of an AC Transformer and are used for measuring alternating current in a building or company.

The SCT-013 is convenient to use, as it can be easily attached to the phase wire of high voltage.

SCT 013

This SCT-013 sensor has a primary winding, magnetic core, and secondary winding, which is composed of many truns of fine wire enclosed in the transformer.

Specifications

  • Output Signal:- DC 0-1 V
  • Input Signal:- 0-30A Ac
  • Work Temperature :- -25c to 70c
  • Resistance Grade:- Grade B
  • Turn Ratio:- 1800:1
  • Non-linearity:- 2-3%
  • Build-in Sampling resistance:- 63 ohm

Circuit Diagram

PCB Design3

IoT Based Electricity Energy Meter

With 16×2 LCD Display (I2C)

IoT Based Electricity Energy Meter 635x360 1

PCB Design

We Used the EasyEDA Software To Design A Proper PCB Board.

PCB Design2

PCB Design1

Setting Up Blynk 2.0 App

First We Sign up for The Blynk App

Screenshot 2022 12 24 at 8.43.41 PM

  • Log in to the page then create the dashboard copy the AUTH TOKEN Number and paste in the Arduino Code.

Screenshot 2023 02 05 at 11.54.53 PM

 

Blynk App Output1

Blynk App Output2

Required Library 

  • EmonLib Library

EmonLib is a Continuous Monitoring of Electricity Energy repeats, every 5 or 10s, a sequence of voltage and current measurements.is automatic update.

Download  Link EmonLib Library

  • Blynk Library

Blynk is the most popular Internet of Things platform for connecting any hardware to the cloud, is suppoted all micro controller like arduino ESP8266, ESP32 etc.

Download Link Blynk Library

ZMPT101B Voltage Calibration

we first upload the small code to ESP32 board and calibrate the ZMPT101B Voltage Sensor & Measure The AC Voltage In Serial Plotter.

Now upload the following code to the Arduino Board.

After uploading the code, open the Serial Plotter.

ZMPT101B Calibration

Source Code

Testing Photo

Here we connected the voltage sensor and current sensor with the AC Source.

IoT Based Smart Electricity Meter1

Now is test time, the ESP32 Board is connected to the Wi-Fi network and Blynk app. The 16×2 LCD display will light up with all readings.

It displays the Vrms value and Irms Value, when the load is connected it changes the reading and displays the load value.

IoT Based Smart Electricity Meter2

After a few seconds the display the Power and kwh value in the display as well new Blynk app and if the wifi network is not connected that’s time the LCD will display the correct reading only.

IoT Based Smart Electricity Meter3

Video 

0005720 coming soon page 550

Conclusion

In conclusion, the smart energy meter is a good example of a revolution in the monitoring of electricity consumption. the matter will save time and money.

we will enjoy the implementation and I hope you also love the article plz share it with your all friends.

Prateek

Hi, Prateek Here I’m interested in Electronics That's why I Make Soo Many Projects, I’m currently Pursuing M Tech.. if you Relay Like To My Blog Plz Comment Below...Thanks To All Electronics Lover...❤️

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button

Adblock Detected

Please consider supporting us by disabling your ad blocker