IoT Based Smart Electricity Energy Meter using ESP32 & Blynk Application
Ғылым және технология
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
Пікірлер: 297
Very informative as you express all the points in a very nice way.
@HowtoElectronics
3 жыл бұрын
Glad to know you liked it.
Oh!! What an excellent project I really love it
This is really useful. Thank you so much 😊😊😊 for this video.
I like your video, it's very clear, starting from the pictures of the circuit of each tool, device design, and program. I like it. Always healthy, good people❤
Thanks for this. Just a doubt. Will this work with 3 phase supply? If not, what should be added to make it work?
Wow! simply explained👍
May you kindly provide guidance on how to utilize this in a three-phase system?
very helpful video. THANK U
Really helpful tutorial
How if I want to measure 3 phase current and voltage using that sensor? What pin will I use?
Thank you shraddha for this video. This was the most awaited video ❤️ your efforts are really appreciated ❤️
@HowtoElectronics
3 жыл бұрын
Bro, its Shraddha not Shweta 😶. Anyway thanks for appreciation.
@innovateyourself9851
3 жыл бұрын
@@HowtoElectronics ohh my mistake😅
@yantokajo7253
2 жыл бұрын
@@HowtoElectronics nice , thanks you sis
is your system also do the energy savings or just read the energy? and the application only showing the sensor measurement?
Very useful project 👍 and Greatttt video Keep it up! How to electronics team.
i like ur video and downloaded it for further knowledge
Love your voice sounds beautiful sound 🤩🤩
It is really cool project And the quality your video is really damn awesome!!!!
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
Best ever project seen today by you thanks this is possible for 3 phase supply
@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
3 жыл бұрын
@@HowtoElectronics ok sir seperate 3 we can use for voltage same for current
The 100 ampere current sensor eill also output 1 Volt at the output???.
how to calibrate in ide arduino the voltages and currents for example that appear 220v and the real current?
3:00 current sensor 4:02 voltage sensor
@1_KAIDO
2 жыл бұрын
Thx
Please tell me what changes do we need to make to measure for Dc voltage less than 50 volts
Will your program measure the power if any phase difference is associated?
But not sure if it is considering of power factor because that factor also affects KWh
great job, just subbed
I saw an extra variable resister on breadboard circuit ,you did not mentioned it ‘s value. Please kindly mention the value.
Useful for me thank you
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.
hi, i have tried, but the current sensor, not have responsive read the current yet, how can i fixed it?
Is the code below the programming video effective?
madam just what i wanted and what a sweet voice you have
How to connect 16x2 LCD module 12C adapter with esp32??
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.
Please show the complete circuit with LCD screen connection
how we reset it after every month? recoding the whole? How to add a reset button?
Thanx lady.. for ur sweet voice information
Excellent project. congratulations How to measure 3 phase power? can you please help?
Hi There is a resistance in the drawing 100E what does it mean ?
Can you show the circuit diagram of lcd display connection to the node mcu please
What about for 3 phase power supply?
is it possible to use GPIO10 and GPIO9 as analog input?
Please add the circuit diagram to lcd display please
Hi, what will happens when the board restart does it start Kwh counting from 0 or continue where it stopped ?
How to check ct sensor and voltage sensor is working or not ? Please help me
What all libraries are to be installed to perform this experiment ??
Could this work for industrial machine , to calculate power consumption
How did you measure pf
can we use any other sensor instead of sct 103
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
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
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
2 жыл бұрын
@@mohanvakil4604 The ESP32 is used here.
@kandesigner
2 жыл бұрын
Very legit question with no answer yet
what is calibration factors here and how you found these values mam?
How to setup display
Sir, to measure the voltage of each device connected to nodemcuesp8266 is possible ?
What a wonderful project . I what to ask for a code that I use if I add keypad to the system
Very Good 👌 I Subscribed 👍
Can I use different current sensor instead of sct013, will it works
Shraddha.. your voice is amazing..... I saw this video again and again just for your voice and your project is too excellent...!🙂
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.
Awesome project nice bro...
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.
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..
What values of resisters should I use when using SCT013 30A/1V CURRENT SENSOR
@pauljackson2126
Жыл бұрын
just go with the similar values, then calibrate accordingly
Hi! Thank you for this instructional video. Can you show us how to do the calibration of current and voltage
@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
Жыл бұрын
@@pauljackson2126 thank you sir for your helpful comment. I appreciate it
bro what is the range of the potentiometer
What about Power factor calculation
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
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
7 ай бұрын
Don't go there! The live AC is connected at one end.
What is the name of the type of globe holder used here? I can't find it anywhere.
Excelente proyecto. ¿El código fuente cambia si utilizo una tarjeta Wemos ESP32 D1 R32?.
Can you tell me you to do this with new blynk app
My project 🙊
Can you help for dc voltage and current
you make one using hsts016l sensor
hey please help,we cant connect the device to blynk app new version,the device isnt getting online,please help,what to do.
can i use a mcu esp-8266?
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
How to make with 3 phase power meter? Please reply 🥺🥺🥺
Mam can I use HC05 Bluetooth module instead of ESP32
Nice video,pls can you use the blynk app to control AC
Can u share the block diagram of this?
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
7 ай бұрын
Only 200 metres! Jeeze what do you expect for 10 dollar?
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
Жыл бұрын
This was done with old blynk app. The new blynk app is different from the old one.
Thank you for this video 😀 can you help me with that coding
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
2 жыл бұрын
She is using an ESP32, not an ESP 8266.
@simonmasters3295
7 ай бұрын
@Posho Exactly
Great one. Just to know what capacitor voltage did you use cause it only says 10uf ?
@HowtoElectronics
4 ай бұрын
10uF, 16V. Or you can use anything below 100V.
Does this Consider power factor (something due to inductive/capacitive loads) ??
@chinmayraut2515
2 жыл бұрын
For considering power factor, you have to switch to ADE7757 IC.
i tried it, but the value of the parameters shown zero. please help me:(
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
Жыл бұрын
I will soon make another video with Blynk 2.0
@pelless
Жыл бұрын
@@HowtoElectronics i will wait...
Super
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
Жыл бұрын
Calibration process is explained in website article
Can we measure power consumption of seperate devices in home seperately and overall power consumption cumulatively?
@HowtoElectronics
3 жыл бұрын
Yes you can either from the hardware end or through software
May i ask what board specifically did you choose in Arduino ide? Thank you
@simonmasters3295
7 ай бұрын
ESP32 surely, but you should select the board you want to use.
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
Жыл бұрын
What I am thinking is In void loop Take the analogRead of the current sensor and serial println 240*analogRead
@simonmasters3295
7 ай бұрын
Absolutely! That's how the power company does it, surely! 😂
Hi, Do you have any project for bi-directional DC or AC energy monitor using Blynk?
@simonmasters3295
7 ай бұрын
Does blynk not register negative values?
Very Nice Video! Can you recommend DC current sensor that can measure mA signal? thankyou
@simonmasters3295
7 ай бұрын
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.
why your reading are incorrect? how to calibrate to get correct readings
My blynk app is not showing values why
Nice video
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.
super.. i very interest. i ask you if can 150A? i very need 150A current. thank you
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
2 жыл бұрын
No need to change any resistors for any current sensor.
@jagadeesanjanarthanam5801
2 жыл бұрын
@@HowtoElectronics Thank you so much 🙏
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
3 жыл бұрын
The useless wire is not insulated and has thin bunch of wires. You can easily identify.
@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
3 жыл бұрын
Yes it is possible