XBee®/XBee‐PRO® ZB SMT RF Modules
*
N/A
N/A
N/A
CD/DIO PWM/DI RSSI/DI N/A
12 O11 O10
CTS/DI RTS/DI ASSOC/ DIO4 AD3/DI AD2/DI AD1/DI AD0/DI
N/A
O7
O6
DIO5
O3
O2
O1
O0
** Supply N/A
N/A
N/A
AD3
AD2
AD1
AD0
Voltage
Example: Suppose an IO sample is received with analog and digital IO, from a remote with a 64-bit
address of 0x0013A200 40522BAA and a 16-bit address of 0x7D84. If pin AD1/DIO1 is enabled as an
analog input, AD2/DIO2 and DIO4 are enabled as a digital inputs (currently high), and AD3/DIO3 is
enabled as a digital output (low) the IO sample is shown in the API example in the table above.
XBee Sensor Read Indicator
Frame Type: 0x94
When the module receives a sensor sample (from a Digi 1-wire sensor adapter), it is sent out the serial port
using this message type (when AO=0).
Frame Fields
Start Delimiter
Length
Offset Example
0 0x7E
Description
MSB 1 0x00
LSB 2 0x17
3 0x94
Number of bytes between the length and the checksum
Frame Type
MSB 4 0x00
5 0x13
6 0xA2
64-bit Source
Address
7 0x00
64-bit address of sender
16-bit address of sender.
8 0x40
9 0x52
10 0x2B
LSB 11 0xAA
MSB 12 0xDD
LSB 13 0x6C
A
P
I
16-bit Source
Network Address
0x01 - Packet Acknowledged
0x02 - Packet was a broadcast packet
P
a
c
k
e
t
Receive Options
14 0x01
Frame-specific Data
0x01 = A/D Sensor Read
0x02 = Temperature Sensor Read
0x60 = Water present (module CD pin low)
1-Wire
Sensors
15 0x03
16 0x00
17 0x02
18 0x00
19 0xCE
20 0x00
21 0xEA
22 0x00
23 0x52
Indicates a two-byte value for each of four A/D sensors
(A, B, C, D)
Set to 0xFFFFFFFFFFFFFFFF if no A/Ds are found.
A/D Values
Temperature
Read
24 0x01
Indicates the two-byte value read from a digital
thermometer if present. Set to 0xFFFF if not found.
25 0x6A
26 0x8B
Checksum
0xFF - the 0x8 bit sum of bytes from offset 3 to this byte.
© 2010 Digi International, Inc.
112