SparkFun Forums 

Where electronics enthusiasts find answers.

All things pertaining to wireless and RF links
By KamPutty
#111506
Hi all,

I've looked and looked (docs and net), and I just cannot seem to get my zigbees connected.

i got 2 xbee pro units, and I can talk to each of then via serial just fine.

All I want to do it get them talking to each other...

I tried setting the DL+DH to point to the others SL+SH and vise-versa, and no luck...

Anyone have the "at" commands to make this work??? or a tutorial etc?

Any help would be greatly appreciated! I've been looking at this for some time today, and I think I must be blind to the obvious!

Thanks!
By waltr
#111519
Look for the thread in this forum called "Better XBee documents" for a number of links and tutorials.

The XBee in your link is a Series 1, Part # XBP24-ACI-001 running 802.15.4 as per the data sheet.
By KamPutty
#111537
Hi Waltr,

Thanks for the help...but alas, still some issues...

Here is my setup

#1. I have 2 zigbees (zigbi's? :P ) connected to my machine, ttyusb0 and ttyusb1 (com1&com2)
#2. I have 2 terminal windows open, and I can communicate with both just fine
#3. I enter the following line

ATID3332,DH0,DL1,MY0,BD3,WR,CN on #0 zigbee
ATID3332,DH0,DL0,MY1,BD3,WR,CN on #1 zigbee

I get an ERROR when issuing the MY0 and MY1, the others work fine

So, I'm thinking, okay, let me see if I can use the SL/SH values, so I entered the following

ATID3392,DH13a200,DL40659432,BD3,WR,CN on #0, and
ATID3392,DH13a200,DL40639d66,BD3,WR,CN on #1

No errors, but alas, no talkie either! :(

Looking at the manual, it says that I can set the MY value, but I cannot...I get ERROR

I used the X-CTU tool, and it can see the modules just fine etc...

Thoughts?
By waltr
#111539
For configuring the XBees (you do NOT have ZigBees as ZigBee is a protocol that is only available on Series 2 XBees as Steve stated) use the Modem Configuration tab of X-CTU. This removes any issues with typing and time-out errors.
To ensure us of exactly which XBee modules you do have post the Firmware Version number that is reported in X-CTU when doing a Test/Query on the PC Settings tab.
By KamPutty
#111540
Modem Type = XBP24-B
Modem Firmware Version = 1247
By waltr
#111546
Ok, Version 1247 is a Series 2 XBee module running the ZNET 2.5 protocol as a Router/End device (not ZigBee but close). Do both of your XBees have Version 1247 firmware? If so then this is why they don't 'talk'. There needs to be a Coordinator to create the 'network' as described in Chapter 4 of the manual (see link below).
The link you provided above is not the module you have. You have this XBee:
http://www.sparkfun.com/commerce/produc ... ts_id=8767
and here is the manual for these XBees:
http://ftp1.digi.com/support/documentat ... 0866_D.pdf

If you click on the MY parameter in the Modem Configuration tab of X-CTU you will find that there is not a entry box and if you look in chapter 7 of the manual the MY command is listed as read only. This is set by the coordinator when the network is created and a router/end device joins the network.

If neither of your XBees have coordinator firmware then one needs to have the firmware changed using X-CTU to Version 1147 or 1047 depending on whether you wish the coordinator to interface using API or AT commands.
By KamPutty
#111550
Hi Waltr,

Firstly, thank you for all your help, greatly appreciated!

Okay, since both modules contains the same firmware (1247), and as you said, I need one of them to be the coordinator, so the firmware needs to be "A-0-C-D" for the coordinator, and "A-2-C-D" for the Router/End device. I get that now. So looked at the ftp site at digi (ftp://ftp1.digi.com/support/firmware/) and I could not locate the firmware(?)

This is what I saw for my modules
Code: Select all
File:XBP24_15_4_1081.zip  	111 KB  	11/29/2007  	12:00:00 AM
File:XBP24_15_4_1083.zip   	111 KB  	11/29/2007  	12:00:00 AM
File:XBP24_15_4_1084.zip  	113 KB  	11/29/2007  	12:00:00 AM
File:XBP24_15_4_10A1.zip  	136 KB  	11/29/2007  	12:00:00 AM
File:XBP24_15_4_10A2.zip  	136 KB 	11/29/2007 	12:00:00 AM
File:XBP24_15_4_10A3.zip 	136 KB 	11/29/2007 	12:00:00 AM
File:XBP24_15_4_10A4.zip  	137 KB 	11/29/2007 	12:00:00 AM
File:XBP24_15_4_10A5.zip 	139 KB 	11/29/2007 	12:00:00 AM
File:XBeeZNET2_5.doc   	62 KB 	02/22/2008 	12:00:00 AM
I see the "A-0-C-D" files, but not the matching "A-2-C-D" files. I am assuming that the versions need to match, yes?
(I hope the ftp site was correct!)

Once I download the right firmware, I can update the SINGLE module using the tool to be a coordinator...

Thanks again!
:D :D :D
By KamPutty
#111551
okay, I located the zip file that contains a whole slew of firmwares...let me see see what I can do!
By KamPutty
#111552
cool....okay, module #1 is now 1047, and module #2 is 1247...

Dare I ask, is there a simple (?) at command set I can do to test it out???
I am currently printing the CORRECT manual this time! :oops:

Thanks a trillion.
By waltr
#111557
There is a Node Discover (ATND) command that will return info on all other XBees in the network.

Good luck and now have fun.
By KamPutty
#111559
:D :D :D :D :D

SUCCESS!!!!

It helps having
#1. The right manual!
#2. The right firmware
#3. and most importantly, the right people that help!

THANK YOU Steve and Waltr!

If you are ever in Santa Cruz, let me know, I'll by you dinner! :mrgreen:
By stevech
#111562
Unless you plan on doing mesh networking, Series 1 is far easier to work with.
By KamPutty
#111563
I will need to do mesh.