IoT Based Smart Electricity Energy Meter using ESP32 & Blynk Application

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hi everyone it's me shraddha from how to electronics in this new video we will learn how to make our own iit based electricity energy meter using esp32 and monitor data on the blink 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 our 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 to build our own id based electricity energy meter for this we need to select the current sensor as well as the voltage sensor so that the current and voltage can be measured and thus we can know about the power consumption and total power consumed the best current sensor available in the market is scd-013 this is the 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 zmp t101p the z10 pt101bac voltage sensor is the best where we need to measure the accurate ac voltage with a voltage transformer using the sct-013 current sensor and ztmpt101b voltage sensor we can measure all the required parameters needed for the electricity energy meter we will interface the current sensor and voltage sensor with esp32 wi-fi module and send the data to blink application the blink application dashboard will display the voltage current power and total unit conjunct in kilowatt hour isn't it a great way to monitor the power consumption at your home so now without getting any delayed let's get started with this great project this video is sponsored by next pcv let's cheers for the thanksgiving day and the coming christmas day as the holiday is all around us next recipe prepares massive gift for you cheers for the christmas part if you place the order on the next bcp website you can get the following free gift gift a is the dollar ten coupon gift b is dollar twenty cash plus ten points gift c is dollar sixty guests plus ten points for pcb orders they give fifteen percent off for pcb assembly order 10 percent off everyone will get three chances to participate in the lucky draw you can get up to dollar fifty of four components and other gift you can check here how to get three chances to participate in the lucky job currently there is a pcb design contest on instagram from nextv you can follow the instagram page and follow the rules to participate and win a lot of gif let's just see the sct-013 current sensor so this is the sensor that i recently purchased it is a non-invasive ac current sensor split core type clamor sensor that can be used to measure ac current up to 100 ampere current transformer sensor are for measuring the alternating current i have the pair of sensors that you can see here one can measure up to 30 ampere and other can be measured up to 100 mph the sensor is an analog type and can be interfaced with the analog pin of any controller the cd013 current sensor can be clipped straight either to the live or neutral wire without having to do any high voltage electrical work like any other transformer this sensor has a primary winding a magnetic core and a secondary winding you just need to place a coin carrying wire into this hole the end of the sensor has a pin out of 3.5 millimeter audio jack i think this audio jack may not be useful to me so cut the audio jack using the cutter so here you can see it is having three wires of different color one of the wire here is useless so i will remove this wire all right we have three wires left which are only needed now let's just see the voltage sensor so this is the z10 pt101b single phase ac voltage sensor this module is based on high precision voltage transformer used to measure the accurate ac voltage with a voltage transformer the modules can measure the voltage within 250 volt sd voltage and the corresponding analog output can be adjusted it has two headers for connecting the ac voltage lines and has four pins as vcc out znd and znd where the output voltage is analog apart from these two sensors we need esp32 wi-fi module the reason why i am not using esp8266 for this project is because of the analog pin requirement the sp32 module has many analog pin whereas esp8266 has a single analog pin both the chips have wifi features and can connect to a wifi network for iot applications now let's see the circuit diagram and set up the hardware the circuit diagram has been designed using freezing software the output pin of the voltage sensor is connected to zpi 035 of esp32 and the output pin of the current sensor is connected to zpi 034 of esp32 apart from this you can assemble the entire circuit as per the circuit diagram so here is the circuit assembly i assemble the circuit on breadboard you can see here is the esp32fa module this is a 16x2 lcd display which is optional there are three resistors and a capacitor and then we have a voltage sensor and then a current sensor and as a load i used a ball i will measure the power consumption and all energy meter parameter using this bulb as a reference there is no need of lcd you can remove it from the project you now need to install a blink application on your android or iphone download it from the app store and set it for a new project in this coding part we used the lcd library and assigned the lcd pin we also included the necessary libraries for esp32 board immon lip handles the retrieval of data from the both sensors blink simple esp32 integrates the program to the blink mobile app the energy monitor object iman is created and calibration factors are defined the blink timer object is then created to handle the sending of data to the blink mobile app then we define the access id and password on our local wi-fi network and insert the authentication code from the blink the millis and kilowatt-hour values have to be initialized the kilowatt hour starts at zero and will slowly go up as time goes on the values from the sensors are being retrieved and calculated using this function the real power appearing power power factor vrms and irms are being calculated we then use blink virtual write to sync the data to blink based on the virtual pin set under the setup function we initialize the serial port rate and set the current and voltage sensor analog pin as zpio34 and zpio35 then we set the timer to 5000l for an update time of 5 second inside the loop function we are running the timer and blink now it's time to upload the code so connect the sp32 to your computer and then from the tools menu select the sp32 board and also select the com port then hit the upload button once the code is uploaded you are ready to test the device so open your serial monitor you can see the sp32 board is connected to wi-fi and is sending the data to blink cloud initially the sensor will show the wrong value then it will start sewing the correct value so here you can see the light is turned on in the lcd display you can see the power consumption and also the total kilowatt hour value it is also displaying vrms and irms value the power and kilowatt hour value increases as the time goes on and this kilowatt hour value is dependent upon the power similarly on the serial monitor the value of this all four parameters can be absorbed you can verify the current voltage value using the standard multimeter apart from all this the data can be monitored in blink application you can see here the voltage current and the power value displayed in cause are in numerical format the energy meter data is uploaded to the blink application after the interval of every 5 second thus this is how you can make your own smart energy meter at your home to monitor your home electricity bill that's all from today's video please drop a like and subscribe to my channel thank you for watching
Info
Channel: How To Electronics
Views: 249,170
Rating: undefined out of 5
Keywords: iot energy meter project, iot based energy meter, energy meter monitoring over iot, iot smart energy meter, iot based smart energy meter, iot based smart energy management system, esp32 energy monitor, esp32 energy meter, IoT Electricity Energy Meter, smart energy meter using esp8266, IoT Blynk Energy Meter, SCT-013 Energy Meter, ZMPT101B Energy Meter, Current Voltage Power Meter, AC Energy Meter using ESP8266, ESP32 AC Energy Meter, iot based smart electric meter
Id: FVGvR9qlEc8
Channel Id: undefined
Length: 9min 44sec (584 seconds)
Published: Wed Dec 02 2020
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.