Hi,
I’m a newbie in XBee programming. I’ve started building a simple temperature sensor ( LM335 ) attached to the AD0 pin of XBee, it seems to work fine until I’ve decided to use sleep mode. I’ve configured SP = 0x07D0 ( in theory, 20 seconds ) but the real thing is that my coordinator is seing sample data every 55 seconds.
My XBee Pro 2, is using ZIGBEE END DEVICE AT firmaware, v288C.
Things that I do not understand:
-
SM = 4 by default, but could be useful during development to have SM = 0 in order to avoid sleeping and do not have to use resets to wake up the XBee every time. Change is not possible in X-CTU or terminal using AT commands.
-
SP = 20 seconds, IR = 2 seconds, ST = 5 seconds, and SN = 1. So in theory the device is entering sleep mode every 20 seconds, reads sample data every 2 seconds during 5 seconds in order to grant at least 2 samples and sleeps again.
What I’m doing wrong ?
Details of XBee with firmware ZIGBEE END DEVICE AT 288C
BP24-ZB_288C.mxi
80
0
261
288C
0
[A]ID=2012
[A]SC=3FFF
[A]SD=3
[A]ZS=0
[A]NJ=FF
[A]JN=0
[A]DH=0
[A]DL=0
[A]NI=EDEV1
[A]NH=1E
[A]BH=0
[A]DD=30000
[A]NT=3C
[A]NO=0
[A]SE=E8
[A]DE=E8
[A]CI=11
[A]PM=1
[A]EE=0
[A]EO=0
[A]BD=4
[A]NB=0
[A]SB=0
[A]RO=3
[A]D7=1
[A]D6=0
[A]CT=64
[A]GT=3E8
[A]CC=2B
[A]SM=4
[A]ST=1388
[A]SP=7D0
[A]SN=1
[A]SO=4
[A]PO=0
[A]D0=2
[A]D1=0
[A]D2=0
[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
[A]IR=7D0
[A]IC=0
[A]V+=0