hi,
Can you please help me with how to configure my xbeePRO to communicate with a normal series 2 xbee??
I want to configure S2 xbee as coordinator and 2 xbeePROs as 'end device' and 'router' each.
hi,
Can you please help me with how to configure my xbeePRO to communicate with a normal series 2 xbee??
I want to configure S2 xbee as coordinator and 2 xbeePROs as 'end device' and 'router' each.
Can you please help me with how to configure my xbeePRO to communicate with a normal series 2 xbee??
Pro is a power-level/distance designator. It does not uniquely define which XBee you have.
Thats something I was going to ask about Paul, the pro just means higher Tx power ? everything else is the same then.
I will be working on a telemetry and remote link in a week or two that has to be uber safe ( it moves heavy stuff that could kill ) I will be asking advice later, but I am looking at the pro Xbee, perhaps I should be looking eslsewhere ?
the pro just means higher Tx power ? everything else is the same then.
Both Series 1 and Series 2 modules are available in regular and pro versions. The only difference is the power consumption/range.
perhaps I should be looking eslsewhere ?
The XBees are very reliable, and handle a lot of the error detection/retransmission stuff that cheaper radios do not.
The key to safety is to stop if no data arrives within some time period. Don't just keep going assuming that lack of communication is a good (or even acceptable) thing.
thankyou PaulS sir for the fast reply..
i'm confused as to whether i have to configure it in any specific way through XCTU..and also when i plug the PRO onto my arduino UNO, it is resetting continuously. Not able to understand the reason!
i'm confused as to whether i have to configure it in any specific way through XCTU.
Yes, you do.
and also when i plug the PRO onto my arduino UNO, it is resetting continuously. Not able to understand the reason!
We've hired a psychic. His start date is the 12th of never. If you need help before then, you'll need eo provide more details. Which XBee is it? How is it connected to the UNO? How is the UNO powered? How is the XBee powered? What code is running on the UNO?
Sorry sir, for the lack of details.
Sir, can u please lead me through the process of configuring the xbeePRO to join a network of S2 xbees?
I want to configure it in API mode.
and here are the details of the connections:
I' using the UNO powered through the 12V DC adaptor. i connected xbeePRO onto UNO through the xbee shield. I've attached the pics of how i've connected it. WHen i pwer the whole thing with USB cable, there is no problem. But when i connect it through the adaptor, it goes on resetting.(An i've connected the jumper to EXT pins on arduino)
Here is the code i've in the arduino:
I'm making a temperature sensor here. The initial setup is for that.
//Router2PRO
void Xbee_Xmit_Request( byte *addr64, word network, byte nbytes, byte *data, byte frameId, byte bRadius, byte options );//function declaration
# define XMIT_REQ 0x7e //start frame
# define FRM_DLM 0x10 //transmit request
byte coordAddr[] = {0x00,0x13,0xA2,0x00,0x40,0x94,0x1C,0x79};
const int buzzer = 13;
const int analogInPin = A1; // Analog input pin that the potentiometer is attached to
const int Vcc = A2; //power
const int Gnd = A0; //ground
float sensorValue = 0; // value read from the lm35
float tempC;
byte temp[4];
void setup()
{
Serial.begin(9600);
analogReference(INTERNAL);
pinMode(Vcc, OUTPUT);
pinMode(Gnd, OUTPUT);
analogWrite(Vcc,255);
analogWrite(Gnd,0);
delay(1000);
}
void loop()
{
sensorValue = analogRead(analogInPin); //reading temperature
tempC = sensorValue/9.31;
memcpy(temp,&tempC,4); //converting it into bytes
Xbee_Xmit_Request(coordAddr,0xfffe,4,temp,1,0,0); transmitting in API frame format
delay(1000);
}
void Xbee_Xmit_Request( byte *addr64, word network, byte nbytes, byte *data, byte frameId, byte bRadius, byte options )
{
word tempWrd = 0;
long checkSum = XMIT_REQ;
byte tempByte;
char i;
char *bytePtr = NULL;
delay(10);
/* Transmission of data in API format */
Serial.write(FRM_DLM); //Send Start byte
tempWrd = nbytes + 14;
bytePtr = (char *) &tempWrd;
for( i = 1; i > -1; i-- )
{
Serial.write( *( bytePtr + i )); //Send length (little Endian)
}
Serial.write(XMIT_REQ); //Send frame type-Here Zigbee Transmit Request frame-0x10
Serial.write(frameId ); //send frame ID //Send frame ID for Acknowledgment
for(i = 0; i<8; i++)
{
Serial.write(*( addr64 + i )); //Send 64 bit Destination radio's address
}
bytePtr = ( char *) &network;
for( i = 1; i > -1; i-- )
{
Serial.write( *( bytePtr + i ) ); //Send Destination radio's network ID
}
Serial.write(bRadius); //Send broadcast radius
Serial.write(options); //Supported transmission options
for( i = 0; i < nbytes; i++)
{
//tempByte = *data;
checkSum += *data; //calculating checkSum
Serial.write( *data ); //Sending RF data
data++;
}
//calculating checkSum
checkSum += frameId + bRadius + options;
for(i = 0; i<8; i++)
{
checkSum += *( addr64 + i );
}
bytePtr = ( char *) &network;
for( i = 1; i > -1; i-- )
{
checkSum += *( bytePtr + i ) ;
}
Serial.write(byte(0xff - (checkSum & 0xff)) ); //Send Checksum
}
Sir, can u please lead me through the process of configuring the xbeePRO to join a network of S2 xbees?
No, I can't. As I've said, and you've ignored, the Pro designation does not mean that the XBee IS a series 2. Until you confirm that it is, but providing a link to the specific device that you have, you are on your own.
sir,i'm not able to understand your requirement.
On the xbee modules, one has 'series 2' written on it and the other has 'PRO' written on it(with no mention of what series it is!). Sir, please mention what further information is required of me. Thankyou.
On the xbee modules, one has 'series 2' written on it and the other has 'PRO' written on it
All the series 2 models, regular and Pro, have series 2 on them.
The series 1 models, regular and Pro, do not have series 1 on them.
That yours does not say series 2 on it means that it is a series 1.
Series 1 radios can not talk to series 2 radios. Series 2 radios can not talk to series 1 radios.
thanks a lot PaulS sir... so that is why it was not getting connected.
Thankyou sir for your time ![]()