IoT Smart Electricity Energy Meter using ESP32 & Blynk 2.0
ฝัง
- เผยแพร่เมื่อ 17 พ.ค. 2024
- Register and get $100 from NextPCB:
www.nextpcb.com/register?code...
Online Components Store:
www.hqonline.com/?code=Htoele...
𝗣𝗿𝗼𝗷𝗲𝗰𝘁 𝗗𝗲𝘀𝗰𝗿𝗶𝗽𝘁𝗶𝗼𝗻:
Almost a year and a half ago, I developed an Energy Meter project using the Blynk application. For that, I used the SCT-013 Current Sensor and the ZMPT101B Voltage Sensor. These sensors were pretty accurate in reading the current value, voltage value, as well as power, and total energy consumed. However, the Blynk application recently underwent an update, rendering it unusable for this project. As a result, I decided to rebuild the project using the newly updated Blynk 2.0 application.
In this project, we will build an IoT-based Smart Electricity Energy Meter using the ESP32 and the newly updated Blynk 2.0 application. By using the best current sensor SCT-013 and voltage sensor ZMPT101B, we can measure voltage, current, power, and total energy consumed in kWh. The readings will be sent to the Blynk 2.0 application and displayed on a dashboard accessible from any location. In case of power outages, the energy meter data will be stored in the ESP32’s EEPROM memory, thus ensuring that the readings are not lost and are continuous. Let's start our project to automate electricity consumption monitoring.
𝗦𝗼𝘂𝗿𝗰𝗲 𝗖𝗼𝗱𝗲 & 𝗪𝗿𝗶𝘁𝘁𝗲𝗻 𝗧𝘂𝘁𝗼𝗿𝗶𝗮𝗹: how2electronics.com/iot-smart...
....................................................................................................................................................................................................................................
Drop a like if you liked this video.
Don't forget to subscribe to our channel for more Electronics projects and tutorials.
Website: www.how2electronics.com
Facebook: / howtoelectronics
Instagram: / howtoelectronics
Twitter: / how2electronics - วิทยาศาสตร์และเทคโนโลยี
hi nice project but can we configure it to read power and energy in bidirectional mode.
Well done, nice and easy one
Nice One but whats the Capacitor voltage you used cause it only shows the 10uf on the circuit???
This is Awesome project 👍
Is it permissible to change the calibration factor in the code?
this line I mean:
#define vCalibration 200
#define currCalibration 0.50
hi, So i want to display the power consumption price also, with time to time varying the unit price of Government updates. so how can i add this part in the code. please let me know. Because i want to do the project in campus. And also i want connect with this solar and want to calculate that power consumption also. So please help me
Can you make the same project for 3 phase power monitoring?
Can you share where did you make circuit simulation
how is it , with three phases,? that is to say with 3 three current sensors and three voltage
Uhm what are the jumper cables did u use??
do you mind sharing the pub design for this 2.0 version
let's assume the wifi is faulty but there is power, does it have local (Offline Storage) that can be used during this time, so that when the wifi is back on it just syncs up? or does it just resume from where it lost connection?
yes the esp32 is having the eeprom of 512bytes so it can also save things
i am facing an issue i compile this program and upload ESP32 ardunio module.Iused lcd 20*4 but nothing show in display of lcd . Any one suggest me
hi, i need help. i only connect the esp32. but the voltage still reading at 5V. but i dont connect any voltage and current sensor
di you fix the problem?? i have the same issue
How to send current measure to email use in ESP32 board
Hello, can I please have the file for your schematic and pcb show in the video?
Sir, to measure the voltage of each device connected to nodemcuesp8266 is possible ?
yes buyt it is costly
Thanks for sharing
Mam i have esp 32 V1, but you are used V4. Will any problem come with V1?
no just change an the code
Hello. I am not able to find the correct EEPROM library for the ESP32, I tried several, could you help me. Please.
Hi there was minor bug in the code. I fixed it and updated few hours ago. Try the new code now, it works.
@@HowtoElectronics OK! I will test it, thank you very much. 👏
Pls tell us that how to connect blynk app after 4 virtual variable pin set and code to get output
get the blink authiticating code
ma'am can use the Emonlib to measure only voltage, i dont need the current
yes just remove the current part
Can we add the a module of showing a real time price occuring while using the power electricity
Check the latest video. Its there.
olá, ótimo projeto, vc pode me ajudar, como eu poderia colocar uma linha de comando para calcular os gastos de energia? aproveitando o mesmo programa.
I have doubt on the resistor value u said 10k and 100ohm but in fig 100e is there
100e and 100ohm are same thing.
its 2 10k and one 22 ohm
can we use ACS712 current sensor?
Did you it ? I'm trying here but I failed
Mam how much maximum distance we can see parameter value mam..
Any where in the world if esp32 connect with wifi
Hie sir/ma'am
Ur work is too good
I need help from ur side ma'am
From last one month I trying to connect esp32/esp8266 to blynk but it is not connecting but it is connecting to wifi so please help me out Monday I will be having project review
How can we fix board error while compiling the code on Arduino IDE?
can you tell me what error you are getting
code is no compiling for selected board ARDUINO UNO@@beastscientist
Vro how can I get auth code
can i reset the values of KWh by just click on esp32 reset button?
With this current code, you cannot.
You may need some modifications in the code to reset the Kwh value using an external push button.
Can You Guide Me Mam?
How do you install ESP32 dev board module
ide
eepromstate(); was not declared in scope showing an error while compiling
I have updated the code and fixed the issue. You can try with new code now.
A circuit to prevent power pumping into the network with an on grid system
more explanation need for better asistance
I am making Same project but on Home Assistant not using blynk 2.0 because of free version support max 2 devices
no you can add upto 10 devices
For everyone whos checking out this project, be aware of the following:
1.The code used in the linked webpage is masking APPARENT POWER into REAL POWER and thats completely wrong.
2. Whats worse is that the energy calculation in the code takes apparent power as real power sooo guess what? the energy calculation is also wrong.
3. The ZMPT module introduces a phase shift in the voltage signal. This is because on the secondary side the signal is fed into an amplifier. This doesnt affect RMS voltage readings at all but it completely screws up the REAL POWER calculation.
Im not saying this is a bad project at all, it works pretty well to get VRMS,IRMS and Apparent Power readings however forget about calculating real power, power factor and energy because as I said earlier, this is screwed up by the ZMPT module itself.. You may try to correct that phase shift by software but I cant guarantee you will get decent accuracy in the readings. If you want to calculate real power then you should use a crude step-down transformer.
Why is irms equal to zero?
di you fix the problem?? i have the same issue
Awesome project but power is not accurate
How to power thr circuit without using usb cable
just use the power pins
How to use it for 3 ph energy
use one phase and do the changes according to your reaquirment an the code for more information contacat me
Please make an video for oxygen monitoring system for home with oxygen sensor
Please share the link for buying oxygen sensor.
its easy i alreday had it
Ap Ki mail id mil skte ha programming K hawale se bat krne ha
Reminder
Admin@how2electronics.com
please modify the code....still it is not working...code is complied and uploaded but the result is not coming....after the power cut it is still starts from zero itself
Hello
👍
why do my lcd doesnt output anything
Adjust the contrast using the potentiometer at the back of the display.
Or it could be the I2C address issues, the LCD display has 2 i2c address, please check and modify the i2c address in code.
@@HowtoElectronics ma'am can you provide the i2c library link
Mam i need you help to setup esp32 file
what file little explanation
A fatal error occurred: Failed to connect to ESP32: No serial data received.
Did you resolve it?
@@BEAST-gf8fm i used another laptop...and i didn't face the issue 🙂
@@yougetchandan is this working properly or did you face any issues..
Driver issue
its clearly not working why you are wasting other people time
i made this same project it doesn't calculate apms power in your vid its clear that its not working
put 10w load bulb and its not reflating in app
SHOW PROOF WITH HIGH LOAD
No detail explanation in programming