hi , i want to make 2 arduino boards communicate with each other using Xbee.Concept is very easy that one arduino sends a code and other arduino recieves it (through xbee series 2) and take an action.However i am some issues with it ,please help:
1.)XCTU does not recognize XBEE after a code other than a blank code has been uploaded on the arduino
2.) By uploading ,Blank sketch , i can make xctu recognize Xbee modules and setup communication between the two .One Xbee is setup as Coordinator and other one is setup is Router.i can test the connnection by send messages to each one and at this point communication is perfect.
3.) Now comes the part that is confusing me , i wrote a code for arduino that has xbee coordinator over it.Code is:
void setup()
{ Serial.begin(9600);
}
void loop()
{Serial.write("ABC");
}
On receiver side i wrote
char Incoming;
void setup()
{
Serial.begin(9600);
}
void loop()
{
if(Serial.read() > 0)
{Incoming = serial.read();
Serial.println(Incoming);
}
}
The problem is nothing gets printed on the serial monitor on reciever side . I had moved both the jumpers on xbee sheilds to XBEE after uploading the codes.
Can anybody please help me in this matter, i will be very thankful
Also, the status lights on both xbee sheilds keeps on blinking.