IoT Based Smart Electricity Energy Meter using ESP32 & Blynk Application

  Переглядів 237,225

How To Electronics

How To Electronics

День тому

Register and get $100 from NextPCB:
www.nextpcb.com/register?code...
PCB Assembly capabilities info:
www.nextpcb.com/pcb-assembly-...
𝗣𝗿𝗼𝗷𝗲𝗰𝘁 𝗗𝗲𝘀𝗰𝗿𝗶𝗽𝘁𝗶𝗼𝗻:
In this project, we will learn how to make our own IoT Based Electricity Energy Meter using ESP32 & monitor data on the Blynk Application. 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. 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, why not build our own IoT Based Electricity Energy Meter?
We need to select the current sensor as well as the voltage sensor so that the current & voltage can be measured and thus we can know about the power consumption & total power consumed. The best current sensor available in the market is SCT-013. This is SCT-013 Non-Invasive AC Current Sensor Split Core Type Clamp Meter Sensor which can be used to measure AC current up to 100 amperes. Similarly, the best voltage sensor is the AC Voltage Sensor Module ZMPT101B. The ZMPT101B AC Voltage Sensor is the best where we need to measure the accurate AC voltage with a voltage transformer.
Using the SCT-013 Current Sensor & ZMPT101B Voltage Sensor, we can measure the all required parameters needed for Electricity Energy Meter. We will interface the SCT-013 Current Sensor & ZMPT101B Voltage Sensor with ESP32 Wifi Module & Send the data to Blynk Application. The Blynk Application Dashboard will display the Voltage, Current, Power & total unit consumed in kWh.
Source Code + Schematic + PCB Link: how2electronics.com/iot-based...
....................................................................................................................................................................................................................................
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: / electronicsbyalex
Instagram: / how2electronics

КОМЕНТАРІ: 291
@killua7963
@killua7963 2 роки тому
Thanks for this. Just a doubt. Will this work with 3 phase supply? If not, what should be added to make it work?
@ManishGpt
@ManishGpt 3 роки тому
Very informative as you express all the points in a very nice way.
@HowtoElectronics
@HowtoElectronics 3 роки тому
Glad to know you liked it.
@ashwinamani9076
@ashwinamani9076 Рік тому
May you kindly provide guidance on how to utilize this in a three-phase system?
@mosesakpan311
@mosesakpan311 2 роки тому
Oh!! What an excellent project I really love it
@fathonianwar3131
@fathonianwar3131 2 роки тому
How if I want to measure 3 phase current and voltage using that sensor? What pin will I use?
@fjlsdjsld
@fjlsdjsld Рік тому
is your system also do the energy savings or just read the energy? and the application only showing the sensor measurement?
@sunshineroy4668
@sunshineroy4668 2 роки тому
I saw an extra variable resister on breadboard circuit ,you did not mentioned it ‘s value. Please kindly mention the value.
@Lisalisa-kx9fw
@Lisalisa-kx9fw 3 роки тому
This is really useful. Thank you so much 😊😊😊 for this video.
@user-hh6cn5uv8e
@user-hh6cn5uv8e 7 місяців тому
what is calibration factors here and how you found these values mam?
@rajatsankhla9261
@rajatsankhla9261 Рік тому
Will your program measure the power if any phase difference is associated?
@faisal8815
@faisal8815 3 роки тому
Hi again, can you please let me know what are those value for in emon.calcVI(20, 2000); and here Serial.print(emon.Vrms, 2); are you referring to analog input? Also, because I'll not be using voltage sensor. Thank you so much
@deepujoy3809
@deepujoy3809 2 роки тому
Wow! simply explained👍
@masumbiswas7846
@masumbiswas7846 8 місяців тому
how we reset it after every month? recoding the whole? How to add a reset button?
@420ZEO
@420ZEO Рік тому
Please tell me what changes do we need to make to measure for Dc voltage less than 50 volts
@rays.2480
@rays.2480 2 місяці тому
Very nice. Is there a version of this for split phase use ? 120-0-120 also is there a way for this to be used with DC power for solar use? thank you.
@oviya1317
@oviya1317 2 роки тому
The 100 ampere current sensor eill also output 1 Volt at the output???.
@mohanvakil4604
@mohanvakil4604 2 роки тому
The CT clamped on wrong wire in your video, It should be on the wire in series with 'Lamp LOAD', but in video it is wrongly shown on voltage sensor input wire which is parallel to lamp. There fore you can not get the correct readings.
@MrAlsan
@MrAlsan 3 роки тому
Really helpful tutorial
@juanm4768
@juanm4768 2 роки тому
how to calibrate in ide arduino the voltages and currents for example that appear 220v and the real current?
@innovateyourself9851
@innovateyourself9851 3 роки тому
Thank you shraddha for this video. This was the most awaited video ❤️ your efforts are really appreciated ❤️
@HowtoElectronics
@HowtoElectronics 3 роки тому
Bro, its Shraddha not Shweta 😶. Anyway thanks for appreciation.
@innovateyourself9851
@innovateyourself9851 3 роки тому
@@HowtoElectronics ohh my mistake😅
@yantokajo7253
@yantokajo7253 2 роки тому
@@HowtoElectronics nice , thanks you sis
@dassajityadav5555
@dassajityadav5555 3 роки тому
Best ever project seen today by you thanks this is possible for 3 phase supply
@HowtoElectronics
@HowtoElectronics 3 роки тому
Thanks for the appreciation. The current sensor and voltage sensor is only for single phase. For three phase we need to use some other voltage current sensor.
@dassajityadav5555
@dassajityadav5555 3 роки тому
@@HowtoElectronics ok sir seperate 3 we can use for voltage same for current
@nazmussakib4027
@nazmussakib4027 2 роки тому
It's a great project! Do you have any report on this project. I am willing to work on this for future. If you have than do a reply please. Thanks.
@HafeeezBhutta
@HafeeezBhutta 3 роки тому
How to connect 16x2 LCD module 12C adapter with esp32??
@user-ic3fs6qw1c
@user-ic3fs6qw1c 2 роки тому
Is the code below the programming video effective?
@subhadrapokhrel4514
@subhadrapokhrel4514 3 роки тому
Very useful project 👍 and Greatttt video Keep it up! How to electronics team.
@Atom586
@Atom586 2 роки тому
hi, i have tried, but the current sensor, not have responsive read the current yet, how can i fixed it?
@deepujoy3809
@deepujoy3809 2 роки тому
But not sure if it is considering of power factor because that factor also affects KWh
@hk1mini702
@hk1mini702 2 роки тому
Can you show the circuit diagram of lcd display connection to the node mcu please
@firdausjo
@firdausjo 3 роки тому
is it possible to use GPIO10 and GPIO9 as analog input?
@bipinchauhan9376
@bipinchauhan9376 4 місяці тому
very helpful video. THANK U
@nirmayibollinedi8494
@nirmayibollinedi8494 2 роки тому
What all libraries are to be installed to perform this experiment ??
@pranaysharma1255
@pranaysharma1255 2 роки тому
It is really cool project And the quality your video is really damn awesome!!!!
@iiTzHawkeye
@iiTzHawkeye Рік тому
Could this work for industrial machine , to calculate power consumption
@boopeshkumarprabhakaran
@boopeshkumarprabhakaran 2 роки тому
What about for 3 phase power supply?
@francescoifi6676
@francescoifi6676 2 роки тому
Hi. Could you help me? I have small power surges ie VRMS and IRMS.It mostly happens to me when I turn on the blink application How can I fix it. Thanks in advance.
@abusukar
@abusukar Рік тому
Hi There is a resistance in the drawing 100E what does it mean ?
@360gamingwizard2
@360gamingwizard2 2 роки тому
great job, just subbed
@madhusudan4420
@madhusudan4420 3 роки тому
How to check ct sensor and voltage sensor is working or not ? Please help me
@akashnagaria9141
@akashnagaria9141 2 роки тому
3:00 current sensor 4:02 voltage sensor
@1_KAIDO
@1_KAIDO 2 роки тому
Thx
@digitaldiaries9415
@digitaldiaries9415 2 роки тому
Please show the complete circuit with LCD screen connection
@shadowreapermm7548
@shadowreapermm7548 5 місяців тому
What is the name of the type of globe holder used here? I can't find it anywhere.
@sarthakrupnawar3125
@sarthakrupnawar3125 9 місяців тому
Can I use different current sensor instead of sct013, will it works
@fontemwisdom9353
@fontemwisdom9353 Рік тому
What a wonderful project . I what to ask for a code that I use if I add keypad to the system
@sajinraj-jy3rf
@sajinraj-jy3rf Рік тому
Sir, to measure the voltage of each device connected to nodemcuesp8266 is possible ?
@srikumarc
@srikumarc Рік тому
Excellent project. congratulations How to measure 3 phase power? can you please help?
@jephtah737
@jephtah737 3 роки тому
Good video, i need to understand something, the GPIO pin of the esp32 is 0 to 3.3v logic level and the voltage transformer is 0 to 5v, so the question is how do you manage the this voltage level incompatibility in the esp32 ADC ?
@BLOCKsignallingUK
@BLOCKsignallingUK 2 роки тому
The two 100k resistors make a voltage divide by 2, so with Vcc at 5V, the mid point of the resistors is 2.5V. The 2.5V is fed to the ADC input via the 100R resistor. The current clamp is across the 100R resistor and when the clamp measures a current it generates a voltage across the 100R resitor, adding (or subtracting depending on the ac cycle) to the 2.5V. So the 2.5V could vary between 1.5V and 3.5V with 100A flowing through the clamp. The 10uF is probably for noise supression. That is my thinking anyway. Let me know if I have misunderstood.
@mohanvakil4604
@mohanvakil4604 2 роки тому
no pin other than ADC (ADC0) can be used to measure analog voltage, as the CT & Voltage transformer has Voltage output(i.e. Analog). As we all know there is only one pin there on NodeMCU ESP8266 to measure analog signals, which is not at all used in the above schematic.
@BLOCKsignallingUK
@BLOCKsignallingUK 2 роки тому
@@mohanvakil4604 The ESP32 is used here.
@kandesigner
@kandesigner 2 роки тому
Very legit question with no answer yet
@leonvilfand2192
@leonvilfand2192 2 роки тому
In the video, we can see the USB cable connected to the ESP32 chip. Is this to provide the DC supply for the chip? Could we use the output of ZMPT101B with a basic AC-DC rectifier circuit to power up the ESP32 chip? Or this would affect the measured power quality? Thanks.
@HowtoElectronics
@HowtoElectronics 2 роки тому
Use any 5V DC adapter to power ESp32 board or a usb cable or any Ac to 5V Dc converter. Al of them should work great.
@simonmasters3295
@simonmasters3295 5 місяців тому
Don't go there! The live AC is connected at one end.
@aashutosh3721
@aashutosh3721 5 місяців тому
First of all Its very nice project and explain every thing in video and website... but i have a question, what was the % accuracy you got in voltage range (200 - 250)V please reply..
@TopN5Tech
@TopN5Tech 2 роки тому
Please add the circuit diagram to lcd display please
@ujang0711
@ujang0711 Рік тому
Hi! Thank you for this instructional video. Can you show us how to do the calibration of current and voltage
@pauljackson2126
@pauljackson2126 Рік тому
use a 200W and a 60W filament bulb in parallel and measure the current using a multimeter. In my test, it showed that this setup draws 1.03A AC, so hence you can calibrate your current clamp accurately by fiddling the current calibration value accrodingly Now to calibrate the voltage, its a simple task of fideling the calibration value till you hit the sweet spot
@ujang0711
@ujang0711 Рік тому
@@pauljackson2126 thank you sir for your helpful comment. I appreciate it
@erienortiz7959
@erienortiz7959 3 роки тому
Excelente proyecto. ¿El código fuente cambia si utilizo una tarjeta Wemos ESP32 D1 R32?.
@user-gq6ml3jb8y
@user-gq6ml3jb8y 4 місяці тому
can we use any other sensor instead of sct 103
@bongmacambodia1031
@bongmacambodia1031 2 роки тому
Love your voice sounds beautiful sound 🤩🤩
@meridianzipagan8353
@meridianzipagan8353 8 місяців тому
May i ask what board specifically did you choose in Arduino ide? Thank you
@simonmasters3295
@simonmasters3295 5 місяців тому
ESP32 surely, but you should select the board you want to use.
@MuhammadBilal-hz4qt
@MuhammadBilal-hz4qt 2 роки тому
i like ur video and downloaded it for further knowledge
@satirthapaulshyam7769
@satirthapaulshyam7769 2 роки тому
How did you measure pf
@abhijeetbyte
@abhijeetbyte 2 роки тому
Hi, what will happens when the board restart does it start Kwh counting from 0 or continue where it stopped ?
@jyotiranjansingh7341
@jyotiranjansingh7341 2 місяці тому
Can you help for dc voltage and current
@mehdik348
@mehdik348 Рік тому
Useful for me thank you
@binisol7353
@binisol7353 2 місяці тому
Great one. Just to know what capacitor voltage did you use cause it only says 10uf ?
@HowtoElectronics
@HowtoElectronics 2 місяці тому
10uF, 16V. Or you can use anything below 100V.
@geraldosocorro1186
@geraldosocorro1186 Рік тому
Please could you tell me which version of Blynk was used in this project and which other versions of brink this project will be compatible with. Thanks.
@HowtoElectronics
@HowtoElectronics Рік тому
This was done with old blynk app. The new blynk app is different from the old one.
@tubigkarat9456
@tubigkarat9456 Рік тому
How did you calibrate your sensors? I'm a student and I want to know how did you calibrate it. Hope you answer my question, it'll be a huge help for me.
@HowtoElectronics
@HowtoElectronics Рік тому
Calibration process is explained in website article
@bibinpaulose9184
@bibinpaulose9184 3 роки тому
bro what is the range of the potentiometer
@MohitKumar-dl4sh
@MohitKumar-dl4sh 2 роки тому
Can you tell me you to do this with new blynk app
@ha__19-ch1mg
@ha__19-ch1mg 8 місяців тому
How much it costs?
@lifeistolive3380
@lifeistolive3380 2 роки тому
Does this Consider power factor (something due to inductive/capacitive loads) ??
@chinmayraut2515
@chinmayraut2515 2 роки тому
For considering power factor, you have to switch to ADE7757 IC.
@sreetechnologys
@sreetechnologys 2 роки тому
What values of resisters should I use when using SCT013 30A/1V CURRENT SENSOR
@pauljackson2126
@pauljackson2126 Рік тому
just go with the similar values, then calibrate accordingly
@mohanvakil4604
@mohanvakil4604 2 роки тому
Please let me know How you are going to measure analog voltage on GPIO pins(GPIO09 & GPIO10 / SD2 &SD3), however no pin other than ADC (ADC0) can be used to measure analog voltage, as the CT & Voltage transformer has Voltage output(i.e. Analog). As we all know there is only one pin there on NodeMCU ESP8266 to measure analog signals, which is not at all used in the above schematic. Please explain
@Poshoo
@Poshoo 2 роки тому
She is using an ESP32, not an ESP 8266.
@simonmasters3295
@simonmasters3295 5 місяців тому
@Posho Exactly
@rahulk3209
@rahulk3209 2 роки тому
Can u share the block diagram of this?
@shadowreapermm7548
@shadowreapermm7548 6 місяців тому
it seems like the esp32 wifi range is only up to 200m. Would it be possible to extende the range to cover much greater distances? For instance, would it be possible to use networks that can transfer meter data across an entire country using WiFi, LAN or Mobile Data?
@simonmasters3295
@simonmasters3295 5 місяців тому
Only 200 metres! Jeeze what do you expect for 10 dollar?
@Shubham-po2tp
@Shubham-po2tp Рік тому
What about Power factor calculation
@Key-DIY
@Key-DIY 3 роки тому
Hi, Do you have any project for bi-directional DC or AC energy monitor using Blynk?
@simonmasters3295
@simonmasters3295 5 місяців тому
Does blynk not register negative values?
@sanjayraaj8167
@sanjayraaj8167 3 роки тому
Can we measure power consumption of seperate devices in home seperately and overall power consumption cumulatively?
@HowtoElectronics
@HowtoElectronics 3 роки тому
Yes you can either from the hardware end or through software
@mramzadg
@mramzadg 3 роки тому
Awesome project nice bro...
@varunkrishnan5208
@varunkrishnan5208 7 місяців тому
Instead of sct103 can i use acp712??
@simonmasters3295
@simonmasters3295 5 місяців тому
I don't know... Did you find out?
@TheAhsanxXx
@TheAhsanxXx 2 роки тому
why your reading are incorrect? how to calibrate to get correct readings
@Ashish-lb9cl
@Ashish-lb9cl Рік тому
hey please help,we cant connect the device to blynk app new version,the device isnt getting online,please help,what to do.
@ranjanpal7217
@ranjanpal7217 3 роки тому
Nice video..In video timer (3:58) you have cut one of the wires..How do we know which is the useless wire that we need to cut?
@HowtoElectronics
@HowtoElectronics 3 роки тому
The useless wire is not insulated and has thin bunch of wires. You can easily identify.
@ranjanpal7217
@ranjanpal7217 3 роки тому
@@HowtoElectronics Thanks a lot...Also, is it possible to connect the bare end of cut wire of SCT and that male header pin of ESP32 with a F-F jumper cable directly?
@HowtoElectronics
@HowtoElectronics 3 роки тому
Yes it is possible
@madhusudan4420
@madhusudan4420 3 роки тому
How to make with 3 phase power meter? Please reply 🥺🥺🥺
@jagadeesanjanarthanam5801
@jagadeesanjanarthanam5801 2 роки тому
What values of resistors should I use if I'm using SCT-013-15 that is 15A to 1V CT? Can you please let me know? Thanks.
@HowtoElectronics
@HowtoElectronics 2 роки тому
No need to change any resistors for any current sensor.
@jagadeesanjanarthanam5801
@jagadeesanjanarthanam5801 2 роки тому
@@HowtoElectronics Thank you so much 🙏
@johnkg702
@johnkg702 3 роки тому
Good day madam Thankyou for an informative viedio Can I use nod mcu insted of esp32 What changes should I make for using with nod mcu Johm
@technicaljourneywithpuneet
@technicaljourneywithpuneet 3 роки тому
Very Good 👌 I Subscribed 👍
@jagatheswaranp
@jagatheswaranp 2 роки тому
Can you please help me by making this only with current sensor, voltage 240v as standard voltage. By using current sensor alone is it possible to do the project
@mackb996yt3
@mackb996yt3 Рік тому
What I am thinking is In void loop Take the analogRead of the current sensor and serial println 240*analogRead
@simonmasters3295
@simonmasters3295 5 місяців тому
Absolutely! That's how the power company does it, surely! 😂
@subhankarpradhan4821
@subhankarpradhan4821 Місяць тому
Mam its my humble resquest to share to connection line diagram because i don't understand some connection of this project and also i don' t have any current sensor which you have, i have open connection sensor ... So please connection diagram with all of the component used in diagram .... Please reply mam
@saurabhzeple5970
@saurabhzeple5970 Рік тому
Shraddha.. your voice is amazing..... I saw this video again and again just for your voice and your project is too excellent...!🙂
@allinonetech9990
@allinonetech9990 Місяць тому
How to setup display
@Sekhar_Home
@Sekhar_Home 3 роки тому
Thanx lady.. for ur sweet voice information
@sukhpal3y
@sukhpal3y 2 роки тому
i am trying to make the same project. very disappointed because power factor reading are incorrect. there is no way to calibrate power factor reading.
@ronaldrepolona
@ronaldrepolona 2 роки тому
Sorry for the newbie question. I'm planning to add, additional SCT-01 Current Sensor as I want to monitor another line. Can i use other digital input and still use the same setup as this? do i need to change any values on the resistors, or capacitor. thanks in advance
@simonmasters3295
@simonmasters3295 5 місяців тому
Lookup the I2C specs of the sensor...I must do likewise. I don't think the code presented uses I2C. Google "SCT 013"
@prajwalithape4751
@prajwalithape4751 2 місяці тому
can you provide report on this project
@lanuzacruzcarlosenrique8848
@lanuzacruzcarlosenrique8848 Рік тому
can i use a mcu esp-8266?
@danuazhar2147
@danuazhar2147 3 роки тому
i tried it, but the value of the parameters shown zero. please help me:(
@famusic3997
@famusic3997 3 роки тому
Will the hardware and sensors be the same if I’m using DC source for the source of the load?
@HowtoElectronics
@HowtoElectronics 3 роки тому
That is ac current and voltage sensor. You cant use DC.
@famusic3997
@famusic3997 3 роки тому
@@HowtoElectronics what do you recommend for ac source other than home outlet?
@famusic3997
@famusic3997 3 роки тому
And thank you for the fast response
@chickenz4604
@chickenz4604 Рік тому
Very Nice Video! Can you recommend DC current sensor that can measure mA signal? thankyou
@simonmasters3295
@simonmasters3295 5 місяців тому
Haha. I just spent a day trying to find a sufficiently accurate solution. You need to measure mV across a fixed resistance shunt, and an op-amp to boost the mV (which may be negative or positive depending on the direction of current flow) to a signal between 0 - 3.3v that the ESP or Arduino can measure on an analogue input pin. That said my non-invasive meter has a DC voltage measurement, but I don't want to spend all day reading and recording the read-out. I think there is a code error which accounts for the zero kWh readings.
@tahakarbhari986
@tahakarbhari986 Рік тому
You provide valuable information. You explain all the things in a clear manner. However, now that Blynk 2.0 software is available, can you please explain the same code for Blynk 2.0.....?
@HowtoElectronics
@HowtoElectronics Рік тому
I will soon make another video with Blynk 2.0
@pelless
@pelless Рік тому
@@HowtoElectronics i will wait...
@gocchiase8785
@gocchiase8785 Рік тому
you make one using hsts016l sensor
@sajidmanzoor3606
@sajidmanzoor3606 2 роки тому
Hy i need pcb of this how i can get this.plz help me
@RicardoRamirez-xn6pk
@RicardoRamirez-xn6pk Рік тому
How can i make it work without the amperemeter. Also, there is a big diference between the new blynk app and the shown on the video, can you help me throught this?
@simonmasters3295
@simonmasters3295 5 місяців тому
No. You need to measure the amps and the elapsed time. You cannot get to amps from resistance because resistance is also varying with loads.
@damyslap
@damyslap 4 місяці тому
super.. i very interest. i ask you if can 150A? i very need 150A current. thank you
@muhamadazrulbinrazilanry4421
@muhamadazrulbinrazilanry4421 Рік тому
My project 🙊
IoT based Smart Energy Meter using ESP32 & Google Sheet | Google Spreadsheet
9:35
IoT Smart Electricity Energy Meter using ESP32 & Blynk 2.0
8:47
How To Electronics
Переглядів 51 тис.
Артем Пивоваров х Klavdia Petrivna - Барабан
03:16
Artem Pivovarov
Переглядів 862 тис.
SMART GADGET FOR COOL PARENTS ☔️
00:30
123 GO! HOUSE
Переглядів 18 млн
DIY ESP32 AC Power Meter (with Home Assistant/Automation Integration)
10:58
Build your own CT Clamp Power and Energy Monitor with ESPHome
9:34
Speak to the Geek
Переглядів 62 тис.
Simple Arduino Energy Meter | Volt -Amp meter 20 Amp
3:19
Tech Ideas
Переглядів 71 тис.
DIY Smart Distribution Board with Wi-Fi | IoT Arduino Project
11:29
Electrical Projects [CreativeLab]
Переглядів 416 тис.
DIY Home Energy Monitor & CT sensors explained
6:54
Simply Explained
Переглядів 138 тис.
Measuring AC Current with Arduino
19:29
misperry
Переглядів 69 тис.
Make a Solar Panel Monitoring System | ESP32 Energy Monitoring
9:35
Open Green Energy
Переглядів 102 тис.
Сомнительно... Ну Окэй... Распаковал Nothing Phone (2a)
16:19
РасПаковка ДваПаковка
Переглядів 53 тис.
Power AC Coolness with Anker SOLIX F3800
0:27
Anker SOLIX
Переглядів 3,1 млн
300 000 за🚀МОЩНЫЙ, Но МЕРТВЫЙ ноут из Китая. Ремонт cyberpowerpc tracer 7 EDGE. Нюансы китай ноутов.
46:12
ААНТ КОНТАКТ Сервис по ремонту техники в ЕКБ, СПБ
Переглядів 59 тис.