Problem PZEM-004T Version 3.0

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…

1 Like

@key
OK, we will do it step by step.
can you show me your configuration page especially the last line to know the version you are using.
like Here

Ok ok

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.

Hi Ze_Pico,

Here is the steps that I did on Wesmo D1 Mini and PZEM-004 v3 (Just to make sure, I get another set of brand new Wesmo and PZEM)

1- Flash Wesmo with Tasmota v6.5 sonoff.bin (download from HERE)
2- Access Wesmo Sonoff page and configure it like this:


Note: On the new Sonoff 6.5, I don’t see any page on Sonoff that display voltage.

3- Connect Wesmo 5V to PZEM 5V
4- Connect Wesmo G to PZEM GND
5- Connect Wesmo D7 to PZEM Tx
6- Connect Wesmo D8 to PZEM Rx

As soon as I connect all the wires like above, I get no response to the Wemos
Wesmo3

Remove D7 & D8 then I get the response
Wesmo4

Please let me know what is the next steps that I need to do?

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.

and tell me what you see in Main Menu
don’t forget to save your configuration.

GPIO 4 и GPIO 5 это D1 и D2 !!! Причем тут D7 и D8 ??? Либо провода перекинь или GPIO 13-15 выставь

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

It has the wrong setting ! The wires are connected to D7 and D8. And Tasmota is set to D1 and D2

that’s correct and I am trying to do it step by step for this reason.

Hi Ze_Pico,

When I click on Configure Module, below is what I see.

When I change the module type to Generic (18) then save it. Reboot the Wesmo by unplug/re-plug, the Module type get back to “SonoffRF” like the first image. (seem like it won’t save)

how did you flash your ESP Wemos D1 or NodeMCU ?
if this problem persist you should erase all flash .

Hi Ze_Pico,

What should be the correct wiring connection for Wesmo Mini to PZEM?

Thanks again for all your time on helping me on this.

Ze_Pico,

I use NodMCU-PyFlasher to flash the Wesmo. Yes, I did erase all the flash. Did re-flash the Wemo 7 times.

I will suggest to use arduino IDE to full erase the flash HERE

you must have Sonoff Generic (18) for PZEM to work like your post HERE

I will wait until you solve this problem then we can continue.

Hi Ze_Pico,

What you are saying is I have to download the “Sonoff-Tasmota-development” and use Aduino to upload?

Do I need to modify any file on that development package?

No, you just need to full erase your flash before uploading your bin file.
you don’t need Tasmota development .
your bin file is OK as long as it shows PZEM in the configuration Menu.
you can full erase your ESP Flash with any sketch like in this picture.

Hi Ze_Pico,

Spent 6 hours today just try to figure out to flash 6 pcs of Wesmo Mini. Here is what I find out:

  • With Tastoma sonoff.bin ver 6.4 ==> yes, I can see the the Module Parameters like THIS.
  • With Tastoma sonoff.bin ver 6.5 ==> no matter how many time I flash, with different flash tools on 6 different Wesmo Mini, erase All Flash Contents ==> I can see on the Module Parameters is this:

And when connect the D7 to Rx and D8 to Tx ==> I lost the connection to Wesmo.

When I change from Wesmo to NodeMCU, the data display fine on the sonoff page with the following setup:

The questions I have now is:

  • Does Wesmos Mini works with Tamosa 6.5 for PZEM-004? if Yes, please help and let me know how to fix this.
  • Since I can get NodMCU to display the data, please let me know the next steps to integrate with Blynk so I can display the data on Blynk?

Regards,
Key

@key
glad that it works with you

I don’t have an answer for this but if PZEM can work on ESP-01 it should work on Wemos D1 mini.


unfortunately I don’t have Wemos D1 for testing now

1 Like

In this post you are showing that TASMOTA is working OK with Wemos D1
I think the problem is with your Flashing tools