No way of putting PZEM004T v3.0 to work with ESP32

Hi all, I have connected a PZEM004T v3.0 to a ESP32 board in the most simple way, meaning using GPIOs 16 and 17 with Serial2 and even used a 5V/3.3V level converter.
For the code, I used the examples given with the Library PZEM004Tv30.
A few time ago this worked very well but now I can't put it to work anymore even with the examples provided by the Library.
All the commands pzem.readAddress(); pzem.voltage(); etc. return null. I have passed maybe 10 hours trying every possible solution but nothing worked. The two leds in the PZEM just stay solid on all the time. No flickering at all. As I have some PZEM modules and ESP32 boards, I even tested with others.
I even tried to make a very simple sketch without the PZEM Library where I just send a "Hello World" to Serial2 and this time one of the PZEM module led flicker, meaning the module was receiving data.
Any idea of what the problem can be?
Thanks.

What else do you have ?
Other Arduino boards, Logic Analyzer, multimeter, usb-serial module, and so on.

Can you give a link to the PZEM004T module and to the library.

I have other Arduino boards and multimeter.
The PZEM004T module is the standard version 3.0 of this module.
I do my coding in the arduino web editor. The library I use is the one available in the "Library Manager" called PZEM004TV30.

That is this library: https://github.com/mandulaj/PZEM-004T-v30
How about the PZEM004T ? Is there a simple command, such as: "what is your name" or "give version".

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.