ESP8266 ESP32 ESP32s communication library for Peacefair PZEM-004T Energy monitor
Serial communication This module is equipped with TTL serial data communication interface, you can read and set the relevant parameters via the serial port; but if you want to communicate with a device which has USB or RS232 (such as computer)