Hello, i am trying to make two xbees communicate with each other in Transperent mode. Each of the xbees is connected to Arduino (separate Arduino for individual XBee)through a 4 channel level converter. After uploading the sketches to the boards the serial monitor is blank with no output.
i configured one XBee as coordinator with pan id-1234,DH= 13200;DL =41A45C5D;Mac address=001320041A4652B;
The other xbee as router with panid - 1234;DH =13200 ;DL =41A4652B; Mac address=001320041A45C5D.All configured in XCTU software.The arduino code uploaded For xbee with mac address 001320041A45C5D. is the following in order to transmit
void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
}
void loop () {
// put your main code here, to run repeatedly:
Serial.print('T');
delay(2000);
}
[/code]The arduino code uploaded for Xbee with mac address 001320041A4652B is the following to work as receiver
void setup() {
Serial.begin(9600);
}
void loop() {
// put your main code here, to run repeatedly:
if(Serial.available()){
char Xbreceived = Serial.read();
Serial.println(Xbreceived);
}
}