Go Down

Topic: xbee transparent mode connection between two arduino's doesn't work (Read 183 times) previous topic - next topic

chrisgal

Hi All.
First post in this forum. I'm desperate ! I tried to follow a tutorial about xbee communication :
https://youtu.be/odekkumB3WQ

First part : two modules xbee with usb cables linked to a laptop and basic chat with console terminal.
It works fine.

Second part : one arduinos with xbee router sending message to an other arduino with xbee coordinator.
I can't receive anything.
This project is very critical for me I have to make a demonstration of zigbee communicaation for a meeting on Friday ! Any help is welcome.

Apparently settings of my zigbee modules are correct  
ATAI : 0 ATCH=15 for both modules.   ATID=1970 is also the same.  And  SH SL of router is DH DL of router.
Only thing : ATSH or ATDH for both modules returns 13A200 and not 0013A200 even if the two zeros are input.

You can see my conf on this link :
https://www.dropbox.com/s/wu3yw11er6oxskk/xbee3.jpg?dl=0


Last part : here are  the programs on router and coordinator side.

/*router*/
void setup() {
 Serial.begin(9600);
}

void loop() {
 Serial.println("Hello World!");
 delay(3000);
}

/*coordinator*/


void setup() {
 Serial.begin(9600);
}

void loop() {
 if (Serial.available() > 0) {
    Serial.write(Serial.read());
 }
}


I'm really stuck and have no idea to debug that.


PaulS

Quote
Only thing : ATSH or ATDH for both modules returns 13A200 and not 0013A200 even if the two zeros are input.
Leading 0s are not printed. 13A200 is NOT the same value as 0013A200, since on is in base 10 and the other is in base 8.

Of course, 0013A200 is crap in base 8.

Quote
You can see my conf on this link :
You can post it HERE if you want us to read it.
The art of getting good answers lies in asking good questions.

Go Up