I modified a PZEM-016 putting inside a Wemos D1 mini with ESPHome firmware and an oled display to show relevant readings. PZEM-016 has an rs485 interface, so to connect it to Wemos d1 rs485 chip must be removed and voltage level has to be shifted to 3.3V using two 2k2 resistors. I used A and B pin on the old rs485 connector to create two digital outputs that can be used ie to drive two relais module.
Unfortunately no. All peacefair meters with display doesn’t have serial output so can’t be used in combination with an esp8266 device. This is the reason why I added a display to a pzem-016.
hello, I tried to make the change on the pzem-016 but I can’t get any output value on home-assistant.
I tried to reverse tx and rx as recommended by someone but nothing changes.
Is it possible to check in another way if some value is produced on the 2 pins to test if the pzem is working?
Thank you