IoT Based Smart Electricity Energy Meter using ESP32 & Blynk Application

  Переглядів 239,897

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

КОМЕНТАРІ: 293
@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?
@fathonianwar3131
@fathonianwar3131 2 роки тому
How if I want to measure 3 phase current and voltage using that sensor? What pin will I use?
@user-hh6cn5uv8e
@user-hh6cn5uv8e 7 місяців тому
what is calibration factors here and how you found these values mam?
@fjlsdjsld
@fjlsdjsld 2 роки тому
is your system also do the energy savings or just read the energy? and the application only showing the sensor measurement?
@masumbiswas7846
@masumbiswas7846 8 місяців тому
how we reset it after every month? recoding the whole? How to add a reset button?
@ha__19-ch1mg
@ha__19-ch1mg 8 місяців тому
How much it costs?
@rajatsankhla9261
@rajatsankhla9261 Рік тому
Will your program measure the power if any phase difference is associated?
@mosesakpan311
@mosesakpan311 2 роки тому
Oh!! What an excellent project I really love it
@deepujoy3809
@deepujoy3809 2 роки тому
But not sure if it is considering of power factor because that factor also affects KWh
@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
@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
@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.
@sunshineroy4668
@sunshineroy4668 2 роки тому
I saw an extra variable resister on breadboard circuit ,you did not mentioned it ‘s value. Please kindly mention the value.
@HafeeezBhutta
@HafeeezBhutta 3 роки тому
How to connect 16x2 LCD module 12C adapter with esp32??
@firdausjo
@firdausjo 3 роки тому
is it possible to use GPIO10 and GPIO9 as analog input?
@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
@akashnagaria9141
@akashnagaria9141 2 роки тому
3:00 current sensor 4:02 voltage sensor
@1_KAIDO
@1_KAIDO 2 роки тому
Thx
@oviya1317
@oviya1317 2 роки тому
The 100 ampere current sensor eill also output 1 Volt at the output???.
@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.
@420ZEO
@420ZEO Рік тому
Please tell me what changes do we need to make to measure for Dc voltage less than 50 volts
@juanm4768
@juanm4768 2 роки тому
how to calibrate in ide arduino the voltages and currents for example that appear 220v and the real current?
@Atom586
@Atom586 2 роки тому
hi, i have tried, but the current sensor, not have responsive read the current yet, how can i fixed it?
@varunkrishnan5208
@varunkrishnan5208 7 місяців тому
Instead of sct103 can i use acp712??
@simonmasters3295
@simonmasters3295 5 місяців тому
I don't know... Did you find out?
@user-ic3fs6qw1c
@user-ic3fs6qw1c 2 роки тому
Is the code below the programming video effective?
@abusukar
@abusukar Рік тому
Hi There is a resistance in the drawing 100E what does it mean ?
@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.
@rays.2480
@rays.2480 3 місяці тому
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.
@iiTzHawkeye
@iiTzHawkeye Рік тому
Could this work for industrial machine , to calculate power consumption
@nirmayibollinedi8494
@nirmayibollinedi8494 2 роки тому
What all libraries are to be installed to perform this experiment ??
@francescoifi6676
@francescoifi6676 3 роки тому
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.
@Lisalisa-kx9fw
@Lisalisa-kx9fw 3 роки тому
This is really useful. Thank you so much 😊😊😊 for this video.
@madhusudan4420
@madhusudan4420 3 роки тому
How to check ct sensor and voltage sensor is working or not ? Please help me
@sarthakrupnawar3125
@sarthakrupnawar3125 10 місяців тому
Can I use different current sensor instead of sct013, will it works
@sajinraj-jy3rf
@sajinraj-jy3rf Рік тому
Sir, to measure the voltage of each device connected to nodemcuesp8266 is possible ?
@shadowreapermm7548
@shadowreapermm7548 6 місяців тому
What is the name of the type of globe holder used here? I can't find it anywhere.
@abhijeetbyte
@abhijeetbyte 2 роки тому
Hi, what will happens when the board restart does it start Kwh counting from 0 or continue where it stopped ?
@user-gq6ml3jb8y
@user-gq6ml3jb8y 5 місяців тому
can we use any other sensor instead of sct 103
@srikumarc
@srikumarc Рік тому
Excellent project. congratulations How to measure 3 phase power? can you please help?
@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.
@hk1mini702
@hk1mini702 2 роки тому
Can you show the circuit diagram of lcd display connection to the node mcu please
@tangentmotovlogs840
@tangentmotovlogs840 7 днів тому
Mam can I use HC05 Bluetooth module instead of ESP32
@satirthapaulshyam7769
@satirthapaulshyam7769 2 роки тому
How did you measure pf
@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..
@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
@subhadrapokhrel4514
@subhadrapokhrel4514 3 роки тому
Very useful project 👍 and Greatttt video Keep it up! How to electronics team.
@erienortiz7959
@erienortiz7959 3 роки тому
Excelente proyecto. ¿El código fuente cambia si utilizo una tarjeta Wemos ESP32 D1 R32?.
@fontemwisdom9353
@fontemwisdom9353 Рік тому
What a wonderful project . I what to ask for a code that I use if I add keypad to the system
@boopeshkumarprabhakaran
@boopeshkumarprabhakaran 2 роки тому
What about for 3 phase power supply?
@deepujoy3809
@deepujoy3809 2 роки тому
Wow! simply explained👍
@allinonetech9990
@allinonetech9990 Місяць тому
How to setup display
@bibinpaulose9184
@bibinpaulose9184 3 роки тому
bro what is the range of the potentiometer
@TheAhsanxXx
@TheAhsanxXx 2 роки тому
why your reading are incorrect? how to calibrate to get correct readings
@TopN5Tech
@TopN5Tech 2 роки тому
Please add the circuit diagram to lcd display please
@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.
@danuazhar2147
@danuazhar2147 3 роки тому
i tried it, but the value of the parameters shown zero. please help me:(
@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
@pranaysharma1255
@pranaysharma1255 2 роки тому
It is really cool project And the quality your video is really damn awesome!!!!
@lanuzacruzcarlosenrique8848
@lanuzacruzcarlosenrique8848 Рік тому
can i use a mcu esp-8266?
@shadowforce6347
@shadowforce6347 2 роки тому
My blynk app is not showing values why
@jyotiranjansingh7341
@jyotiranjansingh7341 3 місяці тому
Can you help for dc voltage and current
@MrAlsan
@MrAlsan 3 роки тому
Really helpful tutorial
@360gamingwizard2
@360gamingwizard2 2 роки тому
great job, just subbed
@Sreehari-eg7lf
@Sreehari-eg7lf Рік тому
can i use ESP8266 instead of ESP32 ??? , please give me replay
@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
@MohitKumar-dl4sh
@MohitKumar-dl4sh 2 роки тому
Can you tell me you to do this with new blynk app
@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.
@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
@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?
@digitaldiaries9415
@digitaldiaries9415 2 роки тому
Please show the complete circuit with LCD screen connection
@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.
@Shubham-po2tp
@Shubham-po2tp Рік тому
What about Power factor calculation
@user-hj1vb9xd7x
@user-hj1vb9xd7x 8 місяців тому
Sister i want full details and documentataion of this project plz😢
@simonmasters3295
@simonmasters3295 5 місяців тому
Follow the link. It's all there
@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.
@madhusudan4420
@madhusudan4420 3 роки тому
How to make with 3 phase power meter? Please reply 🥺🥺🥺
@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! 😂
@prajwalithape4751
@prajwalithape4751 2 місяці тому
can you provide report on this project
@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
@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
@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.
@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
@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
@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?
@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.
@spoiler407
@spoiler407 2 роки тому
i need to buy this project what is the cost ???
@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...
@sajidmanzoor3606
@sajidmanzoor3606 2 роки тому
Hy i need pcb of this how i can get this.plz help me
@rahulk3209
@rahulk3209 2 роки тому
Can u share the block diagram of this?
@pelless
@pelless Рік тому
In 202 feb blynk had an update,added templates,can you update the code?
@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 🙏
@bongmacambodia1031
@bongmacambodia1031 2 роки тому
Love your voice sounds beautiful sound 🤩🤩
@maainoreddinemohamedelamin925
@maainoreddinemohamedelamin925 5 місяців тому
Plz where id the source of energy is 220
@bipinchauhan9376
@bipinchauhan9376 5 місяців тому
very helpful video. THANK U
@damyslap
@damyslap 5 місяців тому
super.. i very interest. i ask you if can 150A? i very need 150A current. thank you
@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
@meisyarohazzahra8420
@meisyarohazzahra8420 Рік тому
may i know what software is used to make the design diagram?
@HowtoElectronics
@HowtoElectronics Рік тому
Download frtizing software from fritzing.org
@rubab0066
@rubab0066 2 роки тому
Can someone please guide me how can i contact them for any error occurring in my code ?
@TDROFFICIALVIDEO1
@TDROFFICIALVIDEO1 2 роки тому
Can you help me for making this project?
@subhankarpradhan4821
@subhankarpradhan4821 2 місяці тому
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
IoT based Smart Energy Meter using ESP32 & Google Sheet | Google Spreadsheet
9:35
DIY ESP32 AC Power Meter (with Home Assistant/Automation Integration)
10:58
Помилка,  яку зробило військове керівництво 🙄
01:00
Радіо Байрактар
Переглядів 451 тис.
Эффект Карбонаро и пончики
01:01
История одного вокалиста
Переглядів 7 млн
10 заповедей по пайке. Учимся паять
12:05
IoT Smart Electricity Energy Meter using ESP32 & Blynk 2.0
8:47
How To Electronics
Переглядів 54 тис.
15 Brilliant IoT Projects for Beginners!
9:25
ToP Projects Compilation
Переглядів 757 тис.
Making an Energy Monitoring System
7:17
Alija Bobija
Переглядів 21 тис.
Smart Hybrid Energy Management System Using Arduino || Code & Circuit
8:41
The Bright Light
Переглядів 6 тис.
New Blynk IOT Smart Plant Monitoring System
16:54
Viral Science - The home of Creativity
Переглядів 313 тис.
inventor aw - This Device is very helpful ,, you can make at home
6:47
Electrician Reacts to Styropyro's🔌AMPS vs VOLTS⚡
15:26
thinkLIST
Переглядів 323 тис.
Распаковал Xiaomi SU7
0:59
Wylsacom
Переглядів 2 млн
Subscribe for more Coding Tips! 🔥I wish I knew this When Istarted Programming #school #software
0:34