276°
Posted 20 hours ago

PZEM-004T Current Voltage Power Energy Multimeter Module AC 80-260V 100A with Current Transformer

£29.995£59.99Clearance
ZTS2023's avatar
Shared by
ZTS2023
Joined in 2023
82
63

About this deal

It is recommended to use GPIO1/GPIO3 or GPIO13/GPIO15 for the most reliable serial communications. When using other GPIOs software serial will be activated and used. GPIO The Peacefair PZEM-004T features a built-in button on the panel, used to make the electricity clear function. Precautions: include /* Use software serial for the PZEM * Pin 11 Rx (Connects to the Tx pin on the PZEM) * Pin 12 Tx (Connects to the Rx pin on the PZEM) */ float current = pzem.current(); if(current != NAN){ Serial.print("Current: "); Serial.print(current); Serial.println("A"); } else { Serial.println("Error reading current"); } float power = pzem.power(); if(current != NAN){ Serial.print("Power: "); Serial.print(power); Serial.println("W"); } else { Serial.println("Error reading power"); } float energy = pzem.energy(); if(current != NAN){ Serial.print("Energy: "); Serial.print(energy,3); Serial.println("kWh"); } else { Serial.println("Error reading energy"); } float frequency = pzem.frequency(); if(current != NAN){ Serial.print("Frequency: "); Serial.print(frequency, 1); Serial.println("Hz"); } else { Serial.println("Error reading frequency"); } float pf = pzem.pf(); if(current != NAN){ Serial.print("PF: "); Serial.println(pf); } else { Serial.println("Error reading power factor"); } Serial.println(); delay(2000); The Version 3.0 PZEM is an upgraded version of the older PZEM-004T for which you can find the library Here Main features

PZEM-004T PC interface app download | SourceForge.net PZEM-004T PC interface app download | SourceForge.net

Image re-used from https://www.instructables.com/id/Use-Homie-Firmware-to-Drive-Sonoff-Switch-Module-E/ Thanks @amayii0) I’m trying to add a PZEM-004T with a direct USB Serial connection to my RPi using Modbus. I have been able to get entities to appear, however for some of my entities I keep getting unavailable and/or unknown errors.

Application Discussion:

In addition there is also the PZEM-004T 100 Ampere which uses the Current Transformer split core model. Because it uses a split core, of course it has advantages in its ease of use because it can be directly installed on a power network cable that is already installed without having to remove the power cable. This module is an upgraded version of the PZEM-004T with frequency and power factor measurement features, available at the usual places. It communicates using a TTL interface over a Modbus-RTU like communication protocol but is incompatible with the older @olehs library found here: https://github.com/olehs/PZEM004T. I would like to thank @olehs for the great library which inspired me to write this one. Manufacturer (optimistic) specifications Function

pzem-004t · GitHub Topics · GitHub pzem-004t · GitHub Topics · GitHub

The explanation of the cumulative sum is now finished, the following parameter examples are the same as this, there is no explanation any more. Note: Reply current data is D2D3 = 11 20, 11 represent the integer-bit of the current, 20 represent the decimal of the current, the current decimal is two digits, converts 11 to decimal is 17; converts 20 to decimal is 32, so the current current value is 17.32 A.

Hardware and Software Components:

That’s very unfortunate but I can assure you nobody will be able to help you properly if you don’t provide logs The microcontroller is also connected to a Wi-Fi module (if not built-in) to enable internet connectivity.

Asda Great Deal

Free UK shipping. 15 day free returns.
Community Updates
*So you can easily identify outgoing links on our site, we've marked them with an "*" symbol. Links on our site are monetised, but this never affects which deals get posted. Find more info in our FAQs and About Us page.
New Comment