XK-Z11-M Digi International, XK-Z11-M Datasheet - Page 93

no-image

XK-Z11-M

Manufacturer Part Number
XK-Z11-M
Description
ZIGBEE MODULE DEVELOPMENT KIT
Manufacturer
Digi International
Series
XBee™r
Type
Transceiver, 802.15.4/ZigBeer
Datasheets

Specifications of XK-Z11-M

Frequency
2.4GHz
For Use With/related Products
XBee Modules
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
602-1184
© 2010 Digi International, Inc.
XBee®/XBee‐PRO® ZB RF Modules 
Sleep Examples
Extended Sleep Periods
This section covers some sample XBee configurations to support different sleep modes. Several AT commands are
listed with suggested parameter values. The notation in this section includes an '=' sign to indicate what each
command register should be set to - for example, SM=4. This is not the correct notation for setting command values
in the XBee. In AT command mode, each command is issued with a leading 'AT' and no '=' sign - for example ATSM4.
In the API, the two byte command is used in the command field, and parameters are populated as binary values in
the parameter field.
Example 1
Example 2
Example 3
Pin and cyclic sleep devices that might sleep longer than 30 seconds cannot receive data transmissions reliably
unless certain design approaches are taken. Specifically, the end devices should use IO sampling or another
mechanism to transmit data when they wake to inform the network they can receive data. SP and SN should be
set on routers and coordinators such that (SP * SN) matches the longest expected sleep time. This configures
the poll timeout so end devices are not expired from the child table unless a poll request is not received for 3
consecutive sleep periods.
As a general rule of thumb, SP and SN should be set the same on all devices in almost all cases.
Configure a device to sleep for 20 seconds, but set SN such that the On/Sleep line will remain de-
asserted for up to 1 minute.
The following settings should be configured on the end device.
SM = 4 (cyclic sleep) or 5 (cyclic sleep, pin wake)
SP = 0x7D0 (2000 decimal). This causes the end device to sleep for 20 seconds since SP is measured in units of
10ms.
SN = 3. (With this setting, the On/Sleep pin will assert once every 3 sleep cycles, or when RF data is received)
SO = 0
All router and coordinator devices on the network should set SP to match SP on the end device. This ensures
that RF packet buffering times and transmission timeouts will be set correctly.
Since the end device wakes after each sleep period (ATSP), the SN command can be set to 1 on all routers and
the coordinator.
Configure an end device to sleep for 20 seconds, send 4 IO samples in 2 seconds, and return to
sleep.
Since SP is measured in 10ms units, and ST and IR are measured in 1ms units, configure an end device with the
following settings:
SM = 4 (cyclic sleep) or 5 (cyclic sleep, pin wake)
SP = 0x7D0 (2000 decimal). This causes the end device to sleep for 20 seconds.
SN = 1
SO = 0
ST = 0x7D0 (2000 decimal). This sets the sleep timer to 2 seconds.
IR = 0x258 (600 decimal). Set IR to a value greater than (2 seconds / 4) to get 4 samples in 2 seconds. The
end device sends an IO sample at the IR rate until the sleep timer has expired.
At least one analog or digital IO line must be enabled for IO sampling to work. To enable pin 19 (AD1/DIO1) as
a digital input line, the following must be set:
D1 = 3
All router and coordinator devices on the network should set SP to match SP on the end device. This ensures
that RF packet buffering times and transmission timeouts will be set correctly.
Configure a device for extended sleep: to sleep for 4 minutes.
     92

Related parts for XK-Z11-M