(Hi
I spend the whole day trying to configure my xbees module to make them communicate. I have followed a tutorial on the net : I have configured one of my module as coordinateur (AT mode) and the other router (AT).
With two modules connected to the computer with usb cables, IfI open 2 serial console (in two different session of xctu), it works well, when I write in one, I can the the same in the other.
I have followed the next step of the tutorial : two modules on two arduino. One arduino is sending data and the other arduino is reading. I can’t receive datas in this case.
Here’s my 2 programs :
the first one for the router #include
SoftwareSerial XBee(1,0);
May I suggest you take the radios out of the picture and simply wire DI from one to DO of the other. Then get that working. Once you have that working, then add the radios in transparent mode.
I made as you said. When connectin the 2 arduinos rx to tx and tx to rx, I can seed my hello world on the two sides.
I have set my modules for direct connection :
SL to DL and SH to DH and vice versa.
It still doen’s work.
Are you connecting the XBee’s to an Arduino Shield or direct?
Do the two radios pass a range test without the Arduino connected? That is connect them to a PC and a remote interface board with Tx and Rx crossed on the remote.