-
You Reply: Hi,
Thank you or your test codes, but they don't work. I caan't establish communication through the XBee.
I neither can't send AT commands to the XBee on the ecoduino : I put empty setup() and loop() functions in the ecoduino and then use terminal to send AT commands (as I do with my other arduino).
It seems having a problem with the XBee connection on the ecoduino
Best
-
You Reply: Hi,
Thank you or your test codes, but they don't work. I caan't establish communication through the XBee.
I neither can't send AT commands to the XBee on the ecoduino : I put empty setup() and loop() functions in the ecoduino and then use terminal to send AT commands (as I do with my other arduino).
It seems having a problem with the XBee connection on the ecoduino
Best
-
You Reply: Hi,
I understand that I have to use Serial1 to communicate with the Xbee and Serial for the USB. I tried that but it didn't work. Here is the program on the ecoduino :
Code: Select allvoid setup()
{
Serial1.begin(9600);
}
void loop()
{
Serial1.print('H');
delay(1000);
Serial1.print('L');
delay(1000);
}
And the program on my other arduino connected with USB :
Code: Select allint incomingByte; // a variable to read incoming serial data into
void setup() {
// initialize serial communication:
Serial.begin(9600);
}
void loop() {
// see if there's incoming serial data:
if (Serial.available() > 0) {
// read the oldest byte in the serial buffer:
incomingByte = Serial.read();
Serial.println(incomingByte);
}
}
I don't see any data on the Serial of this arduino. I tried to monitor the voltage of the Xbee on the ecoduino and the pins DIN and DOUT are about 0.8V which seems that data are not transmitted to the Xbee.
Best -
You Reply: Hi,
I understand that I have to use Serial1 to communicate with the Xbee and Serial for the USB. I tried that but it didn't work. Here is the program on the ecoduino :
Code: Select allvoid setup()
{
Serial1.begin(9600);
}
void loop()
{
Serial1.print('H');
delay(1000);
Serial1.print('L');
delay(1000);
}
And the program on my other arduino connected with USB :
Code: Select allint incomingByte; // a variable to read incoming serial data into
void setup() {
// initialize serial communication:
Serial.begin(9600);
}
void loop() {
// see if there's incoming serial data:
if (Serial.available() > 0) {
// read the oldest byte in the serial buffer:
incomingByte = Serial.read();
Serial.println(incomingByte);
}
}
I don't see any data on the Serial of this arduino. I tried to monitor the voltage of the Xbee on the ecoduino and the pins DIN and DOUT are about 0.8V which seems that data are not transmitted to the Xbee.
Best -
You Reply: Hi,
Thanks for your help.
I replaced Serial by Serial1 in my program on the ecoduino, but it doesn't work anymore. When I try to monitor the data with the serial monitor of Arduino IDE of my other arduino, nothing appears.
I have an ecoduino V1.0
Best
Chorose
-
You Reply: Hi,
Thanks for your help.
I replaced Serial by Serial1 in my program on the ecoduino, but it doesn't work anymore. When I try to monitor the data with the serial monitor of Arduino IDE of my other arduino, nothing appears.
I have an ecoduino V1.0
Best
Chorose
-
You Reply: Hi everybody,
I have a problem using xbee with the ecoduino auto flower watering kit. I have a serie1 xbee with the default configuration. I use the following program on the ecoduino board :
Code: Select allvoid setup()
{
Serial.begin(9600);
}
void loop()
{
Serial.print('H');
delay(1000);
Serial.print('L');
delay(1000);
}
When I try to read the transmitting data on the other side, using the sample program PhysicalPixel, nothing appear. The same programs with another arduino and the same configurations run well.
Is it a special configuration to use the xbee on the ecoduino ?
Thanks for the help 