EasyManuals Logo

Digi XBee SX User Manual

Digi XBee SX
206 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 #165 background imageLoading...
Page #165 background image
Monitor I/O lines Pin configurations
XBee®/XBee-PRO SX RF Module User Guide
165
Device pin name Device pin number Configuration command
AD3 / DIO3 30
D3
AD2 / DIO2 31
D2
AD1 / DIO1 32
D1
AD0 / DIO0 / Commissioning Pushbutton 33
D0
Use the PR command to enable internal pull up/down resistors for each digital input. Use the PD
command to determine the direction of the internal pull up/down resistor.
Queried sampling
You can use the IS command to query the current state of all digital input and ADC lines on the device.
If no inputs are defined, the command returns with an ERROR.
If you send the IS command from Command mode, then the device returns a carriage return delimited
list containing the following fields.
Field Name Description
1 Sample
sets
Number of sample sets in the packet. Always set to 1.
2 Digital
channel
mask
Indicates which digital I/O lines have sampling enabled. Each bit corresponds to
one digital I/O line on the device.
bit 0 = AD0/DIO0
bit 1 = AD1/DIO1
bit 2 = AD2/DIO2
bit 3 = AD3/DIO3
bit 4 = DIO4
bit 5 = ASSOC/DIO5
bit 6 = RTS/DIO6
bit 7 = CTS/GPIO7
bit 8 = DTR / SLEEP_RQ / DIO8
bit 9 = ON_SLEEP / DIO9
bit 10 = RSSI/DIO10
bit 11 = PWM/DIO11
bit 12 = CD/DIO12
For example, a digital channel mask of 0x002F means DIO0,1,2,3, and 5 are
enabled as digital I/O.
1 Analog
channel
mask
Indicates which lines have analog inputs enabled for sampling. Each bit in the
analog channel mask corresponds to one analog input channel.
bit 0 = AD0/DIO0
bit 1 = AD1/DIO1
bit 2 = AD2/DIO2
bit 3 = AD3/DIO3
bit 4 = AD4/DIO4
bit 5 = ASSOC/AD5/DIO5

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

Digi XBee SX Specifications

General IconGeneral
BrandDigi
ModelXBee SX
CategoryControl Unit
LanguageEnglish

Related product manuals