Go Down

Topic: Xbee Series2 Trouble (Read 1 time) previous topic - next topic

pracas

I have 2 Xbee series2 modules - 1 connected to the arduino using an xbee shield and another to a computer through a usb explorer. Data seems to get transmitted instantly for the first few seconds and then it seems to get transferred as a packet
Code: [Select]
void setup()
{
Serial.begin(9600);
}

int i = 0;

void loop()
{
Serial.print(i);
delay(1000);
i++;
}


the output of the above program is not like '1' then delay and then '2'... its rather a long delay and then '1234' delay again and then '5678' also the arduino seems to reset as this number reaches 20... I suspect this has something to do with xbee configuration. I've tried 2 combinations - 1 xbee as znet end device AT and another as znet coordinator and with both as end devices, the problem persists. Can someone help with this?
Be The Change...

Go Up