# XBee Pro S2C range problem. (Datasheet max. 3.2km - Test Result(opened area)  max 500m)

**URL:** <https://forums.digi.com/t/xbee-pro-s2c-range-problem-datasheet-max-3-2km-test-result-opened-area-max-500m/21574>\
**Category:** XBee - 802.15.4\
**Tags:** arduino-xbee, range, xbee-pro-s2c, digi\
**Created:** [July 23, 2020, 1:53pm UTC](https://forums.digi.com/t/xbee-pro-s2c-range-problem-datasheet-max-3-2km-test-result-opened-area-max-500m/21574 "2020-07-23T13:53:34Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![gunesmadrali](https://avatars.discourse-cdn.com/v4/letter/g/e47774/32.png) [@gunesmadrali](https://forums.digi.com/u/gunesmadrali)\
**Post date:** [July 23, 2020, 1:53pm UTC](https://forums.digi.com/t/xbee-pro-s2c-range-problem-datasheet-max-3-2km-test-result-opened-area-max-500m/21574/1 "2020-07-23T13:53:34Z")

</div>

I am living in Turkey.About 2 months ago I bought the XBee Pro S2C (original) module due to its maximum distance  
range of 3.2 km.I was able to transfer the GPS data I received from GY-NEO 6MV2 to the XBee Pro S2C.The reason I chose  
this RF module was for the drone(autopilot).I wanted my drone to go 2 kilometers away.As a result of my trials, I found  
that GPS data did not come after 500 meters.Weather conditions were good when I tested.Moreover, I am very surprised that a  
module that range of 3.2 kilometers away in the best weather conditions cannot send data after 500 meters in a sunny and  
open area.  
I complain about this situation.

Receiver Arduino Code (with Coordinator XBee) (Arduino MEGA)

#include “SoftwareSerial.h”  
// RX: Arduino pin 10, XBee pin DOUT. TX: Arduino pin 11, XBee pin DIN  
SoftwareSerial XBee(10, 11);  
float DO\_float=0;

void setup()  
{Serial.begin(9600);  
// Baud rate MUST match XBee settings (as set in XCTU)  
XBee.begin(9600);

}

void loop()  
{

if (XBee.available()) { // If data comes in from XBee, send it out to serial monitor

char DO, buf[100];  
DO = XBee.read();  
DO\_float = atof((char \*)buf);  
Serial.print(DO);  
[//Serial.println](https://Serial.println)(DO\_float); //uncomment to print floating point result

}

Transmitter Arduino Code (with Router XBee)

#include “SoftwareSerial.h”  
#include  
//long lat,lon; // create variable for latitude and longitude object  
float lat,lon;  
TinyGPS gps; // create gps object  
SoftwareSerial XBee(10, 11);

void setup(){

Serial.begin(9600);  
XBee.begin(9600);  
Serial.println(“The GPS Received Signal:”);  
Serial3.begin(9600); // connect gps sensor

}

void loop(){  
while(Serial3.available()\>0){ // check for gps data  
if(gps.encode(Serial3.read()))// encode gps data  
{  
gps.f\_get\_position(&lat,&lon); // get latitude and longitude

```
Serial.print("Position: ");

//Latitude
Serial.print("Latitude: ");

Serial.print(lat,8);
Serial.print(",");
 
//Longitude
Serial.print("Longitude: ");

```

Serial.println(lon,8);

XBee.write(“NA”); // latitude  
XBee.print(lat,6);  
delay(100);  
XBee.write(“EA”); // longtitude  
XBee.print(lon,6);  
delay(100);

}  
}

}

XBEE CONFIGURATION ----- IN 802.15.4 TH PRO FUNCTION

Router (Transmits GPS data)

CH - C  
ID PAN ID - 2018  
DH - 0  
DL - 1  
MY 16 bit Source Adress - 2  
CE - END DEVICE  
API DISABLED (AT MODE)

Coordinator (Receives GPS Data)

CH - C  
ID PAN ID - 2018  
DH - 0  
DL - 2  
MY 16 bit Source Adress - 1  
CE - Coordinator  
API DISABLED (AT MODE)

other settings are default in both of modules

The distance has to be extended and this is very important to me.

I chose this module because I trusted DIGI company.  
Please help me solve the problem.

I don’t want to buy a XBee Pro XSC S3B module. It’s very expensive.

---

<div class="post-metadata">

**Author:** ![mvut](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.digi.com/mvut/32/31_2.png) [@mvut](https://forums.digi.com/u/mvut)\
**Post date:** [July 23, 2020, 2:06pm UTC](https://forums.digi.com/t/xbee-pro-s2c-range-problem-datasheet-max-3-2km-test-result-opened-area-max-500m/21574/2 "2020-07-23T14:06:20Z")

</div>

You are not allowed to use PRO modules or the 900 MHz products in Europe.

You might need to adjust the channel you are using or the antenna direction it is facing. It should be pointed up in the air.

---

<div class="post-metadata">

**Author:** ![gunesmadrali](https://avatars.discourse-cdn.com/v4/letter/g/e47774/32.png) [@gunesmadrali](https://forums.digi.com/u/gunesmadrali)\
**Post date:** [August 19, 2020, 8:24am UTC](https://forums.digi.com/t/xbee-pro-s2c-range-problem-datasheet-max-3-2km-test-result-opened-area-max-500m/21574/3 "2020-08-19T08:24:10Z")

</div>

Sorry for my late comment.Can you explain a little more about Adjusting the channel?How can I do this from the XCTU program?I am a little new to XBee.  
The module I use has an internal antenna.  
[https://www.digikey.com/product-detail/en/digi/XBP24CDMWIT-001/602-1968-ND/6226956](https://www.digikey.com/product-detail/en/digi/XBP24CDMWIT-001/602-1968-ND/6226956)

---

<div class="post-metadata">

**Author:** ![mvut](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.digi.com/mvut/32/31_2.png) [@mvut](https://forums.digi.com/u/mvut)\
**Post date:** [August 19, 2020, 11:38am UTC](https://forums.digi.com/t/xbee-pro-s2c-range-problem-datasheet-max-3-2km-test-result-opened-area-max-500m/21574/4 "2020-08-19T11:38:29Z")

</div>

The CH command supports a value between C -17 Hex. So on both you can change the value to say 15.

---

<div class="post-metadata">

**Author:** ![gunesmadrali](https://avatars.discourse-cdn.com/v4/letter/g/e47774/32.png) [@gunesmadrali](https://forums.digi.com/u/gunesmadrali)\
**Post date:** [August 20, 2020, 8:30am UTC](https://forums.digi.com/t/xbee-pro-s2c-range-problem-datasheet-max-3-2km-test-result-opened-area-max-500m/21574/5 "2020-08-20T08:30:56Z")

</div>

Then will it be able to transmit from 2-3 km’s?

---

<div class="post-metadata">

**Author:** ![gunesmadrali](https://avatars.discourse-cdn.com/v4/letter/g/e47774/32.png) [@gunesmadrali](https://forums.digi.com/u/gunesmadrali)\
**Post date:** [August 20, 2020, 1:54pm UTC](https://forums.digi.com/t/xbee-pro-s2c-range-problem-datasheet-max-3-2km-test-result-opened-area-max-500m/21574/6 "2020-08-20T13:54:25Z")

</div>

I changed CH’ in XCTU of both XBee’s. CH=15  
Still same.It doesn’t work.

---

<div class="post-metadata">

**Author:** ![mvut](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.digi.com/mvut/32/31_2.png) [@mvut](https://forums.digi.com/u/mvut)\
**Post date:** [August 20, 2020, 1:55pm UTC](https://forums.digi.com/t/xbee-pro-s2c-range-problem-datasheet-max-3-2km-test-result-opened-area-max-500m/21574/7 "2020-08-20T13:55:32Z")

</div>

by Same do you mean you can’t obtain 2 to 3 km with it? If so, what distance are you obtaining and how high from the ground and other obstructions are your antennas.

---

<div class="post-metadata">

**Author:** ![gunesmadrali](https://avatars.discourse-cdn.com/v4/letter/g/e47774/32.png) [@gunesmadrali](https://forums.digi.com/u/gunesmadrali)\
**Post date:** [August 21, 2020, 7:56am UTC](https://forums.digi.com/t/xbee-pro-s2c-range-problem-datasheet-max-3-2km-test-result-opened-area-max-500m/21574/8 "2020-08-21T07:56:05Z")

</div>

I want to give all the necessary information.I am living in a city of 2 million people.  
I am studying at university and there is a road in our university that has no obstacles.Approximately 1.5 kilometers long. (0.932 miles).It’s a straight road and has no obstacles.  
While my friends were at one end of the road(They were checking the data coming to the receiver(coordinator xbee with arduino)), I started walking towards the end of the road.  
I used a 7.4V (850 mah) battery in the transmitter mechanism I held in my hand(Since XBee Pro S2C needs 100-200 miliampers).  
Xbee is connected to arduino via xbee explorer and is fed from the 5v pin of the arduino.(XBee Explorer has an internal voltage regulator to convert 5v to 3.3v for xbee).(I did it for Arduino Communication XBee Shields are to expensive and I used XBee Explorer in Receiver side too.)

XBee Explorer  
[https://www.robotistan.com/xbee-explorer-usb-8300-37-B.jpg](https://www.robotistan.com/xbee-explorer-usb-8300-37-B.jpg)

So,  
Data transmission was interrupted when I reached a distance of 500 meters.

There are 2 questions in my mind.

1-I wonder if the shield I use affects the sending power of the xbees.

2-Am I blocked by the operators in accordance with the protocol rules of my country due to security and the device being 2.4 Ghz

3-I live in the south of Turkey temperature for the air to about 35 degrees and the humidity a bit high.(But I don’t believe that the temperature and humidity would decrease this power, I should have been able to get data from at least 1.5km.)

4-Since I live in a city of 2 million, maybe people’s phone signals are blocking.(GSM operators (2.4Ghz))

These are my doubts.

---

<div class="post-metadata">

**Author:** ![mvut](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.digi.com/mvut/32/31_2.png) [@mvut](https://forums.digi.com/u/mvut)\
**Post date:** [August 21, 2020, 8:01am UTC](https://forums.digi.com/t/xbee-pro-s2c-range-problem-datasheet-max-3-2km-test-result-opened-area-max-500m/21574/9 "2020-08-21T08:01:31Z")

</div>

It is most likely due to antenna height. As you walk away, unless you are increasing the antenna on both ends at the same time, you are going into NON-RF LOS conditions. The article at [https://www.digi.com/support/knowledge-base/maximizing-range](https://www.digi.com/support/knowledge-base/maximizing-range) will help you to understand.

As for questions 2 - 4, No.
