SLEEP MODE

hello please help me to configure the sleep mode i wonder why i cant wake up my module from the pin sleep…
Im using xbee zb… i read the manual for this… When Sleep_Request
goes high, the module enters sleep mode once any pending transmissions have finished. The
module remains in a low power state until the Sleep_Request pin goes low.

so… what i did is i configure i/o settings having a digital out, high and low… but then nothing happens… am i doing it right? thanks for those who will response…

You got old firmware 2821. You might want to try updating (2841). You can get it on the digi website.

I got it working here. Here’s my config file. I don’t see any obvious differences other than the firmware version.

For my testing I had the xbee on the digi (maxstream) prototype board. I applied 3.3v to pin 9. That forced the module to sleep. I then grounded pin 9 and the unit woke up.

Knight

Post your configuration file. I’d like to take a look at it. Perhaps something is missing there.

You can generate it from XCTU -> modem configuration -> Profile -> save.

Knight

Is there any way to reduce te awake time below 100 ms? How if possible or why if its not possible?

XB24-ZB_2821.mxi
80
0
251
2821
0
[A]ID=0
[A]SC=1FFE
[A]SD=3
[A]ZS=0
[A]JN=0
[A]DH=0
[A]DL=0
[A]NI=
[A]NH=1E
[A]BH=0
[A]DD=30000
[A]SE=E8
[A]DE=E8
[A]CI=11
[A]PL=4
[A]PM=1
[A]EE=0
[A]EO=0
[A]BD=3
[A]NB=0
[A]D7=1
[A]D6=0
[A]CT=64
[A]GT=3E8
[A]CC=2B
[A]SM=1
[A]ST=1388
[A]SP=20
[A]SN=1
[A]SO=0
[A]D0=1
[A]D1=4
[A]D2=5
[A]D3=0
[A]D4=0
[A]D5=1
[A]P0=1
[A]P1=0
[A]P2=0
[A]PR=1FFF
[A]LT=0
[A]RP=28

… from the default of
modem:
xb24-zb
function set:zigbee end device AT
version:
2821

what i just configure is the >
*sleep mode - 1 Pin hibernate
*I/O settings >

  1. D1 = 4(digital out, low)
  2. D2 = 5(digital out, high)
    (i just used this to try and check wether the module recieved an input high and low to the pin sleep. but unfortunately it didnt work.

anything missing?
regards

What exactly is connected to the sleep pin?

@johnf it is connected in pin D1 or D2…
@kjensen8 i update my firmware but unfortunately when i am trying to set it back to NO SLEEP it didnt work and got an error. does the latest version doesnt support NO SLEEP MODE?

The 2x21 does not support NO SLEEP but a new firmware will be out soon that will implement the NO SLEEP option.

omg… i need it… to bad i update all my xbee with that firmware O_O… so when will it be release?

> The 2x21 does not support NO SLEEP but a new firmware
> will be out soon that will implement the NO SLEEP
> option.

Is this still true in 2941?

That’s the version I have and when I try to set SM (Sleep Mode)to 0 the 0x88 AT Command Response Command Status byte returned is 03 = Invalid Parameter.

Can you confirm that 2941 does not support SM = 0?

Thanks-
-Michael

You say the sleep pin is connected to D1 or D2. Surely when the module does go to sleep it will stop driving those pins, so that form of connection can never wake it up?

@johnf i already got it running… the module doesnt disable those pin when the module goes sleep… when pin9 is connected to pin d1 low it wakes up… now my problem is to wake up the ZB module remotely. i did not know how to work it out. i cant configure the atir, atit, atiu, atia… what should i do now? thank you guys… well anyway is this possible?
hope you can help me with this one and im looking forward…
-regards

The module can’t be woken up remotely. It will either wake up according to a schedule set via its cyclic sleep settings, or by pin wake if configured for that option.

hmm… so its not possible… but maybe it is possible for the module to remotely get into sleepmode? right?

Yes, you can configure a module to enable sleep mode remotely, but once set, it behaves accordingly.

so what command should i consideR?

Confirmed. 2941 is an End Device firmware, and will only support sleep modes, not turning them off. For SM=0, you’d need the API Router firmware 2341 (sticking with the API type of 2941).

The lowest settable value using the latest released ZB firmware is 1 x 1ms, so it can certainly be set much lower than 100 ms, but in practical use it might actually stay awake longer than that period.

The reason is that it can take the module up to 100 ms to poll for any data which needs handling when the module awakens during “ST”. The module is going to stay awake until its done its poll, at which time it will go back to sleep if ST has expired, or stay awake “ST” time then go back to sleep if not.