AG Electronica XBee 2 Series Manual page 35

Table of Contents

Advertisement

www.agelectronica.com
XBee Series 2 ZigBee OEM RF Modules v1.x2x [2007.07.019]
www.agelectronica.com
The AT firmware returns a carriage return delimited list containing the above-listed fields. The API
firmware returns an AT command response API frame with the IO data included in the command
data portion of the packet.
Example
0x01\r
[1 sample set]
0x0C0C\r
[Digital Inputs: DIO 2, 3, 10, 11 low]
0x03\r
[Analog Inputs: A/D 0, 1]
0x0408\r
[Digital input states: DIO 3, 10 high, DIO 2, 11 low]
0x03D0\r
[Analog input ADIO 0= 0x3D0]
0x0124\r
[Analog input ADIO 1=0x120]
To convert the A/D reading to mV, do the following:
AD(mV)= (ADIO reading/0x3FF)*1200mV
The reading in the sample frame represent voltage inputs of 1144.9 and 342.5mV for ADIO0 and
ADIO1 respectively.
© 2007 Digi International, Inc.
Chapter 4 ‐ RF Module Configuration
Sample AT Response
www.agelectronica.com
     34
www.agelectronica.com

Advertisement

Table of Contents
loading

This manual is also suitable for:

Xb24-buit-004

Table of Contents