IoT Smart Electricity Energy Meter using ESP32 & Blynk 2.0

Поділитися
Вставка
  • Опубліковано 13 лип 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
  • Наука та технологія

КОМЕНТАРІ • 93

  • @CrazyCoupleDIY
    @CrazyCoupleDIY Рік тому +2

    Well done, nice and easy one

  • @MrAlsan
    @MrAlsan Рік тому

    This is Awesome project 👍

  • @binisol7353
    @binisol7353 5 місяців тому

    Nice One but whats the Capacitor voltage you used cause it only shows the 10uf on the circuit???

  • @mehmoodrec
    @mehmoodrec 11 місяців тому +2

    hi nice project but can we configure it to read power and energy in bidirectional mode.

  • @davidcromapix9083
    @davidcromapix9083 2 місяці тому

    Thanks for sharing

  • @srikumarc
    @srikumarc 7 місяців тому +1

    Can you make the same project for 3 phase power monitoring?

  • @rafirabbanifirdaus5028
    @rafirabbanifirdaus5028 Рік тому

    Is it permissible to change the calibration factor in the code?
    this line I mean:
    #define vCalibration 200
    #define currCalibration 0.50

  • @vedanthlahoti3741
    @vedanthlahoti3741 7 місяців тому

    Can you share where did you make circuit simulation

  • @MauriceArwa
    @MauriceArwa Рік тому

    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?

    • @beastscientist
      @beastscientist 11 місяців тому

      yes the esp32 is having the eeprom of 512bytes so it can also save things

  • @inuzuka_6934
    @inuzuka_6934 9 місяців тому

    Uhm what are the jumper cables did u use??

  • @juandanielvelezmunoz2667
    @juandanielvelezmunoz2667 Рік тому

    how is it , with three phases,? that is to say with 3 three current sensors and three voltage

  • @asyraafazhan136
    @asyraafazhan136 3 місяці тому

    do you mind sharing the pub design for this 2.0 version

  • @mohamedsyahiran9857
    @mohamedsyahiran9857 Місяць тому

    Can i get the exact component details for the bulb and bulb holder? I want to purchase

  • @lavanyayerguntala8977
    @lavanyayerguntala8977 5 місяців тому

    How to send current measure to email use in ESP32 board

  • @sajinraj-jy3rf
    @sajinraj-jy3rf Рік тому +1

    Sir, to measure the voltage of each device connected to nodemcuesp8266 is possible ?

  • @naveedansari9842
    @naveedansari9842 9 місяців тому

    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

  • @supercorn5607
    @supercorn5607 2 місяці тому

    Hello, can I please have the file for your schematic and pcb show in the video?

  • @Radioknowhow-if7mz
    @Radioknowhow-if7mz 29 днів тому

    hello guys i just build this project but i got some confusion when i add blynk function my serial monitor print zero but when i remove all the blynk function it read voltage and current all good where did i do wrong guys ....the issue is when i add blynk to send those data to blynk app it print all zero value but when i only do without blynk it work fine... any help guys i just stack here

  • @charlesdias2857
    @charlesdias2857 7 місяців тому

    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.

  • @mrz2245
    @mrz2245 10 місяців тому

    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

    • @toksgagik9111
      @toksgagik9111 3 місяці тому

      di you fix the problem?? i have the same issue

  • @Engineerswarup
    @Engineerswarup Рік тому +1

    Pls tell us that how to connect blynk app after 4 virtual variable pin set and code to get output

    • @beastscientist
      @beastscientist 11 місяців тому

      get the blink authiticating code

  • @bayazidkhanburki4158
    @bayazidkhanburki4158 3 місяці тому

    Can we add the a module of showing a real time price occuring while using the power electricity

  • @kabitachand2578
    @kabitachand2578 Рік тому

    👍

  • @allinonetech9990
    @allinonetech9990 10 днів тому

    How to skip iot coding part I don't want to send data to blink server. I only want data to display on display. Anyone help me .

  • @selvaraja0147
    @selvaraja0147 Рік тому

    Mam i have esp 32 V1, but you are used V4. Will any problem come with V1?

  • @sidharthsharma1008
    @sidharthsharma1008 Рік тому +2

    can we use ACS712 current sensor?

  • @008sarathkismatwaale5
    @008sarathkismatwaale5 Рік тому +1

    Mam how much maximum distance we can see parameter value mam..

    • @theochub
      @theochub 8 місяців тому

      Any where in the world if esp32 connect with wifi

  • @user-qq8qg6ev1k
    @user-qq8qg6ev1k Рік тому

    A circuit to prevent power pumping into the network with an on grid system

    • @beastscientist
      @beastscientist 11 місяців тому

      more explanation need for better asistance

  • @jephtah737
    @jephtah737 Рік тому

    ma'am can use the Emonlib to measure only voltage, i dont need the current

    • @beastscientist
      @beastscientist 11 місяців тому

      yes just remove the current part

  • @geraldosocorro1186
    @geraldosocorro1186 Рік тому

    Hello. I am not able to find the correct EEPROM library for the ESP32, I tried several, could you help me. Please.

    • @HowtoElectronics
      @HowtoElectronics  Рік тому +2

      Hi there was minor bug in the code. I fixed it and updated few hours ago. Try the new code now, it works.

    • @geraldosocorro1186
      @geraldosocorro1186 Рік тому

      @@HowtoElectronics OK! I will test it, thank you very much. 👏

  • @0124akash
    @0124akash Місяць тому

    Wifi connected nahi hoga to LCD me parameters nahi show honge.

  • @subhrajitghosh3314
    @subhrajitghosh3314 Рік тому

    Vro how can I get auth code

  • @MANOJ_BHASKAR_
    @MANOJ_BHASKAR_ 4 місяці тому

    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

  • @keeeerthan
    @keeeerthan Рік тому

    I have doubt on the resistor value u said 10k and 100ohm but in fig 100e is there

  • @angelhuerta4559
    @angelhuerta4559 Місяць тому +1

    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.

    • @supercorn5607
      @supercorn5607 Місяць тому

      but are the connections correct?

    • @angelhuerta4559
      @angelhuerta4559 Місяць тому +1

      @@supercorn5607 Yes the schematic shown in the video is correct

  • @pulendranmathi1874
    @pulendranmathi1874 9 місяців тому

    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

  • @sudhakars8703
    @sudhakars8703 Рік тому

    Please make an video for oxygen monitoring system for home with oxygen sensor

  • @shaswatsingh4656
    @shaswatsingh4656 Рік тому

    I am making Same project but on Home Assistant not using blynk 2.0 because of free version support max 2 devices

  • @manthangujar1030
    @manthangujar1030 Рік тому

    eepromstate(); was not declared in scope showing an error while compiling

    • @HowtoElectronics
      @HowtoElectronics  Рік тому

      I have updated the code and fixed the issue. You can try with new code now.

  • @chennaicraft7556
    @chennaicraft7556 Рік тому

    Awesome project but power is not accurate

  • @peteranuforo8847
    @peteranuforo8847 Рік тому

    How do you install ESP32 dev board module

  • @nishanenwani8043
    @nishanenwani8043 Рік тому

    How can we fix board error while compiling the code on Arduino IDE?

    • @beastscientist
      @beastscientist 11 місяців тому

      can you tell me what error you are getting

    • @nishanenwani8043
      @nishanenwani8043 11 місяців тому

      code is no compiling for selected board ARDUINO UNO@@beastscientist

  • @mintamerinjacob5114
    @mintamerinjacob5114 Рік тому

    How to power thr circuit without using usb cable

  • @muhammadshoaib3796
    @muhammadshoaib3796 5 місяців тому

    can i reset the values of KWh by just click on esp32 reset button?

    • @HowtoElectronics
      @HowtoElectronics  5 місяців тому

      With this current code, you cannot.
      You may need some modifications in the code to reset the Kwh value using an external push button.

    • @muhammadshoaib3796
      @muhammadshoaib3796 5 місяців тому

      Can You Guide Me Mam?

  • @dhananjayamurthyk8214
    @dhananjayamurthyk8214 Рік тому

    How to use it for 3 ph energy

    • @beastscientist
      @beastscientist 11 місяців тому

      use one phase and do the changes according to your reaquirment an the code for more information contacat me

  • @zeroman6860
    @zeroman6860 8 місяців тому

    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

  • @sifoslimeni3826
    @sifoslimeni3826 3 місяці тому

    Why is irms equal to zero?

    • @toksgagik9111
      @toksgagik9111 3 місяці тому

      di you fix the problem?? i have the same issue

  • @falconzod
    @falconzod Рік тому

    Mam i need you help to setup esp32 file

  • @omaramin3600
    @omaramin3600 Рік тому

    why do my lcd doesnt output anything

    • @HowtoElectronics
      @HowtoElectronics  Рік тому

      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.

    • @nikhiltm1711
      @nikhiltm1711 Рік тому

      ​@@HowtoElectronics ma'am can you provide the i2c library link

  • @yougetchandan
    @yougetchandan 7 місяців тому +2

    A fatal error occurred: Failed to connect to ESP32: No serial data received.

    • @Suryaa11105
      @Suryaa11105 6 місяців тому

      Did you resolve it?

    • @yougetchandan
      @yougetchandan 6 місяців тому

      @@Suryaa11105 i used another laptop...and i didn't face the issue 🙂

    • @Suryaa11105
      @Suryaa11105 6 місяців тому

      @@yougetchandan is this working properly or did you face any issues..

    • @arinjain2671
      @arinjain2671 3 місяці тому

      Driver issue

  • @malikumair5755
    @malikumair5755 11 місяців тому

    Ap Ki mail id mil skte ha programming K hawale se bat krne ha

  • @ROHAN-PATIL
    @ROHAN-PATIL 10 місяців тому +1

    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

  • @jobertsor5112
    @jobertsor5112 Рік тому

    No detail explanation in programming