I am trying to connect a PZEM004T (without display) to a USB port on my PC via a USB-TTL adapter board.
My intention is to send requests to the PZEM via the Adapter board. I had attempted by connecting the RX-TX cables in both ways (cross: RX to TX and vice versa, or ther direct, RX-RX and TX-TX). I also tried using both the 5V and 3V options to power the PZEM from the USB-TTL adapter (5V and 3.3V).
With a serial terminal programmer like the https://sites.google.com/site/terminalbpp/, I am sending the commands to the PZEM from my computer.
The observations are these:
- No response from the PZEM.
- 3.3V or 5.5V does not matter
- Direct or cross connection also did not matter.
- Replaced the cables but that neither worked.
- If I do a loopback (RX-TX short, the TTL adapter board works perfectly (echo back). So the TTL board seems ok per se.
- I did a loop back with the TTL connected to the PZEM as well. Now, this time, the serial responds with some junk. The RX/TX LED lamps on the board also light up. Until now, the TX lamp on the adapter was blinking (and the Power pin on the PZEM was glowing brighter) when sending data.
Can someone please help me with how to get the PZEM respond?