PZEM-004T Sensor Tutorial (Current, Voltage, Frequency, Power, Power Factor and Energy meter).

Поділитися
Вставка
  • Опубліковано 29 вер 2024
  • PZEM-004T is all in one power sensors module. It has a Voltage sensor, current sensor, frequency sensor, power factor, power, and energy meter.
    In this video, we are going to learn how to use this sensor with Arduino and NodeMCU and also make a simple wattmeter.
    My Arduino Basic Course :
    Coming Soon!
    Join this channel to support me or to get access to perks:
    / @miliohm
    Schematic and code on video:
    miliohm.com/pz...
    LCD I2C Tutorial :
    • How to use I2C LCD wit...

КОМЕНТАРІ • 56

  • @Digi.world1
    @Digi.world1 Рік тому +3

    Hello, I just purchased one pzem004t 100A module for my college project, it measure voltage and current correct but in pure resistive load it shows 0.05 power factor, could anyone please guide me what is the problem? And how can I solve it?

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

      I have the same issue, don’t know how to resolve it. Did you already figured out?

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

      Recheck the code there are some flaws

    • @Digi.world1
      @Digi.world1 Рік тому +1

      @@vedanttirpude2967 thanks for your answer , it has phase connection problem. If we make connection proper then it should show correct answer.

  • @রোবটিক্সগুরুজী
    @রোবটিক্সগুরুজী 11 місяців тому +1

    But I need to Detect Leading or Lagging powerfactor. Can I do this with PZEM004T?

  • @tirebatireba6626
    @tirebatireba6626 4 місяці тому +1

    Can i use this sensor for dc?

  • @hexonsystem3284
    @hexonsystem3284 10 місяців тому +1

    what if i want to connect 2 sensors to a Arduino??? does the library support instructions for 2 sensors??

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

      Use arduino mega or use multiplexer

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

    hallo sir i have done everyhing accordingly to your diagram and code but i cant get values from the pzem not displaying just printing ( nan) any help would appreciate

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

    i need your help how to contact you sir

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

    Is the value measured in Pzem004t in seconds or minutes? Because I have 209 volts, 0.032 amps. And if that's hourly, it's almost hourly Doing 500 watts

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

    Hello, I really liked the video and I want to monitor a power connection. Question, can you script the three devices and phases for the ESP8266 D1 mini, so that the output is displayed on a web page? Greetings

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

    I still get Nan message when running the code and the sensor. But, there is something different between my voltage source. I use dimmer instead of Main AC, like shown in the diagram to control a heater. Could that be the cause? Thanks in advance

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

    I want to use 4 pzem004t sensors plz help sir in knowing the pins of arduino on which it is to be connected

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

    what if I use a nodemcu and use an LCD display, what is the cable schematic from the nodemcu to the LCD display?

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

    hello, my pzem turns off when the AC voltage is running, why is that?

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

    I hate that it doesn't have sperate powering option. I dont trust capacitive dc power supply

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

    Sir,Here how power factor is measured theoretically in this pzem 004t module.

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

    In my exp 32devkitv1 it doesn't have D3 if try to chage it to other it shows error what to do ?? Please help me

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

    Can we use this with victron colour control gx device?

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

    should the sensor power be connected to the load (example a heater), or should it just be connected to power and ground?

  • @amed-gd7zn
    @amed-gd7zn 7 місяців тому

    i love u bro u r my hero, big love from saudi

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

    Please make a video how to set address for pzem

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

    I'm glad to discover your channel!
    👍👍👍

  • @creativeelectronicchannel7647
    @creativeelectronicchannel7647 2 роки тому

    Please make 3phase power parameters monitoring like this video

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

    Great video, is it possible tomeasure voltage waveform ??

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

    Anyone with a working demo using an esp32 wroom? I don't know if i have a code, library, or hardware issue. I got nothing from the demo code i found.

  • @gargantieljustinelouisel.1884
    @gargantieljustinelouisel.1884 7 місяців тому

    How about for three phase supply?

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

      You can use three sensors. But since this sensor only able to measure 260V max. You should measure phase to neutral.

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

    hi, im currently doing this project to adapt in my final year project at my uni, can i contact you because i have been following the steps but its not working, please!

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

    Hi, nice explanation but where do I find the whole code?

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

      It's on the description

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

    Hello! I followed all the instructions but still get a NaN output. Any thoughts why this is happening?

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

      Were you connect the sensor to main AC?

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

      Check if the tx pin from pzem is connected to rx pin of esp and rx pin of pzem to tx in of esp. Also check the baud rate

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

    hallo very good system quick question sir which pins to connect for display while using NodeMCU

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

      The i2c on NodeMCU is D1 and D2

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

      @@miliohm thanks man i made the project i used 2004 lcd and dispayed all the values good work

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

    hello. can data be send for writing to arduino sd card ?

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

      Sure, you can watch my tutorial about sd card/make data logger

  • @muhammadmobeenmalikawan8351

    can we use this to measure DC voltage as well??

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

      There's different pzem product for DC

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

      @@miliohm can you please name it?

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

      @@muhammadmobeenmalikawan8351 you can google pzem for DC. For DC example pzem-017

  • @creativeelectronicchannel7647
    @creativeelectronicchannel7647 2 роки тому

    Nice project

  • @samgongelectronics3761
    @samgongelectronics3761 2 роки тому

    Yes . I have been using it for long periods now.
    Good one there

    • @miliohm
      @miliohm  2 роки тому +1

      Is it still running?

    • @samgongelectronics3761
      @samgongelectronics3761 2 роки тому

      @@miliohm yes .
      Very perfectly for over two years now

    • @Digi.world1
      @Digi.world1 Рік тому

      Hello sir, I just purchased one pzem004t 100A module for my college project, it measure voltage and current correct but in pure resistive load it shows 0.05 power factor, could you please guide me what is the problem? And how can I solve it?

    • @vastech-lq4nq
      @vastech-lq4nq Рік тому

      @@Digi.world1 ok

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

      @@samgongelectronics3761 i have problem with my sensor module PZEM-044T like voltage, power factor, ampere increase in running after 1 hour or even 5 minutes running this sensor, you have some problem like me?