Home/Support/Support Forum/Xbee sending nothing to Arduino

Xbee sending nothing to Arduino

0 votes
Hello I am new with Xbee and can not find answer in the forums.

I have a Xbee (series 2) configured as end device, as follows:

XB24 - ZB_29A7.mxi
80
0
251
29A7
0
[ A] ID = A
[ A] SC = FFFF
[ A] SD = 3
[ A] ZS = 0
[ A] NJ = FF
[ A] JN = 0
[ A] DH = 0
[A ] DL = 408B6A89
[ A] NI = Final_2
[ A] = 1E NH
[ A] BH = 0
[ A] DD = 30000
[ A] NT = 3C
[ A] NO = 0
[ A] CR = 3
[ A] PL = 4
[ A] = 1 PM
[A ] EE = 0
[ A] EO = 0
[ A] BD = 3
[ A] NB = 0
[ A] SB = 0
[ A] D7 = 1
[ A] D6 = 0
[ A] = 2 AP
[ A] AO = 0
[ A] SM = 4
[ A] ST = 7D33
[A ] SP = 20
[ A] SN = 1
[ A] SO = 0
[A ] PO = 0
[ A] D0 = 3
[ A] D1 = 3
[ A] D2 = 0
[ A] D3 = 0
[ A] D4 = 0
[ A] D5 = 0
[ A] P0 = 0
[ A] P1 = 0
[ A] P2 = 0
[ A] PR = 1FFF
[ A] LT = 0
[ A] RP = 28
[ A] = 1 DO
[ A] IR = 3E8
[ A] IC = 0
[ A] V + = 0


I have the following code for arduino :
+++++++++++++++++++++++++++++++++

# include <SoftwareSerial.h>
SoftwareSerial mySerial (10, 11 ) / / RX , TX

void setup () {
Serial.begin ( 9600 ) ;
Serial.println ( " Conecting ");

/ / Set the data rate for the port SoftwareSerial
mySerial.begin ( 9600 ) ;
delay ( 500);
}

void loop () {
/ / Make sure everything we need is in the buffer
Serial.print ( " Conecting ...");
Serial.println ( mySerial.available ());
delay (100 );
}

+ + + + + + + + + + + + + + + + + + + + + + +


The answer i get in the serial monitor of arduino is always " 0"

Thank you for the help
asked Dec 16, 2013 in Miscellaneous Hardware and Software by jaen New to the Community (0 points)

Please log in or register to answer this question.

1 Answer

0 votes
I'm not so much more experienced than you on xbees but where is your other xbee radio, assuming one is on arduino, waiting for something? From Faludi's book, you should have the other xbee configured as a coordinator.
answered Dec 18, 2013 by liudr New to the Community (41 points)
...