mandulaj / PZEM-004T-v30

Arduino library for the Updated PZEM-004T v3.0 Power and Energy meter
MIT License
256 stars 108 forks source link

Pzem reads 2-way? #36

Closed Tpro4391 closed 3 years ago

Tpro4391 commented 3 years ago

Other electronic meters often distinguish the current direction. Is there any way pzem can distinguish the current direction? Because I want to have kWh import and kWh export please help!

popeye2019 commented 3 years ago

Hi, if you know how tell me, I'm interrested.

luckywang95 commented 3 years ago

https://forum.arduino.cc/index.php?topic=621693.15

Based on this post, it doesn't seem like it is measuring 2 ways. Quite sad.

mandulaj commented 3 years ago

Unfortunately, there is no way to measure the phase between the voltage and current directly using the PZEM. The power factor is the cosine of the phase and thus doesn't contain information which way the power is flowing. This is why I decided to build my own power meter which will allow the direction to be determined.

mandulaj commented 3 years ago

Duplicate of #2

ThomasDiebel commented 3 years ago

Unfortunately, there is no way to measure the phase between the voltage and current directly using the PZEM. The power factor is the cosine of the phase and thus doesn't contain information which way the power is flowing. This is why I decided to build my own power meter which will allow the direction to be determined.

Thanks for the examples. Got any results on building?