Hi,
Thanks for your reply. I have additional information.
First, I figured out the "new" shield version is 1.3.
Then, I have some new details about this weird issue. I used this simple sketch to switch between sleep mode and woken-up mode :
Code:
#include <avr/sleep.h>
#define XBEE_sleepPin 9
void setup() {
Serial.begin(9600);
pinMode (XBEE_sleepPin,OUTPUT);
}
void xbeesleep() {
Serial.println("sleep");
digitalWrite(XBEE_sleepPin,HIGH); // Setting this pin to LOW turns off the pull up resistor, thus saving precious current
delay (3000);
}
void xbeewake() {
Serial.println("wake");
digitalWrite(XBEE_sleepPin,LOW); // wake-up XBee
delay(1000); //make sure that XBee is ready
}
void loop() {
xbeewake();
delay(5000);
xbeesleep();
}
Pin 9 of the Arduino Uno is linked to Pin 9 (sleep_rq pin) of the Xbee shield, which is connected to the SLEEP_RQ pin of the XBEE radio module.
When doing so, the XBEE module never goes out of sleep and the sketch execution is stopped, which is not the case with my older shield. The program/module is still sleeping if I uncomment the call to xbeesleep in my sketch.
However when connecting this Pin directly to the ground, the XBee module is woken up, the program restarts and I can upload a sketch.
When checking the state of the sleep_rq pin, the voltage always indicates 3.3 V.
I also tried to configure the DI8 parameter as digital input (3) instead of disabled (0) but it does not help.
Here are some pictures :



Many thanks for considering my issue.
Regards.