I've managed to get it working with ESP8266, software serial works but i get a lot of "stack" info and the frequent Soft WDT reset interrupts other operations related to wifi connection.
giving hardware serial a shot, believe the RX, TX pins for ESP8266 is 1,3 i've tried those (edited PZEM004T.CPP to accommodate that), i get correct reading sometimes, the rest is just -1.
Is it because am connecting my ESP8266 through USB as well ?
Thanks heaps for your contribution.
I've managed to get it working with ESP8266, software serial works but i get a lot of "stack" info and the frequent Soft WDT reset interrupts other operations related to wifi connection.
giving hardware serial a shot, believe the RX, TX pins for ESP8266 is 1,3 i've tried those (edited PZEM004T.CPP to accommodate that), i get correct reading sometimes, the rest is just -1.
Is it because am connecting my ESP8266 through USB as well ?