olehs / PZEM004T

Arduino communication library for Peacefair PZEM-004T Energy monitor
MIT License
226 stars 114 forks source link

PZEM-004 vs PZEM-004T #67

Closed ipa64 closed 3 years ago

ipa64 commented 3 years ago

Hi, I have these two versions with their documentations. At first I thought they are the same, 004 has display 7seg, 004T doesn’t have display. But it’s wrong, the protocol between 004 and 004T is different, 004T I use Modbus-RTU And the protocol you describe in your readme match to the PZEM-004. So your library should be named PZEM-004 Or maybe they have changed the protocol without modify the name, I hope not ??? There is on internet a lot of confusion with this two modules.

olehs commented 3 years ago

Hi, I guess they change protocols as they want ( The library was written for the board like on the image below. It says "V1.0" - maybe that's the key. image

ipa64 commented 3 years ago

I just got information from Peacefair From 004T v3.0 protocol is Modbus-RTU, previous version was not ! So they changed the protocol without modifying the name ! So bad!

ipa64 commented 3 years ago

And the icing on the cake: PZEM-004 v3.0 with display doesn’t have the Modbus-RTU protocol (still previous protocol) !