XBee gets to sleep in…

1 9V battery (Duracell) lasts approximately 1 week. By increasing sleep time, battery life for 8th floor circuit should improve, hopefully significantly. Reset pin 5, take low by dipping wire to ground.

XCTU Settings:
SP setting: 214 (hex = 532/60 = 8 sec)
SP is for setting/reading sleep period for cyclic sleeping remotes. Max is 268 seconds. Since we want to sleep every min instead of 8 sec, 6000ms = 1770 hex as new value.

Hmmm. This change alone didn’t work…
Seems ST (Time before sleep) needs to be increased also. When testing with Processing script, no readings appeared. Was 30 (48ms), then tried 150 (336ms). But now, no chance to sleep.

Next, tested these new settings together:
ST 54
SP 1770
GT 54
Results: It works! Yay! Every minute, reading is sent through…

Leave a Reply