Closed asking23 closed 6 years ago
Okay i have remove if condition and now i can see i am getting -1 sometimes and everytime for W & WH ? what could be reason ?
I guess the problem is that one PZEM can only send 2 readings at once and then becomes busy for 1 second.
Try cрanging the order of your requests to different PZEM, something like this:
V1;A1; V2;A2; V3;A3; P1;E1; P2;E2; P3;E3;
Finally problem solved by adding delay of 20ms between each serial Transactions..
Hi,
I am trying to Fetch 3 Different PZEM 004T Module Data using Software Serial My Code is as below, Please check if my way of Fetching data is correct ?
Problem : I don't understand why Output data is truncated randomely in Serial Monitor.