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

Поделиться
HTML-код
  • Опубликовано: 28 сен 2022
  • 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/pzem-sensor-tutor...
    LCD I2C Tutorial :
    • How to use I2C LCD wit...
  • НаукаНаука

Комментарии • 56

  • @lenslens7379
    @lenslens7379 Год назад

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

  • @amed-gd7zn
    @amed-gd7zn 5 месяцев назад

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

  • @rakamulyaputra5478
    @rakamulyaputra5478 Год назад

    Great video, is it possible tomeasure voltage waveform ??

  • @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

  • @CompostelaOnline
    @CompostelaOnline Год назад

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

  • @samgongelectronics3761
    @samgongelectronics3761 Год назад

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

    • @miliohm
      @miliohm  Год назад +1

      Is it still running?

    • @samgongelectronics3761
      @samgongelectronics3761 Год назад

      @@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?

  • @creativeelectronicchannel7647
    @creativeelectronicchannel7647 Год назад

    Nice project

  • @creativeelectronicchannel7647
    @creativeelectronicchannel7647 Год назад

    Please make 3phase power parameters monitoring like this video

  • @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

  • @bensonmathew9136
    @bensonmathew9136 Год назад

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

  • @giorgosiotis1557
    @giorgosiotis1557 Год назад

    Please make a video how to set address for pzem

  • @achannel4686
    @achannel4686 4 месяца назад

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

  • @netrocker9990
    @netrocker9990 8 месяцев назад

    Can we use this with victron colour control gx device?

  • @user-du2pz6ci1b
    @user-du2pz6ci1b 8 месяцев назад +1

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

  • @sakshitripathi39
    @sakshitripathi39 2 месяца назад

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

  • @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

  • @rasittastan
    @rasittastan Месяц назад

    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

  • @alexanderpurba5533
    @alexanderpurba5533 3 месяца назад

    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

  • @__RhendyAswad
    @__RhendyAswad Год назад

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

  • @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

  • @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 10 месяцев назад +1

      Recheck the code there are some flaws

    • @Digi.world1
      @Digi.world1 10 месяцев назад +1

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

  • @hexonsystem3284
    @hexonsystem3284 7 месяцев назад +1

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

    • @ErKiranMane
      @ErKiranMane 4 часа назад

      Use arduino mega or use multiplexer

  • @attiliovolpe4140
    @attiliovolpe4140 Год назад

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

    • @miliohm
      @miliohm  Год назад

      It's on the description

  • @sauravmodak507
    @sauravmodak507 Год назад

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

  • @gargantieljustinelouisel.1884
    @gargantieljustinelouisel.1884 5 месяцев назад

    How about for three phase supply?

    • @miliohm
      @miliohm  5 месяцев назад

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

  • @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

  • @tirebatireba6626
    @tirebatireba6626 Месяц назад +1

    Can i use this sensor for dc?

  • @muhammadmobeenmalikawan8351
    @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

  • @reuxgalang5753
    @reuxgalang5753 10 месяцев назад

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

    • @miliohm
      @miliohm  10 месяцев назад

      Were you connect the sensor to main AC?

    • @syamkrishna5078
      @syamkrishna5078 2 месяца назад

      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

  • @pupfield
    @pupfield 10 месяцев назад

    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.

    • @miliohm
      @miliohm  10 месяцев назад

      Try using serial2 pins for the PZEM

    • @IAIApps-qd9nk
      @IAIApps-qd9nk 9 месяцев назад

      whats the problem

  • @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!

  • @shivampatel1414
    @shivampatel1414 2 месяца назад

    i need your help how to contact you sir