SparkFun Forums 

Where electronics enthusiasts find answers.

All things pertaining to wireless and RF links
By sandeep156
#161355
Hi,

I'm using 3 XBEE S2 modules and all in AT mode.
One of them is a coordinator, one router and one end device.
Version : 20A7 (on coordinator), 22A7 ( on router), 28A7 ( on end device)

What I would like to do is get my end device to send data collected from a sensor to the router then pass it on to the coordinator. The reason is so I can get a better range.
I have connected the router to a laptop using an adaptor board while the coordinator is connected to another laptop the same way.

What I have done so far is :
1. Program DH and DL of End Device (ED) to the SH and SL of Router (RT).
Program DH and DL of RT to the SH and SL of Coordinator (CD).
I left the DH and DL of CD blank.
They all have the same PANID and Scan channels ( not sure if this even has to be same).

Outcome of this was : The data appears on the XCTU of the laptop connected to RT but not on the laptop connected to CD.
Outcome wanted: Data to appear on XCTU of CD, rather than on the RT.

2. Program DH and DL of ED and RT to 0.

I moved the CD to be out of range of the ED, in the hope that this way the ED will pass the data through the RT.

Outcome : ED communicates directly to CD while its within range, but once it is out of range nothing happens.
NOTE: When ED was out of range from CD, the RT was still within range to both devices

Outcome wanted: Data to be sent from ED to RT to CD.

Thank you for reading and I hope to hear any ideas. Please let me know if I have left anything unclear.
Thanks