EasyManuals Logo

Digi XBee User Manual

Digi XBee
307 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #184 background imageLoading...
Page #184 background image
API Operation Frame descriptions
XBee/XBee-PR S2C ZigBe RF Module
184
Frame data
fields Offset Description
Analog
sample
21-22 If the sample set includes any analog I/Olines (Analog channel mask > 0),
each enabled analog input returns a 2-byte value indicating the A/D
measurement of that input. Analog samples are ordered sequentially from
ADO/DIO0 to AD3/DIO3.
Example
In the following example, the device receives an I/O sample with an analog and digital I/O from a
remove device with a 64-bit serial number of 0x0013A20040522BAA and a 16-bit address of 0x7D84.
If you enable pin AD1/DIO1 as an analog input, enable AD2/DIO2 and DIO4 as digital inputs (currently
high), and enable AD3/DIO3 as a digital output (low) the I/O sample is shown in the API example in the
following table.
Frame fields Offset Example
Start delimiter 0 0x7E
Length MSB 1 0x00
LSB 2 0x14
Frame type 3 0x92
64-bit source address MSB 4 0x00
5 0x13
6 0xA2
7 0x00
8 0x40
9 0x52
10 0x2B
LSB 11 0xAA
16-bit source network address MSB 12 0x7D
LSB 13 0x84
Receive options 14 0x01
Number of samples 15 0x01
Digital channel mask 16 0x00
17 0x1C
Analog channel mask 18 0x02

Table of Contents

Other manuals for Digi XBee

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Digi XBee and is the answer not in the manual?

Digi XBee Specifications

General IconGeneral
Operating Frequency2.4 GHz
RF Data Rate250 kbps
ModelXBee S2C
CategoryControl Unit
Operating Voltage2.1 to 3.6V DC
Operating Temperature-40 to +85 °C
InterfaceUART
Dimensions24.38 x 27.61 x 9.14 mm

Related product manuals