Xbee distance problem

Well If you would give all the recivers the same address, you could send one package of the transmission as a constant address.

Note that 802.15.4 has a broadcast address (0xFFFF) much like IP and ethernet have the same. There’s no ACK of course.

The term “broadcast” in networking means using that all 1’s address to do one-to-many. In wireless, it goes to all in-range devices on the same channel and same network ID (PAN ID, like SSID in WiFi). There is an all 1’s broadcast PAN-ID too, but that’s really not good to use!

The 16 bit short addresses are messy if you don’t use a network layer (ZigBee, ISA100.11, 6LowPAN) atop the 802.15.4 MAC and PHY. Without a network layer, it’s best to use the 64 bit addressing - because every module has a unique 64 bit address, much as do Ethernet NICs with 48 bit addresses.

Thank you Joeisi and stevech,

I chenged (MY) of first xbee to 1 and its (DL) to 2 and (MY) of second xbee to 2 and its (DL) to 1 that means short 16- bit unicast addressing. moreover, I increased (RR) retries but it did not work too where the problem still exists :cry: :x

let’s think about together: :think:

  • is usually the signal between two xbee modules lost when any one of them is moved? is this normal:?:

-if No, what is the reason for this losing???

– is it the power source? ( I checked the voltage of both the 9.6V battery and voltage regulator and there was not any drop while losing)

– is it the addressing mode? ( i’m using 16 bit unicast and I,m going to try 64-bit unicast)

anything else???

  • if Yes,

– is there a failure in one or both xbee modules??

XBee series 1 non-Pro model? It’s about 2mW. Range depends on antenna types. Worst, it should be 100++ ft line of sight.

Xbee series 1 Pro model - is 60mW. Range again depends on antenna types. Expect 300-1000 ft line of sight.

With gain antennas, 1/2 mile or more line of sight.

Moving with the radius affects nothing, as long as serious RF obstructions aren’t present.

At close range (say, 50 ft) all sorts of non-line-of-sight should work.

You can look at the received signal strength (RSSI) with XCTU or your own software to query that register via an AT command or via use of the XBee binary API (there are Arduino and other libraries for that API).

Be sure to read, re-read, re-re-read the XBee OEM manual.

the problem in RSSI that it is not available without or before sending or receiving data. additionally, I want to reduce the required time to send or receive data in order to decrease the response time of my controller.

I tried my program outdoor but it did not work even I put xbee modules faced to each other, it seems like there is no signal at all although I tried the same program at indoor place an it worked bat at small range.

do you know what the reason for this problem? do you that there is a malfunction in my xbee modules??

I can only say that with XBee non-Pro models (2mW, lower than the Pro model)… range of course is affected by what kind of antenna you chose. The chip antenna (blue thing on PC board) is a poor antenna and is directional as said earlier.

RSSI is that of the last-received packet.

If you cannot exchange messages at 50 ft. or so, there’s a fundamental problem.

Use the XCTU range test program to eliminate the chance that part or all of the problem is your configuration settings.

A zillion people use these products quite successfully.

It takes some reading of the OEM manual and some learning about communications. It’s not a simple appliance.