Hi everyone.
First, this is my first post here, i’m glad i discovered this site some month ago. Amasing site & community around it.
I’m new to electronics, but i have a project i’d like to see working one day, so i bought lots of module & things a month ago on sparkfun, and i’m playing with it since then.
But now i’m facing a little annoying problem so i hope you guys can help me !
here it is :
i’ve got one arduino duemilanove
got also a pair of the nice [XBee-PRO® 868 OEM RF Modules (yeah, i’m living in France…). I’ve tested the 2 modules and they’re working fine, talking to each others with Digi’s dev kit. Default settings appart for TX power level set to the minimum since i’m testing indoor. (details : modem:XBP08-DP, function:XBEE-PRO 868 single channel, Version 1027)
In my project, one of them is on the Xbee shield on the Arduino, the other is on a xbee explorer USB.
Both modules (arduino+shield+xbee & xbee explo USB+xbee) are pluged into my laptop.
shield switch is in UART (i tried also with DLINE (pin 2 3), but same pb)
Now my problem is i run a very simple testing program on the arduino :
void setup() {
Serial.begin(9600);
}
void loop() {
if (Serial.available() > 0) {
int inByte = Serial.read();
Serial.write(inByte);
}
Serial.println("testing...");
Serial.write(78); // "N"
delay(1000);
}
i have the serial monitor monitoring @ COM6 for the arduino
and X-CTU connected to COM7, monitoring the xbee explorer USB
It looks like the “arduino” xbee is sending only “00” byte, each iteration of the loop function, a dot is printed in the terminal of xctu, and this dot is “00” in hexa. (if i unplug/reset arduino, no more 00 byte is sent, so i guess it is really sending something …)
Now if i write something into the XCTU terminal, it sends the data to the arduino through the xbee usb explorer, without any problem, and i can see what i typed into the serial monitor of arduino. (one letter at a time of course)
if i send something into COM6 with serial monitor, nothing happens … ???
am i missing something really obvious here ? i’d like to see both “testing…” and “N” strings into the XCTU terminal. Why is the arduino+xbee sending only a null byte
thanks for the help
chboing](http://www.digi.com/products/wireless/point-multipoint/xbee-pro-868.jsp#docs)