IoT Based Smart Electricity Energy Meter using ESP8266 & Blynk Application
ฝัง
- เผยแพร่เมื่อ 19 พ.ค. 2024
- 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.th-cam.com/users/videoj142...
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 th-cam.com/channels/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 - วิทยาศาสตร์และเทคโนโลยี
nice project sir😇
Good Supa
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.
Its work. Thank you.🙏🙏
Welcome 👍
Can you please add date tracking features? Thanks
Its already done
Can we have this solution for dc bi-directional measurement too?
Particularly pzem is meant for oAC circuit only, for we need other components like current sensor and voltage sensor, programme should be altered
list of components required for this project ?
By using this ,can we calculate energy consumption in 4 months? if yes ,how ? Please answer me sir
Not necessary Module itself stores consumption
How blynk workspace is made for this project? Please explain.
First setup blynk in desktop then copy credentials
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.
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
So what if we did this for arduino?
node mcu esp8266 itself family of arduino
Could we use the ESP32 in this project ?
yes
Sir, how you calculate power factor?
Module itself calculate PF
Which library to use for LiquidCrystal_I2C to manage brightness?
Brightness is fixed, u can vary the contrast by pot available in i2c board itself
yes I know...in fact I would need to lower the brightness...too bright.
At maximum contrast you can read little@@hrbembedded_craft
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
Watch my video th-cam.com/video/8AAo00Sr4T8/w-d-xo.htmlsi=P2VjdJn-sEDk6CFL
But does it calculate and store total power consumed
Yes
It's already shown
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
WhatsApp 9036828801
What is the cable that through to current coil?
Depend on your load not more than 5amps
Will keb people allow us to install this system
They will do shortly
sir can you please share the video of how to setup the blynk application?
for this project
Can I make for dc volt
Yes using dc quantity sensors for arduino board
KWH doesn't seem to be working for me.
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
Infatti, nel mio caso restituisce 3 cifre prima del punto
(energy,3);
Code please
Given in the discription
@@hrbembedded_craft thanks!
Code file is not opening Sir..Please provide code
please check once again it is working for others