olehs / PZEM004T

Arduino communication library for Peacefair PZEM-004T Energy monitor
MIT License
225 stars 114 forks source link

ESP8266<->PZEM004T #4

Closed mohsh86 closed 8 years ago

mohsh86 commented 8 years ago

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 ?

mohsh86 commented 8 years ago

yea that was stupid of me, obviously it was having both USB + TX,RX hooked up