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
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.