XBee Pro Configuration Issues

I'm trying to set two xbees to talk to each other. One is in an Arduino Xbee Shield and the other on an XBee USB Explorer connected to my computer. To set up a simple point to point connection it looks like just the ID, DL, and MY need to be configured. But on either xbee, when I enter the ATMY0 (any number at all), it responds with ERROR. Yet just about every example I've found on the net uses the DL and MY configs to tell the xbees whom to talk to. Why would I not be able to set the MY address on the xbees? I've tried restoring to factory defaults, but that doesn't help.

Please, any hints, links, help at all will be greatly appreciated, as I'm basically at the end of my rope in figuring this out.

You are probably using a ZigBee (ZNet 2.5 or ZB Pro) XBee. The 16-bit MY address in these radios is always automatically assigned by the coordinator and cannot be set manually.

faludi

Does this mean I need to install the digi zigbee software and set up one of the devices as a coordinator and another as an endpoint? Or can this be done with AT commands (although if it can, I haven't been able to figure it out).

I've spent hours googling for configuration code and come up with nothing showing how to set up and use a Pro version.

Read the section on ZigBee addressing in the user manual for the radio that you purchased to learn more about setting up a network. If you have the ZB Pro it's here: http://ftp1.digi.com/support/documentation/90000976_B.pdf

Of course the other way to go about this is to use the 802.15.4 radios, which would probably be much easier for you to configure. Using ZigBee when you really need 802.15.4 is high on my common mistakes list, precisely because most projects don't need the complexities of forming self-healing mesh networks: http://www.faludi.com/projects/common-xbee-mistakes/

Go simple if you can!

faludi,

I think I was mistaken and I have an Xbee Pro, not a Zigbee Pro. So it should have the 802.15.4 stack: XBee Pro 50mW Series 2.5 RPSMA - WRL-08768 - SparkFun Electronics

It is my understanding that the XBee pro can do simple point to poinit by setting the DL and MY addresses. But both my Xbee Pro's return ERROR when MY is set. So I'm guessing I need to do the coordinator/router set up, which seems really tedious when I only have two devices (not that I've been able to figure it out, or else I'd do it, tedious or not :slight_smile: )

The SparkFun description is a little misleading. That radio is ZNet 2.5 so you are indeed using ZigBee, which is why you get an ERROR when you try to set the MY address.

Sparkfun links to the correct User Manual where you can learn more about ZigBee addressing and such.

If your project doesn't need ZigBee, I'd consider exchanging these radios for regular 802.15.4 ones. Just to keep things simple.

faludi,

I can't express how much help you've been to me. Thank you so much. Just one more question, if you are still feeling generous.

Is this a 802.15.4 module, XBee Pro 60mW Wire Antenna - Series 1 (802.15.4) - WRL-08742 - SparkFun Electronics and RF Modules | Wireless Connectivity Solutions for Remote, Low-power, Secure IoT Product Designs | Digi International ? I looked at the datasheet and am 99% sure this is what I need (still has the long range, but not a mesh network. Rather a point to point like I want.)

Once again, thank you.

Yup, that's the right one. Good luck!