Pages: [1]   Go Down
Author Topic: Xbee Series2 Trouble  (Read 1004 times)
0 Members and 1 Guest are viewing this topic.
Chennai, India
Offline Offline
God Member
*****
Karma: 0
Posts: 752
Peace!!!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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:
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?
Logged

Be The Change...

Pages: [1]   Go Up
Jump to: