XBEE communication

hi,
I think the modem needs to be flashed. Then you can try for other setting. For this you need the development board with a reset button on it.
To forcefully write onto the module:
Open X-CTU –> Modem Configuration –> Select XB24-B as Modem –> Any function set (ZIGBEE Co-ORDINAOT AT preffered) –> version 1020.
On the development board press the reset switch and while keeping it pressed select “write”. After some time a dialog box will appear, ignore it and keep the reset button pressed. Look for a change in the progress bar.
If it changes then maybe the firmware is loaded properly and then you can try other configuration. If this doesn’t work then try releasing the reset button when the progress bar changes.
Let me know if this works (worked for me).

hi,
Thank you very much
now I am getting communication between two modules.
I have configured one module as coordinator (as you told) and another module as router. Now its working fine.
Here I am getting data from one module to another,
But I am not getting success in range test.
Here I have configured those modules in AT mode.
Could you please tell me the use of selecting “ENABLE API” option in pc setting.

           Thanks in advance...

Message was edited by: aruna

Hi

I'm trying to configure three Xbee modules, one as coordinator and remaing to are as routers... my Xbee module is series2 and settings are like 

>>XB24-B>> ZNET 2.5 COORDINATOR AT >> 1047
>>XB24-B>> ZNET 2.5 ROUTER AT >> 1247
like this…
when i gave command ATND it give no response…
i need to sent data a particular router which i need either router1 or router2… i’m need some instructions from that…
its very urgent for me please guide me…
v.jagadeesh89@gmail.com

thanks in advance…

i am very thankful to srinivas i followed your reply to this post and i am getting data from both sides through X-CTU

we have to configure one as a co-ordinator(reset button ,xb24-b,2170,write) and one as router and i followed these commands in terminal tab

Coordinator Side:
+++ / enter Command mode
ATCT 28F / set Command Mode timeout
ATID 1800 / set id to 1800 or any 4 digit number
ATWR / save setting
ATDH XXXX / set Source address High of router
ATDL XXXX / set source address Low of router
ATWR / save setting
ATCN / comeout from Command mode

Router side:
+++ / enter Command mode
ATCT 28F / set Command Mode timeout
ATID 1800 / set id to 1800 or any 4 digit number
ATWR / save setting
ATDH 0 / set Source address High of router
ATDL 0 / set source address Low of router
ATWR / save setting
ATCN / comeout from Command mode
now i want to write ‘C’ language code for xbee24-ZB initialization instead of X-CTU IDE tool ,Now can any one guide me how to send data from one module to another(xb24-zb 2264)module,please forward if any sample ‘C’ code is there.

One way is to provide node identifier by ATNI Router1 command. And then after calling ATDN Router1 from another XBee module, you can communicate between two modules.

Another way, To provide DH and DL of one module = SH and SL of another module and vice versa.

But remember, these both way works only when the 64 bit PAN ID of all the XBee modules are same.

@ Naren

For the range test , You need to mount your one XBee module on XBIB-R- Dev Board and loop back adapter should be attached to it. Another XBee should be connected to PC com port through X-CTU. Now do the range test, if both having the same PAN ID, and DH and DL of one XBee match with SH and SL of another XBee, Then your range test will be successful.