Check your TX/RX orientation. Swap the transmit and receive lines on your microcontroller. Ensure the baud rate is strictly configured to 9600.

"Check baud rate."

Some users have successfully modified the PZEM-051’s internal firmware to correct the energy reset bug and improve accuracy. This is not officially supported by Peacefair, but a community patch exists.

Locate the main microcontroller chip on the back of the LCD board.

If no action is taken within 5 seconds, the meter exits the reset state without clearing data. C. Setting Voltage Alarm Threshold Long Press: Hold the key for 5 seconds until "SET" appears.

By tapping into these lines, you can mirror the data directly to an ESP8266, ESP32, or Arduino microchip, effectively transforming the PZEM-051 into a smart, Wi-Fi-enabled power meter. The Software Patch (ESPHome / Tasmota Integration)

This is caused by electrical noise from the DC load (common with PWM solar charge controllers or motor inverters). Add a small 0.1uF ceramic capacitor across the VCC and GND pins close to the serial patch point to filter out high-frequency noise.

the button until the power area displays "SET".