Well, this won’t work!
The D1 Mini/pro has one and a half UARTS.
UART0 is connected to he USB socket and also to pins Tx and Rx. And is used for programming the device.
UART1 is Tx only and is connected to pin D4.
If you need to have Tx/Rx communications with a peripheral such as the PZEM then you’ll need to use UART0. If you also want to use a serial monitor to see debug output then you could connect an FTDI to D4.
Hello !
According to the specifications given for v.3.0 of PZEM-004T it measures/reports also the frequency and the power factor. I’m not sure if the library https://github.com/olehs/PZEM004T is able to read these new electricity parameters.
Did you run any test how to read those parameters apart voltage,current, power and energy ?
Thanks !
Hi Ze_Pico,
Since I’m new to Tasmota, I think I missed some steps here. All I did is just flash the Wesmo/NodMCU with Tasmota firmware, I haven’t do and sketch upload or modify the config.h file yet.
Could you please let me know where can I download those for PZEM-004T v3 sketch like the one on your posted?
What is the the correct pin connection between Wesmos/NodMCU and PZEM-004T v3?
I know @PeteKnight suggested it already to you, so…Why don’t you try with simple USB<–>serial (TTL) bridge, like FT232 (or many other) connected to PC,using official PZEM software (or ANY terminal) and verify if your unit is OK or not…
I will carry out the steps you described with the FW Tasmota in order to try if everything works. You have been very kind, as soon as all this is done you will update on the process and the operation. Thank you very much for the help you are giving us.
first your Tasmota version is 6.5.0 and that is OK.
Next step why you are using Configure Template you should use Configure Module.
can you adjust your configure module to this picture.
@svs2007m
not every body can translate Russian to English or have a translator within his browser.
if you can do it for us it will facilitate our discussion.
thanks.