IoT Based Smart Electricity Energy Meter using ESP8266 & Blynk Application
Ғылым және технология
project Discription
Today we will learn how to make our own IoT Based Electricity Energy Meter using ESP8266 & monitor data on the Blynk Application on mobile. With the current technology, 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.
To automate this, we can use the Internet of Things. As far as we know that The Internet of Things saves time and money by automating remote data collection. Smart Energy Meter has received quite a lot of acclaim across the globe in recent years.
So here We need to select the Node mcu esp8266 wifi module 20*4 Lcd with I2C interface module and PZEM 004T multifunction AC power monitor. It can measure electrical parameter. It is a very popular smart meter used in electrical consumption measurement projects. It is great for measuring voltage, current, active power, frequency, Power factor and energy consumed in KWH. It has Power measurement range 0 ~ 22kW with Voltage Range of 80 ~ 260VAC and Current measurement range of 0 ~ 100A.
we using esp8266 NodeMCU wifi miodule has Arduino like Analog and Digital (D0-D8) pins on its board. It supports serial communication protocols i.e. UART, SPI, I2C, etc.
Using such serial protocols we can connect it with serial devices like I2C enabled LCD display, Magnetometer Gyro meter + Accelerometer, RTC chips, GPS modules, touch screen displays, SD cards, etc. and also its available in market at low cost.
PZEM 004T multifunction AC power monitor can measure electrical parameter. It is a very popular smart meter used in electrical consumption measurement projects. It is great for measuring voltage, current, active power, frequency, Power factor and energy consumed in KWH. It has Power measurement range 0 ~ 22kW with Voltage Range of 80 ~ 260VAC and Current measurement range of 0 ~ 100A
The main part of PZEM 004T module is of SD3004 chip can be measured and thus we can know about the power consumption & total power consumed. We will interface PZEM 004T module with ESP8266 Wifi Module & Send the data to Blynk Application. The Blynk Application Dashboard will display the voltage, current, active power, frequency, Power factor and energy consumed in KWH.
Pzem 004t module is equipped with a TTL serial data communication interface via the serial port, where you can read and set the relevant parameters.
SCL & SDA I2C lcd module are connected of with GPIO pin 5 (D1) and GPIO pin 4 (D2). Vcc is connected to 3.3V of node mcu. If you use +5V power supply module output of power supply Connect Vin pin of node mcu and Vcc of PZEM004T to 3.3 V. The RX and TX from PZEM004T go to serial communications pins TX and RX. Connect the current transformer (CT) and the AC live wires in parallel with the load. The wiring in the AC side must be respected as shown in circuit diagram
Another hardware of our project uses LCDs these lcds are ideal for displaying only characters. 16×4 character, lcd display is an optional At the heart of the adapter is an 8-bit I/O expander chip - PCF8574. This chip converts the I2C data from an Arduino into the parallel data required for an LCD display. These modules are currently supplied with a default I2C address of either 0x27 or 0x3F.
Click here for code : drive.google.com/file/d/1oeo8...
OUR Other popular videos
1. How to make pcb board, studio.kzread.infoj142...
2. DC Motor Speed Control using Arduino and L298 with 3 Push buttons
• How To Make a DC Motor...
3. Arduino Robot car with Horn, Front & Back Lights using Arduino UNO
• How To Make Arduino Ro...
4. Automaterd #Car #Parking System Using #Arduino Uno R3
• Completly Explained Au...
5.IOT Based Smart+Automatic Irrigation System with Node MCU(ESP8266)
• IOT Based Smart+Automa...
6.Home automation using NodeMCU and Blynk App - IOT based Project
hrbembedded & craft will make arduino projects and crafts uploads regularly
Subscribe us For More Videos
subscribe to my channel kzread.info/dron/sxt.html...
Follw on facebook : profile.php?...
Follow on Instagram : / bhadrappahr
Thanks for watching, please do subscribe!!
Regards
Bhadrappa H.R
9036828801 Whattsapp only
Follw on facebook : profile.php?...
Follow on Instagram : / bhadrappahr
Пікірлер: 60
Incredible work Possibly for DC too....!
@hrbembedded_craft
3 күн бұрын
No this module is for AC Only
nice project sir😇
Its work. Thank you.🙏🙏
@hrbembedded_craft
7 ай бұрын
Welcome 👍
Can you please make the same project for 3 phase power measurement?
Nice video, but please remove music on your next video. Not only is it simply not needed, I can barely hear you over the music. It's a complete distraction.
Good Supa
Need the assembled one how much it will cost for measuring solar plant at home
👏🏻
How to improve pf. I build this. When i add capacitor to supply pf goes down , why? Example, if i running a small device and its pf value is .55, when i added a 45mfd capacitor to suppy its goes down like .40 , as i searched about this, if i add capacitor pf should increase then why its decreasing.
@hrbembedded_craft
6 ай бұрын
Here, type of load is concerned. May be pf goes leading. Capacitor value shold be caculated to get required pf. Refer chart its available in google
Can I also use esp 32s module for this. I had a code,which was compatible with Arduino uno, now I am using esp32s and it is showing a lot of compilation errors.please help me
@hrbembedded_craft
4 ай бұрын
WhatsApp 9036828801
hello when i use the code their is error it is Error compiling for board NodeMCU 1.0 (ESP-12E Module). can you help me
@hrbembedded_craft
8 ай бұрын
Watch my video kzread.info/dash/bejne/anV10ZJpg9WahJs.htmlsi=P2VjdJn-sEDk6CFL
How blynk workspace is made for this project? Please explain.
@hrbembedded_craft
4 ай бұрын
First setup blynk in desktop then copy credentials
By using this ,can we calculate energy consumption in 4 months? if yes ,how ? Please answer me sir
@hrbembedded_craft
11 ай бұрын
Not necessary Module itself stores consumption
Could we use the ESP32 in this project ?
@hrbembedded_craft
7 ай бұрын
yes
Can we have this solution for dc bi-directional measurement too?
@hrbembedded_craft
9 ай бұрын
Particularly pzem is meant for oAC circuit only, for we need other components like current sensor and voltage sensor, programme should be altered
Can you please add date tracking features? Thanks
@hrbembedded_craft
9 ай бұрын
Its already done
Which library to use for LiquidCrystal_I2C to manage brightness?
@hrbembedded_craft
4 ай бұрын
Brightness is fixed, u can vary the contrast by pot available in i2c board itself
@marcosepe7595
4 ай бұрын
yes I know...in fact I would need to lower the brightness...too bright. At maximum contrast you can read little@@hrbembedded_craft
What is the cable that through to current coil?
@hrbembedded_craft
6 ай бұрын
Depend on your load not more than 5amps
So what if we did this for arduino?
@hrbembedded_craft
10 ай бұрын
node mcu esp8266 itself family of arduino
Is the value measured in Pzem004t in seconds or minutes? Because I have 209 volts, 0.032 amps. And if that's hourly, it's almost hourly Doing 500 watts
@hrbembedded_craft
Ай бұрын
Measured in hours
@rasittastan
Ай бұрын
@hrbembedded_craft thank you very much. Because I thought these values were in seconds. as I said, if they are in seconds, the values are too much. I have a question in my mind now. For example, if I want to learn these results per minute, do I need to divide all the values in the code by 60. because for example, my hair dryer says 1500 watts on the label and measured 220V- 7A on the pzemde. what should I do if I want to print this on the screen as the power consumed per minute?
Will keb people allow us to install this system
@hrbembedded_craft
Жыл бұрын
They will do shortly
Sir, how you calculate power factor?
@hrbembedded_craft
11 ай бұрын
Module itself calculate PF
But does it calculate and store total power consumed
@hrbembedded_craft
Жыл бұрын
Yes
@hrbembedded_craft
Жыл бұрын
It's already shown
sir can you please share the video of how to setup the blynk application?
@gururajhooli201
4 ай бұрын
for this project
Can I make for dc volt
@hrbembedded_craft
9 ай бұрын
Yes using dc quantity sensors for arduino board
list of components required for this project ?
@hrbembedded_craft
Ай бұрын
Its in ckt diagram
KWH doesn't seem to be working for me.
@hrbembedded_craft
5 ай бұрын
u have to initiate this float energy = pzem.energy(); if( !isnan(energy) ){ Serial.print("Energy: "); Serial.print(energy, 3); Serial.println("kWh"); lcd.setCursor(12,2); lcd.print(" Kwh"); lcd.setCursor(12,2); lcd.print(energy,3); } else { Serial.println("Error reading energy"); } watch the code once
@marcosepe7595
5 ай бұрын
Infatti, nel mio caso restituisce 3 cifre prima del punto
@hrbembedded_craft
5 ай бұрын
(energy,3);
Hi Can u sent programme fike for some projects If u can please reply i contact u
@hrbembedded_craft
Ай бұрын
Yes we'll try
Code file is not opening Sir..Please provide code
@hrbembedded_craft
7 ай бұрын
please check once again it is working for others
Code please
@hrbembedded_craft
11 ай бұрын
Given in the discription
@kushalp8166
11 ай бұрын
@@hrbembedded_craft thanks!