Connect 3 LV Sonar EZ0 to arduino

Hi,

First Sorry for my english ^^

I have 3 LV Sonar EZ0 that i want to connect to my arduino Mega.
I connected them in Daisy Chaining with Constantly Looping (like this:http://www.maxbotix.com/documents/LV_Chaining_Constantly_Looping_AN_Out.pdf), but it didn't work.
I connected the RX Pin of the first sensor to +5V and the BW pin of all sensors to +5V too.
Here is my code:

int c1, c2, c3, Min;

void loop(){

c1 = (int) analogRead(A0)/0.7874; //Convert the readed value in Cm. It works!
delay(25);
c2 = (int) analogRead(A1)/0.7874;
//delay(25);
c3 = (int) analogRead(A2)/0.7874;
delay(25);
Min=c1;
//Check the minimum value
if(Min > c2) Min=c2;
if(Min > c3) Min=c3;
Serial.print(Min);
}

The value varied on each measure while the sensor dosn't mouve.
I don't know what is the problem, please help.

Please use the # button when posting code. => proper tags.

There might be just noise on the analogread(). In practice the last one or 2 bits are fluctuating. And that fluctuation gets amplified by the division by a number smaller than 1. Further the conversion to int gives some rounding effect but these should be small.

Can you give a sample of the output you got?

In your sketch you could make some variables of the type float.

float c1, c2, c3, Min;

void loop(){

    c1 = analogRead(A0)/0.7874;   //Convert the readed value in Cm. It works!
    delay(25);
    c2 = analogRead(A1)/0.7874;
    //delay(25);
    c3 = analogRead(A2)/0.7874; 
    delay(25);

    Min = c1;
    //Check the minimum value
    if (Min > c2) Min = c2;
    if (Min > c3) Min = c3;

    Serial.print(Min);
}