User guide

BB2-7040 User Guide – Rev. 1.2 Page 48
Appendix A Connecting Control Solutions Wireless Devices
Control Solutions uses Digi XBee Series 2 ZigBee OEM modules with standard Digi endpoint firmware. Complete
details about the XBee modules may be found on Digi’s web site. A link to the XBee manual may be found on Control
Solutions web site, on the BB2-7040 support page.
A.1 Configuring the Temperature Sensor
You can use the Network Identifier method of identifying sensors. If you use this method, you will need to use the NI
command as follows, where ---name--- is replaced with the name of your choice:
/NI “---name---“
IMPORTANT: There is a potential battery life problem when using the Network Identifier approach. Please see section
5.1 for more details about this problem.
The ZB25-TH temperature/humidity sensor has a thermistor on input 1, and humidity sensor on input 2. The ZB25-T
temperature (only) sensor has a thermistor on input 1. Use the /D1 command for either sensor. Use the /D2 only if you
also have humidity. The following is the set of commands that will be needed to configure the sensor:
/SN 00 3B
/SP 01 F4
/WH 00 64
/D1 02
/D2 02
/IR FF FF
/ST 00 96
/WR
The data parse mask for temperature & humidity are as follows (respectively):
92----------------------------06TTTT----
92----------------------------06----XXXX
The data parse mask for temperature only (no /D2 or /D2 0) is as follows:
92----------------------------02TTTT
Temperature is returned as degrees Celsius x 100. Use scale of 0.01 and offset 0 for degrees C, or scale 0.018 and offset
32 to convert to degrees F. Humidity is a raw count between 0 and 1023 representing 0-100% RH. For humidity, use
scale 0.097752 and offset 0.
Note: The “TT” parse field is unique and specific to Control Solutions ZB25 series sensors. It linearizes a 3K type 2
thermistor reading with 1.2V excitation connected directly to the A/D input of the XBee radio.
A.2 Configuring the Router
No configuration is needed other than setting the PAN ID and sleep period. Use the /SP command to set the sleep period
to a value at least as large as the longest period set in any sensor (or endpoint). The router never sleeps, but needs to
know the sleep period used by endpoints so that the router knows how long to wait for a reply from the endpoint.
IMPORTANT: The most frequent configuration related cause of failure to communicate with a sensor is having the
sensor’s SP longer than the router. If you are having trouble, check the router’s SP parameter first.
A.3 Generic Configuration and the X-CTU Profile
If you are configuring a generic XBee device using the X-CTU, pictured in the screen shot below, you should select the
appropriate firmware version (XB24-ZB ZIGBEE ENDPOINT). Beyond that, you can use the default settings that come
with that version of firmware. You can pre-program the above commands via X-CTU if you wish.