# XBee modules are not communicating

**URL:** <https://forums.digi.com/t/xbee-modules-are-not-communicating/13663>\
**Category:** XBee - 802.15.4\
**Tags:** xbee\
**Created:** [September 30, 2014, 12:48am UTC](https://forums.digi.com/t/xbee-modules-are-not-communicating/13663 "2014-09-30T00:48:51Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![ledpea](https://avatars.discourse-cdn.com/v4/letter/l/f6c823/32.png) [@ledpea](https://forums.digi.com/u/ledpea)\
**Post date:** [September 30, 2014, 12:48am UTC](https://forums.digi.com/t/xbee-modules-are-not-communicating/13663/1 "2014-09-30T00:48:51Z")

</div>

Hello, I am new to XBee and urgent need to make two modules communicate, they are networked, but I can not initialize the data transmission. I’m using XBee Pro modules XBP24. I’m here in Brazil.

---

<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:** [October 6, 2014, 3:56pm UTC](https://forums.digi.com/t/xbee-modules-are-not-communicating/13663/2 "2014-10-06T15:56:26Z")

</div>

What is the full part number and firmware version of the modules you are using?

---

<div class="post-metadata">

**Author:** ![ledpea](https://avatars.discourse-cdn.com/v4/letter/l/f6c823/32.png) [@ledpea](https://forums.digi.com/u/ledpea)\
**Post date:** [October 7, 2014, 1:38am UTC](https://forums.digi.com/t/xbee-modules-are-not-communicating/13663/3 "2014-10-07T01:38:30Z")

</div>

XBP24-AWI-080-revB 2008-09-28-10  
Product family: XBP24  
Function set: XBEE PRO 802.15.4  
Firmware: 10A5

I want the modules to communicate by transmitting electrical current measurement obtained at a current transformer. I have two modules with the above description. I also have two other XB24-Z7WIT-003 revG modules. These four modules with different configurations can communicate?

---

<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:** [October 8, 2014, 1:46pm UTC](https://forums.digi.com/t/xbee-modules-are-not-communicating/13663/4 "2014-10-08T13:46:03Z")

</div>

Using XCTU, you should be able to restore the two radios to default settings if you mount them on an XBIB interface board and a PC. Once restored, they will communicate with each other.

I would also recommend updating the firmware on your two XBP24 and XB24 modules to the current 10CD.

The XB24-Z7 modules are not going to communicate with the XBP24 modules as they operate under different network layers.

---

<div class="post-metadata">

**Author:** ![ledpea](https://avatars.discourse-cdn.com/v4/letter/l/f6c823/32.png) [@ledpea](https://forums.digi.com/u/ledpea)\
**Post date:** [October 14, 2014, 1:10am UTC](https://forums.digi.com/t/xbee-modules-are-not-communicating/13663/5 "2014-10-14T01:10:38Z")

</div>

I can do the radios stay on the same network, but can not send data from one to the other. As I said, I need to send the measurements of electrical current from one point to another. What do I do? Help me get.

---

<div class="post-metadata">

**Author:** ![ledpea](https://avatars.discourse-cdn.com/v4/letter/l/f6c823/32.png) [@ledpea](https://forums.digi.com/u/ledpea)\
**Post date:** [October 19, 2014, 11:44pm UTC](https://forums.digi.com/t/xbee-modules-are-not-communicating/13663/6 "2014-10-19T23:44:31Z")

</div>

Hello mvut, I managed to talk the modules by XCTU even managed to get the measurement of electrical current from the other module, but still to do so by the Arduino. Can you help me?, I managed to talk the modules by XCTU even managed to get the measurement of electrical current from the other module, but still to do so by the Arduino. Can you help me?

---

<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:** [October 20, 2014, 11:17am UTC](https://forums.digi.com/t/xbee-modules-are-not-communicating/13663/7 "2014-10-20T11:17:56Z")

</div>

What is it you are trying to do? Are you trying to have the Xbee module do the ADC conversion for you?

---

<div class="post-metadata">

**Author:** ![ledpea](https://avatars.discourse-cdn.com/v4/letter/l/f6c823/32.png) [@ledpea](https://forums.digi.com/u/ledpea)\
**Post date:** [October 20, 2014, 10:44pm UTC](https://forums.digi.com/t/xbee-modules-are-not-communicating/13663/8 "2014-10-20T22:44:24Z")

</div>

No, I could already make the measurement of electrical current. I want to convey measurements remotely to another Xbee connected to an Arduino.

---

<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:** [October 22, 2014, 9:03am UTC](https://forums.digi.com/t/xbee-modules-are-not-communicating/13663/9 "2014-10-22T09:03:22Z")

</div>

I am finding it hard to understand exactly what it is you want to do. Can you upload some images as to what it is you are seeing with XCTU and exactly how you have everything connected? Then can you convey exactly what it is you want to do? Make sure you indicate things like XBee 1 Analog In sending data to XBee 2 connected to Arduino.

---

<div class="post-metadata">

**Author:** ![ledpea](https://avatars.discourse-cdn.com/v4/letter/l/f6c823/32.png) [@ledpea](https://forums.digi.com/u/ledpea)\
**Post date:** [October 27, 2014, 12:52am UTC](https://forums.digi.com/t/xbee-modules-are-not-communicating/13663/10 "2014-10-27T00:52:48Z")

</div>

Good evening friend, I managed communication between XBee modules, but the information reaches the receiver in ASCII, how can I convert to decimal?

---

<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:** [October 28, 2014, 8:16am UTC](https://forums.digi.com/t/xbee-modules-are-not-communicating/13663/11 "2014-10-28T08:16:43Z")

</div>

The radios do not change the data sent in any way. If you are not receiving the data the way you expected it, then you need to modify what you are sending into the radios to begin with…

---

<div class="post-metadata">

**Author:** ![ledpea](https://avatars.discourse-cdn.com/v4/letter/l/f6c823/32.png) [@ledpea](https://forums.digi.com/u/ledpea)\
**Post date:** [October 29, 2014, 12:16am UTC](https://forums.digi.com/t/xbee-modules-are-not-communicating/13663/12 "2014-10-29T00:16:20Z")

</div>

Ok, follow the transmitter programming, correct?

#include “EmonLib.h”  
EnergyMonitor emon1;

void setup()  
{  
Serial.begin(9600);

emon1.current(1, 60.6);  
}

void loop()  
{  
double Irms = emon1.calcIrms(1480);

Serial.print(Irms);

}

---

<div class="post-metadata">

**Author:** ![ledpea](https://avatars.discourse-cdn.com/v4/letter/l/f6c823/32.png) [@ledpea](https://forums.digi.com/u/ledpea)\
**Post date:** [October 29, 2014, 12:16am UTC](https://forums.digi.com/t/xbee-modules-are-not-communicating/13663/13 "2014-10-29T00:16:12Z")

</div>

Now programming the receiver. Data is being received in ASCII.

int incomingByte;

void setup() {  
Serial.begin(9600);  
}

void loop() {  
// see if there’s incoming serial data:  
if (Serial.available() \> 0) {  
// read the oldest byte in the serial buffer:  
incomingByte = Serial.read();

```
Serial.print(incomingByte);
Serial.println();
delay(1000);

```

}  
}
