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.
What is the full part number and firmware version of the modules you are using?
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?
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.
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.
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?
What is it you are trying to do? Are you trying to have the Xbee module do the ADC conversion for you?
No, I could already make the measurement of electrical current. I want to convey measurements remotely to another Xbee connected to an Arduino.
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.
Good evening friend, I managed communication between XBee modules, but the information reaches the receiver in ASCII, how can I convert to decimal?
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…
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);
}
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);
}
}