This is my first time using Xbee modules. I am using two Xbee Serie 1 modules.
They are programmed as follows:
CH 10 ID 1 DH 0 DL 3 MY 2 CE 0
and
CH 10 ID 1 DH 0 DL 2 MY 3 CE 1
Arduino launches this:
const int ledPin = 13;
int incomingByte;
void setup() {
Serial.begin(9600);
pinMode(ledPin, OUTPUT);
}
void loop() {
incomingByte = Serial.read();
if (incomingByte == 'H') {
digitalWrite(ledPin, HIGH);
}
if (incomingByte == 'L') {
digitalWrite(ledPin, LOW);
}
}
So, I put the end device on arduino using xbee shield, and the coordinator on xbee explorer. Using the X-CTU software, I write about the coordinator, but nothing happens.
source
share