How to compare the value coming from three arduino

Hello

i am making and project on energy theft monitoring system in which i have decide to use three pzem sensor.This sensor give the reading of energy consume by the user so what i have done is i have put one sensor at the main port from where 220 volt is coming and other two sensor is at load side so what i will get sum of energy consume by this two load is equal to energy reading at main port.I am unable to know how to compare this value in arduino can any one help me .

Eg

At user side it shows the reading of 5 units each then at main port it show 10 unit.I want to compare this three value in one arduino can anyone please help me.

thanks

Please post your code that reads the 3 values that you want to compare

Why are there three Arduinos? This sounds like something that could be done by a single Arduino.

If you really do need to send data from a few Arduinos to another Arduino you should use a Mega as the receiving Arduino as it has three spare HardwareSerial ports.

...R

the sensor i am using sends data serially. Can we get this three sensor data at the same time if we use arduino mega ?

Yes

khalifa_007:
the sensor i am using sends data serially. Can we get this three sensor data at the same time if we use arduino mega ?

Can you read the data from one sensor and display it on the Serial monitor

HINT : do not use the serial interface whose name is Serial. The Mega has 3 other serial interfaces