Home/Support/Support Forum/Newbie: Xbee Sleep

Newbie: Xbee Sleep

0 votes
Dear,
I'm trying to sleep/wake up one xbee.
I'm using X2e Wifi, Router, 5 EP.
All S2C Pro; API2. EP are SM5 on Arduino Uno, (DTR/Xbee <--> Pin 9/Uno)
X2e sent a packet to each EP (one after one) to get data.
I'm looking for sleep one EP, and after wake to to anderstand how it's work.

I'm trying this:
Code:
void setup(){ pinMode(XBEE_sleepPin, OUTPUT); } void xbeesleep() { digitalWrite(XBEE_sleepPin,HIGH); } void xbeewake() { digitalWrite(XBEE_sleepPin,LOW); }

But there is no effect, no change: EP can receive and Send data. Why ?
Best regards.
asked Oct 9, 2015 in ZigBee PRO Featureset (and legacy ZNet 2.5) by Rolland New to the Community (10 points)
For detail :
I would like to sleep/wake : ZigBee S2C TH Pro (Firmware 4059)
Please, somebody could be help me ?

Please log in or register to answer this question.

1 Answer

0 votes
Sounds like you don't have the XBee module set for Pin sleep (SM command) or you are not controlling the proper Pin. Most Arduino boards simply don't connect the DTR line through. I would suggest starting there. That is make sure that the modules sleep request line (DTR) is connected to the correct pin at the right voltages on the arduino and your code is controlling the line as expected.
answered Oct 12, 2015 by mvut Veteran of the Digi Community (11,242 points)
...