BMay 2018Added note on range estimation. Changed ICto ISED.
Trademarks and copyright
Digi, Digi International, and the Digi logo are trademarks or registered trademarks in the United
States and other countries worldwide. All other trademarks mentioned in this document are the
property of their respective owners.
Information in this document is subject to change without notice and does not represent a
commitment on the part of Digi International. Digi provides this document “as is,” without warranty of
any kind, expressed or implied, including, but not limited to, the implied warranties of fitness or
merchantability for a particular purpose. Digi may make improvements and/or changes in this manual
or in the product(s) and/or the program(s) described in this manual at any time.
Warranty
To view product warranty information, go to the following website:
www.digi.com/howtobuy/terms
Customer support
Gather support information: Before contacting Digi technical support for help, gather the following
information:
Product name and model
Product serial number (s)
Firmware version
Operating system/browser (if applicable)
Logs (from time of reported issue)
Trace (if possible)
Description of issue
Steps to reproduce
Contact Digi technical support: Digi offers multiple technical support plans and service packages.
Contact us at +1 952.912.3444 or visit us at www.digi.com/support.
XBee RF Modems User Guide
2
Feedback
To provide feedback on this document, email your comments to
Include the document title and part number (XBee RF Modems User Guide, 90001517 B) in the subject
line of your email.
techcomm@digi.com
XBee RF Modems User Guide
3
Contents
XBee RF Modems User Guide
Applicable firmware and hardware6
General XBee RFModem specifications6
Regulatory conformity summary6
Power requirements6
Communication interface specifications7
General specifications8
Power connector12
RS-232/RS-485 serial port12
RJ-45 pin signals13
Front view (Analog/Digital I/O variant)14
Analog and Digital I/O ports14
Power connector14
Phoenix 10-pin connector signals14
Back view (all variants)15
RSSI LEDs16
I/O and associate LEDs16
USB Mini-B port16
DIP switch16
Reset and Commissioning buttons16
Antenna Port16
Getting started with the XBee RF Modem
Kit requirements18
System requirements18
Additional requirements18
Identify the kit contents18
Connect to the USB port18
Connect to the RS-232 port19
Configure the device using XCTU20
Discover local XBee RF Modems20
Configure a network23
XBee RF Modems User Guide
4
Software libraries24
Operation
Commissioning Pushbutton behavior26
XBee-PRO SX RF Modem26
Interfacing protocols26
RS-232 operation27
RS-485 (2-wire) half-duplex operation28
RS-485 (4-wire) full-duplex operation29
RS-485 connection guidelines29
Analog input single-ended voltage operation30
Analog input current loop operation30
Analog input differential voltage operation30
Digital input operation31
Digital sinking driver output operation31
Configure analog and digital modes31
Analog and digital I/O sampling33
Regulatory information
FCC (United States)36
FCC Part 15 Class B36
Labeling requirements (FCC 15.19)36
Modifications (FCC 15.21)36
XBee RF Modem approved antennas (30 dBm maximum RF power)37
ISED (Innovation, Science and Economic Development Canada)42
RF Exposure42
ACMA (Australia)42
Power requirements42
Troubleshooting
Reset the XBee RF Modem44
XBee RF Modems User Guide
5
XBee RF Modems User Guide
The XBee RF Modem is an enclosed, compact solution that includes an XBee RF Module and supports
communication with systems using RS-232, RS-485, USB, analog input, and digital I/O interfaces. The
modem's on-board XBee RF module transmits and receives data from other devices on the same
wireless network, allowing you to easily make your existing wired systems wireless.
This user guide does not provide a comprehensive description of the XBee modules—it only covers the
interfaces and instructions of the XBee RF Modem. For an extensive guide on use of the XBee RF
Module being used on your modem, see the appropriate user guide listed below:
n XBee-PRO SX Module: XBee/XBee-PRO SX RF Module User Guide
Applicable firmware and hardware
This manual supports the following firmware:
n XBee-PRO SX RF Modem: 0x900X
It supports the following hardware:
n XBee RS-232/RS-485 RF Modem
n XBee Analog/Digital I/O RF Modem
General XBee RFModem specifications
Regulatory conformity summary
This table describes the agency approvals for the devices.
CountryModemApproval
United StatesXBee-PRO SX RF ModemContains FCC ID: MCQ-XBPSX
Operating input range (observe the absolute voltage
ratings shown above)
Input impedanceSingle-ended
Resolution10 bits
AccuracyTemperature =
Digital inputs
Input typeNon-inverting Schmitt
Maximum: 11 V
Minimum: -0.5 V
Single-ended
voltage mode
Current loop mode 4 - 20 mA
Differential
voltage mode
voltage mode
Current loop mode 120 Ω
Differential
voltage mode
25°C
0 - 10 VDC
± 4 VDC
13300 Ω
~1 MΩ
0.5%
trigger gate
Positive-going switching threshold2.5 V
Negative-going switching threshold1 V
XBee RF Modems User Guide
7
XBee RF Modems User GuideXBee-PRO SX RF Modem specifications
SpecificationConditionValue
Absolute voltage rating (each pin)
Input impedance~1 MΩ
Digital outputs
Output typeOpen collector sinking
Maximum sink current200 mA
Maximum supply voltage for external pull-up resistor31 V
Resistor pull-ups (switch selectable)10 kΩ pulled up to 3.3
Maximum: 31 V
Minimum: -0.5 V
driver
VDC
General specifications
The following table describes the general specifications for the devices.
SpecificationValue
Size4.500" x 2.750" x 1.125" (11.4 cm x 7.0 cm x 2.9 cm)
Weight150 g (5.3 oz)
Restriction of Hazardous Substances (RoHS)Compliant
Data connectionFemale RJ-45, 10-pin screw terminal, USB Mini-B
Antenna impedance50 Ω unbalanced
Maximum input RF level at antenna port6 dBm
Operating temperature-40 °C -85 °C (industrial)
XBee-PRO SX RF Modem specifications
Networking specifications
SpecificationValue
ModulationGaussian Frequency Shift Keying (GFSK)
Spreading
technology
Frequency Hopping Spread Spectrum (FHSS)
XBee RF Modems User Guide
8
XBee RF Modems User GuideXBee-PRO SX RF Modem specifications
SpecificationValue
Supported
network
Peer-to-peer (master/slave relationship not required), point-to-point/point-to-
multipoint, mesh
topologies
(software
selectable)
Encryption
Optional 256-bit Advanced Encryption Standard (AES) encryption which may be
operated in either cipher block chaining (CBC) mode or counter (CTR) mode. Use
the EE command to enable encryption. Use the KY command to set the
encryption key.
Performance specifications
The following table provides the performance specifications for the XBee-PRO SX RF Modem.
Note Range figure estimates are based on free-air terrain with limited sources of interference. Actual
range will vary based on transmitting power, orientation of transmitter and receiver, height of
transmitting antenna, height of receiving antenna, weather conditions, interference sources in the
area, and terrain between receiver and transmitter, including indoor and outdoor structures such as
walls, trees, buildings, hills, and mountains.
SpecificationConditionValue
Frequency rangeISM 902 to 928 MHz
RF data rate (Software selectable)Low data rate10 kb/s
Middle data rate110 kb/s
High data rate250 kb/s
Transmit power (software selectable)Up to 30 dBm
Rural range line of sightLow data rateUp to 105 km (65 mi)
Urban range line of sightLow data rateUp to 18 km (11 mi)
Receiver sensitivityLow data rate-113 dBm
Middle data rate-106 dBm
High data rate-103 dBm
1
We estimate rural ranges based on a 14.5 km (9 mi) range test with dipole antennas.
2
Range estimated assuming the urban noise floor is approximately 15 dB higher than rural. The actual range
depends on the setup and level of interference in your location.
1
2
XBee RF Modems User Guide
9
XBee RF Modems User GuideXBee-PRO SX RF Modem specifications
SpecificationConditionValue
Receiver IF selectivityLow data rate ± 250 kHz40 dB
Low data rate ± 500 kHz50 dB
Middle data rate ± 250 kHz30 dB
Middle data rate ± 500 kHz40 dB
High data rate ± 500 kHz30 dB
High data rate ± 1000 kHz45 dB
Receiver RF selectivityBelow 900 MHz and above 930 MHz> 50 dB
XBee RF Modems User Guide
10
Hardware
Front view (RS-232/RS-485 variant)12
Front view (Analog/Digital I/O variant)14
Back view (all variants)15
XBee RF Modems User Guide
11
HardwareFront view (RS-232/RS-485 variant)
Front view (RS-232/RS-485 variant)
NumberFunction
1RS-232/RS-485 serial port
2Power connector
Power connector
7 - 30 VDC power connector
RS-232/RS-485 serial port
CAUTION! The RJ-45 port is only for RS-232/RS-485 connections. If you plug in any Power
over Ethernet (PoE) connection, it will damage the port.
Female RJ-45
XBee RF Modems User Guide
12
XBee RF Modems User Guide13
HardwareFront view (RS-232/RS-485 variant)
RJ-45 pin signals
The following table describes the pin signals of the RJ-45 connector. Low-asserted signals are distinguished with a horizontal line over the signal name.
For more information on how to use the RS-232 and/or RS-485 functions on the modem, see Interfacing protocols.
RS-232
Pin
nameRS-232 description
1RXD
CTS
2
3TXD
4GND
5GND
RTS
6
7DSR/DCDData-Set-Ready/Data-Carrier-
DTR
8
Received data
Serial data exiting the RF
modem
Clear-to-Send flow controlData+
Transmitted data
Serial data entering into the RF
modem
Request-to-Send flow controlNot usedRX-
Detect
Data-Terminal-ReadyNot used
RS-485 2 wire
nameRS-485 2 wire description
Data-
Not usedRX+
Not used
Negative data line
Serial data to and from the RF
modem
Positive data line
Serial data to and from the RF
modem
RS-485 4 wire
nameRS-485 4 wire description
TX-
TX+
Transmit negative data line
Serial data sent from the RF
modem
Transmit positive data line
Serial data sent from the RF
modem
Receive positive data line
Serial data received by the RF
modem
Receive negative data line
Serial data received by the RF
modem
HardwareFront view (Analog/Digital I/O variant)
Front view (Analog/Digital I/O variant)
NumberFunction
1Analog and digital I/O ports
2Power connector
Analog and Digital I/O ports
Phoenix 10-pin connector.
Power connector
7-30 VDC power connector.
Phoenix 10-pin connector signals
The following table describes the pin signals of the Phoenix 10-pin connector.
For more information on how to use the Analog and/or Digital functions on the modem, see
Interfacing protocols.
Note We recommend disconnecting the analog and digital lines when the modem is not powered.
XBee RF Modems User Guide
14
HardwareBack view (all variants)
PinNameFunction
1Analog input 1
2Analog input 2
3Analog input 3
4Analog input 4
5Digital I/O 1
6Digital I/O 2
7Digital I/O 3
8Digital I/O 4
Single-ended voltage input
Current loop input
Differential voltage pair 1 positive terminal
Single-ended voltage input
Current loop input
Differential voltage pair 1 negative terminal
Single-ended voltage input
Current loop input
Differential voltage pair 2 positive terminal
Single-ended voltage input
Current loop input
Differential voltage pair 2 negative terminal
Digital input
Sinking driver output
Digital input
Sinking driver output
Digital input
Sinking driver output
Digital input
Sinking driver output
9GND
1012 VDC out+12 VDC 50 mA max power out
Back view (all variants)
XBee RF Modems User Guide
15
HardwareBack view (all variants)
RSSI LEDs
RSSI LEDs indicate the amount of fade margin present in an active wireless link. Fade margin is the
difference between the incoming signal strength and the modem's receiver sensitivity.
3 LEDs ON = Very Strong Signal (> 30 dB fade margin)
2 LEDs ON = Strong Signal (> 20 dB fade margin)
1 LED ON = Moderate Signal (> 10 dB fade margin)
0 LEDs ON = Weak Signal (< 10 dB fade margin)
I/O and associate LEDs
LEDs indicate RF modem activity as follows:
Top LED (Yellow) = Serial Data Out
Middle LED (Green) = Serial Data In
Bottom LED (Red) = Associate Indicator (blinks when associated)
USB Mini-B port
The USB Mini-B is to serve as a configuration port. Note that when the USB is plugged in, all RS-232
and RS-485 communications on the RS-232/RS-485 variant are disabled.
DIP switch
For the RS-232/RS-485 variant, these switches control the 120 Ω termination for the receiving
differential pairs in the RS-485 mode. If the switch is in the up position, the RX termination is enabled.
Switch 1 is for 2-wire termination and Switch 2 is for 4-wire termination. Do not enable these switches
in RS-232 mode.
For the Analog/Digital I/O variant, these switches control pull-up outputs on pins 5 and 6 of the 10-pin
header. When the switch is in the up position, a 10 kΩ pull-up to 3.3 V is enabled.
If any other voltage besides 3.3V is desired, an external pull-up is required. Do not enable these
switches when digital inputs are desired.
Reset and Commissioning buttons
The top button is the Reset Button. The reset button resets, or re-boots the XBee RF Modem.
The bottom button is the commissioning push button. It provides a variety of simple functions to aid in
deploying devices in a network. See Commissioning Pushbutton behavior for information on how to
use this.
Antenna Port
The antenna port is a 50 Ω RF signal connector for connecting to an external antenna. The connector
type is RPSMA (Reverse Polarity SMA) female. The connector has threads on the outside of a barrel
and a male center conductor.
XBee RF Modems User Guide
16
Getting started with the XBee RF Modem
This section provides information on the Development Board for the XBee RF Modem and getting
started instructions if you have an XBee RF Modem Development Kit.
Kit requirements18
Identify the kit contents18
Connect to the USB port18
Connect to the RS-232 port19
Configure the device using XCTU20
Configure a network23
Software libraries24
XBee RF Modems User Guide
17
Getting started with the XBee RF ModemKit requirements
Kit requirements
System requirements
The software mentioned in this guide is compatible with the following operating systems:
n Windows Vista or higher (32-bit or 64-bit versions)
n Mac OS X v10.6 and higher versions (64-bit version only)
n Linux with KDE or GNOME window managers (32-bit or 64-bit versions)
Additional requirements
This guide assumes the use of at least two XBee RF Modems. It also assumes that you ordered two
accessories kits along with the modems.
Identify the kit contents
If you ordered the accessories kit, it should include the following:
Mini USB cable
Power supply
RPSMA antenna
DB9 to RJ45 adapter
RJ45 cable
This guide describes connecting and interacting with the USB and the RS-232 ports on the XBee RF
Modem. If you want to connect to the RS-485 protocol, see Interfacing protocols.
Connect to the USB port
In order to properly connect the modem for this guide:
XBee RF Modems User Guide
18
Getting started with the XBee RF ModemConnect to the RS-232 port
1. Connect the antenna to the RPSMA connector on the XBee RF Modem.
2. Plug the 12 V power supply into the power jack.
3. Connect the mini USB cable from a PC to the USB port on the RF Modem.
Connect to the RS-232 port
In order to properly connect the modem for this guide:
1. Connect the antenna to the RPSMA connector on the XBee RF Modem.
2. Plug the 12 V power supply into the power jack.
3. Connect the DB9 to RJ45 adapter to the serial port on your PC.
4. Connect the RJ45 cable from the adapter to the RJ45 port on the RF Modem.
XBee RF Modems User Guide
19
Getting started with the XBee RF ModemConfigure the device using XCTU
Configure the device using XCTU
XBee Configuration and Test Utility (XCTU) is a multi-platform program that enables users to interact
with Digi radio frequency (RF) devices through a graphical interface. The application includes built-in
tools that make it easy to set up, configure, and test Digi RF devices.
For full support of the XBee RF Modem, you must use XCTU version 6.3.0 or higher.
For instructions on downloading and using XCTU, see the XCTU User Guide.
Click Discover devices and follow the instructions. XCTU should discover the connected XBee RF
Modems using the provided settings.
Click Add selected devices.The devices appear in the Radio Modules list. You can click a module to
view and configure its individual settings. For more information on these items, see AT commands.
Discover local XBee RF Modems
XCTU can discover radio modules that are connected directly to your computer. You can use the
discovery tool if you do not know the serial configuration of your XBee RF Modem, do not know the
port it is connected to, or want to add multiple modules at once.
1.
Click the Discover radio modules buttonon the XCTUtoolbar. The Discover radiomodules dialog box opens.
XBee RF Modems User Guide
20
Getting started with the XBee RF ModemConfigure the device using XCTU
2. Select the serial ports you would like to scan for radio modules. Click Next.
3. Select any port parameters you would like to include in the search process.
Note XCTU displays estimated discovery time in the Set port parameters dialog. Adding more
port parameters to the search increases discovery time.
Note If you want to use flow control, you must configure it at this point.
XBee RF Modems User Guide
21
Getting started with the XBee RF ModemConfigure the device using XCTU
4. Click Finish to initiate the discovery scan.
A new dialog opens, displaying devices found and estimated time remaining. You can click Stop
to halt the discovery process at any time. For example, you can stop the process if the modules
you were looking for are already found.
XBee RF Modems User Guide
22
Getting started with the XBee RF ModemConfigure a network
5. Select the box next to the module(s) you want to add to the device list and click Add selected
devices. The modules appear in the device list.
6. If your module could not be found, XCTU displays the Could not find any radio module dialog
providing possible reasons why the module could not be added.
Note The XCTU baud rate must match the device’s BD parameter for proper communication.
The module default is 9600 baud or 115200 baud. If 9600 baud does not work, try 115200 baud.
Configure a network
Now that the modules are in the device list, use the following steps to perform a basic network test:
1.
Switch to Configuration working mode.
2. Select a radio module from the device list (Modem 1). XCTU displays the current firmware
settings for that module.
3.
From the configuration toolbar, click the Read module settings buttonto refresh the
selected radio module’s firmware settings.
4. Read the SH (Serial Number High) and SL (Serial Number Low) parameters.
5. Repeat the process for the other modem (Modem 2).
XBee RF Modems User Guide
23
Getting started with the XBee RF ModemSoftware libraries
6. Select the DH (Destination Address High) of Modem 1 and type the SH of Modem 2.
7. Select the DL (Destination Address Low) of Modem 1 and type the SL of Modem 2.
8. Repeat steps 6 and 7 for Modem 2.
9. Click the Write button. This saves the settings to the modem.
10. Select Serial console from the Tools drop-down menu on the main XCTU toolbar. Open a serial
console for each modem.
11. Use the Console log section to type messages. Type Hello in one of the consoles. It should
appear in the other console. This shows you have a basic network connected.
Software libraries
One way to communicate with the XBee RF Modem is by using a software library. The libraries
available for use with the XBee RF Modem include:
n XBee Java library
n XBee Python library
The XBee Java Library is a Java API. The package includes the XBee library, its source code and a
collection of samples that help you develop Java applications to communicate with your XBee devices.
The XBee Python Library is a Python API that dramatically reduces the time to market of XBee
projects developed in Python and facilitates the development of these types of applications, making it
an easy process.
XBee RF Modems User Guide
24
Operation
WARNING! When operating at 1 W power output, observe a minimum separation distance
of 6 ft (2 m) between devices. Transmitting in close proximity of other devices can damage
the device's front end.
The Commissioning Pushbutton performs multiple functions to identify and configure the XBee RF
Modem in an XBee network. Button presses and actions for each XBee RF modem vary as shown in
the following table. Consecutive button presses must occur within two seconds of each other to
perform the desired action.
The Commissioning Pushbutton functionality is enabled by default on the modem. If it has been
disabled, set the D0 command to 1 to enable it. For the Analog/Digital I/O variant, set the P9
command to 4 along with setting the D0 command to 1.
For additional information on these concepts and commands, see the product manual for your XBee
module.
XBee-PRO SX RF Modem
Sleep
Button
presses
configuration and
sync statusAction
1Not configured for
sleep
1Configured for
asynchronous
sleep
2Not configured for
synchronous sleep
2Configured for
synchronous sleep
4AnySends an RE command to restore device parameters to default
Interfacing protocols
The XBee RF Modem supports the following interfacing protocols:
Immediately sends a Node Identification broadcast transmission.
All devices that receive this transmission blink their Associate LED
rapidly for one second.
All devices in API operating mode that receive this transmission send
a Node Indicator frame (0x95) out their UART.
Wakes the device for 30 seconds.
Immediately sends a Node Identification broadcast transmission.
All devices that receive this transmission blink their Associate LED
rapidly for one second.
All devices in API operating mode that receive this transmission send
a Node Indicator frame (0x95) out their UART.
No effect
Causes a node configured with sleeping router nomination enabled
to immediately nominate itself as the network sleep coordinator.
values.
n RS-232
n RS-485 (2-wire) half-duplex
n RS-485 (4-wire) full-duplex
n Analog input single-ended voltage
n Analog input current loop
n Analog input differential voltage
XBee RF Modems User Guide
26
OperationInterfacing protocols
n Digital input
n Digital sinking driver output
This section introduces XBee module concepts and commands. See the product manual for your XBee
module for additional information.
RS-232 operation
The RS-232/RS-485 variant of the XBee RF Modem defaults to RS-232 mode. If the modem is not set
to RS-232 mode, set D2 (DIO2/AD2) to 0 (default) or 4. D3 (DIO3/AD3) does not matter, but we
recommend setting it to 0 (default). Set D7 (DIO7/CTS) to 1 (CTS enabled, default). You can use the
USB port to configure RS-232 mode, but when it is plugged in the RS-232 protocol does not function.
RS-232 wiring diagrams
The following diagram shows an RS-232 DTE device wired to a DCE XBee RF Modem.
The following diagram shows a DCE XBee RF Modem wired to a DCE RS-232 device.
XBee RF Modems User Guide
27
OperationInterfacing protocols
The following diagram shows a sample wireless connection: DTE <--> DCE DCE <--> DCE
RS-485 (2-wire) half-duplex operation
To set the RS-232/RS-485 variant of the XBee RF Modem to RS-485 (2-wire) half-duplex mode, set the
D2 and D3 commands to 5 and the D7 command to 7. The USB port can be used to configure the RS485 (2-wire) mode, but while it is plugged in the RS-485 (2-wire) protocol will not function.
XBee RF Modems User Guide
28
OperationInterfacing protocols
RS-485 (2-wire) wiring diagram
RS-485 (4-wire) full-duplex operation
To set the RS-232/RS-485 variant of the XBee RF Modem to RS-485 (4-wire) full-duplex mode, set the
D2 command to 5, the D3 command to 4, and the D7 command to 7. The USB port can be used to
configure the RS-485 (4-wire) mode, but while it is plugged in the RS-485 (4-wire) protocol will not
function. This mode can also communicate with RS-422 devices, if desired.
RS-485 (4-wire) wiring diagram
RS-485 connection guidelines
The RS-485/422 protocol provides a solution for wired communications that can tolerate high noise
and push signals over long cable lengths. RS-485/422 signals can communicate as far as 4000 feet
(1200 m). RS-232 signals are suitable for cable distances up to 100 feet (30.5 m).
RS-485 offers multi-drop capability in which you can connect up to 32 nodes. Use the RS-422 protocol
for point-to-point communications.
To integrate the XBee RF Modem with the RS-485 protocol, we suggest the following:
XBee RF Modems User Guide
29
OperationInterfacing protocols
1. Use twisted pair cabling for positive and negative data lines (Ethernet cables are good for
twisted pairs).
2. For the RS-485 (2-wire) variant, select wires so that Data+ and Data- are connected to a
twisted pair.
3. For the RS-485 (4-wire) variant, select wires so that TX+ and TX- are connected to a twisted
pair. Likewise, select wires so that RX+ and RX- are connected to a twisted pair.
Analog input single-ended voltage operation
The Analog/Digital I/O variant of the XBee RF Modem allows up to four individual voltage inputs from 0
- 10 V. The default mode on each analog input is the single-ended voltage mode. To configure the
inputs to single-ended voltage mode, use the USB port. See Configure analog and digital modes for
information on how to configure the modes.
The modem scales the 0 - 10 V input to a 0 - 2.5 V range. To sample the input voltage being sent into
the modem, send the IS command. Read the appropriate analog input hex value and use the following
equation to convert that number to the input voltage:
See Analog and digital I/O sampling for information on how to properly read the IS command.
Analog input current loop operation
The Analog/Digital I/O variant of the XBee RF Modem allows up to four individual current inputs from 4
- 20 mA. The default mode on each analog input is the single-ended voltage mode. To configure the
inputs to current loop mode, use the USB port. See Configure analog and digital modes for information
on how to configure the modes.
The modem converts the 4 - 20 mA input to a 0 - 2.5 V range. To sample the input current being sent
into the modem, send the IS command. Read the appropriate analog input hex value and use the
following equation to convert that number to the input current:
See Analog and digital I/O sampling for information on how to properly read the IS command.
Analog input differential voltage operation
The Analog/Digital I/O variant of the XBee RF modem allows up to two differential voltage inputs from
-4 to 4 V. The default mode on each analog input is the single-ended voltage mode. To configure the
inputs to differential voltage mode, use the USB port. See Configure analog and digital modes for
information on how to configure the modes.
There are only two differential inputs possible since there are four analog input lines. The two
differential inputs are the difference between Analog Input 1 and Analog Input 2 (Differential Voltage
1) and the difference between Analog Input 3 and Analog Input 4 (Differential Voltage 2). A reference
voltage is used internally in the modem to calculate each differential voltage. The typical reference
voltage is 1.04 V; but due to inaccuracies over temperature, using this typical reference voltage can
cause larger errors. In order to reduce the error in the reading, the reference voltage can also be read
for each differential voltage reading (Differential Reference 1 and Differential Reference 2
respectively).
The modem scales the -4 to 4 V difference to a 0-2.5 V range. To sample the differential voltage and
reference readings, send the IS command. Differential Voltage 1 is the same number as Analog Input 1
for both the single-ended voltage mode and the current loop mode; Differential Reference 1 is the
same number as Analog Input 2; Differential Voltage 2 is the same number as Analog Input 3;
XBee RF Modems User Guide
30
OperationInterfacing protocols
Differential Reference 2 is the same number as Analog Input 4. Read the appropriate hex values and
use the following equation to convert the reading into the differential voltage:
See Analog and digital I/O sampling for information on how to properly read the IS command.
Digital input operation
The Analog/Digital I/O variant of the XBee RF Modem allows up to four individual digital inputs from 0 30 V. Each digital I/O line is default as a digital input. To configure the I/O lines to digital inputs, use
the USB port. See Configure analog and digital modes for information on how to configure the modes.
Digital sinking driver output operation
The Analog/Digital I/O variant of the XBee RF Modem allows up to four individual digital outputs from 0
- 30 V. Each digital I/O line is default as a digital input. To configure the I/O lines to digital outputs, use
the USB port. See Configure analog and digital modes for information on how to configure the modes.
The digital output is a sinking driver output. When you want a high output, use a pull-up that is
stronger than 100 kΩ. For Digital I/O 1 and Digital I/O 2, you can use an internal 10 kΩ pull-up to 3.3 V
if the dip switch is enabled. The other two digital I/O lines do not have internal pull-ups.
Configure analog and digital modes
The Analog/Digital I/O variant of the XBee RF Modem is capable of interacting with up to four analog
inputs and four digital I/O lines. The table below lists the commands needed to set each pin to a
certain mode. If one of these commands is set incorrectly, the modem is not guaranteed to work.
Note that configuring one mode can impact another mode on a different pin.
For more information on how to set these commands, see the appropriate device's user guide.
Command
Signal pinPin #Function/mode
Analog input 11Single-ended voltageD0*2
Current loopD0*2
Differential voltageD0*2
parameter
P54
P64
P54
P65
D12
P55
Command parameter
value
XBee RF Modems User Guide
31
OperationInterfacing protocols
Command
Signal pinPin #Function/mode
Analog input 22Single-ended voltageD1*2
Current loopD1*2
Differential voltageD0*2
Analog input 33Single-ended voltageD2*2
Current loopD2*2
parameter
P54
P64
P54
P65
D1*2
P55
P74
P84
P74
Command parameter
value
P85
Differential voltageD2*2
D3*2
P75
Analog input 44Single-ended voltageD3*2
P74
P84
Current loopD3*2
P74
P85
Differential voltageD2*2
D3*2
P75
XBee RF Modems User Guide
32
OperationInterfacing protocols
Command
Signal pinPin #Function/mode
Digital I/O 15InputD4
Low sinking driver outputP55
Pull-up output enableP54
Digital I/O 26InputD9
Low sinking driver outputP65
Pull-up output enableP64
Digital I/O 37InputP1
Low sinking driver outputP75
Pull-up output enableP74
Digital I/O 48InputP2
parameter
P54
P64
P74
P84
Command parameter
value
*
*
*
*
3
3
3
3
Low sinking driver outputP85
Pull-up output enableP84
* Never set these commands to 4 or 5.
Analog and digital I/O sampling
The IS parameter samples the analog input and digital I/O lines on the modem. This section explains
how to properly read the IS parameter on the Analog/Digital I/O variant of the XBee RF Modem. For a
comprehensive explanation of sampling (queried sampling vs. periodic sampling), see the appropriate
device's user guide.
The following table explains the different numbers that are returned when querying the IS command:
Field NameDescription
1Sample
sets
Number of sample sets in the packet. Always set to 1.
XBee RF Modems User Guide
33
OperationInterfacing protocols
Field NameDescription
2Digital
channel
mask
3Analog
channel
mask
4Digital
input
states
16-bit Hexadecimal number that indicates which digital I/O lines has sampling
enabled. Each bit corresponds to one digital I/O line on the device. Below is a list
of the digital input bits that are needed in this modem. The rest of the bits are not
important for this modem.
bit 4 = Digital Input 1
bit 9 = Digital Input 2
bit 11 = Digital Input 3
bit 12 = Digital Input 4
For example, a digital channel mask of 0x7010 means that both Digital Input 1 and
Digital Input 4 are enabled as digital inputs on the module. We ignore the other
two high bits because they do not matter on this modem.
8-bit Hexadecimal number that indicates which lines have analog inputs enabled
for sampling. Each bit in the analog channel mask corresponds to one analog input
channel. Below is a list of the analog input bits that are needed on this modem.
bit 0 = Analog Input 1/Differential Input Voltage 1
bit 1 = Analog Input 2/Differential Reference Voltage 1
bit 2 = Analog Input 3/Differential Input Voltage 2
bit 3 = Analog Input 4/Differential Reference Voltage 2
16-bit hexadecimal number that indicates the state of each enabled digital I/O
line from the Digital Channel Mask. Only the enabled digital I/O lines have any
meaning. Each bit corresponds to one digital I/O line of the modem.
From the example above, a digital channel mask of 0x7010 means that Digital
Input 1 and Digital Input 4 are enabled. A reading of 0x5000 means that Digital
Input 1 is low and Digital Input 4 is high. We ignore the other two enabled digital
I/O lines because they do not matter on this modem.
5+Analog
input
readings
Following the digital I/O data, each enabled analog channel returns a 16-bit
hexadecimal number. This hexadecimal number will be used in the appropriate
equation to convert to the analog input value on the modem. The data starts with
Analog Input 1 and continues sequentially for each enabled analog input channel
up to Analog Input 4.
XBee RF Modems User Guide
34
Regulatory information
FCC (United States)36
ISED (Innovation, Science and Economic Development Canada)42
ACMA (Australia)42
XBee RF Modems User Guide
35
Regulatory informationFCC (United States)
FCC (United States)
FCC Part 15 Class B
Radio Frequency Interface (RFI) (FCC 15.105)
This device has been tested and found to comply with the limits for Class B digital devices pursuant to
Part 15 Subpart B of the FCC rules. These limits are designed to provide reasonable protection
against harmful interference in a residential environment. This equipment generates, uses, and can
radiate radio frequency energy, and if not installed and used in accordance with the instruction
manual, may cause harmful interference to radio communications. However, there is no guarantee
that interference will not occur in a particular installation. If this equipment does cause harmful
interference to radio or television reception, which can be determined by turning the equipment off
and on, the user is encouraged to try to correct the interference by one or more of the following
measures:
n Reorient or relocate the receiving antenna.
n Increase the separation between the equipment and receiver.
n Connect the equipment into an outlet on a circuit different from that to which the receiver is
connected.
n Consult the dealer or an experienced radio/TV technician for help.
Labeling requirements (FCC 15.19)
This device complies with Part 15 of FCC rules. Operation is subject to the following two conditions: (1)
this device may not cause harmful interference, and (2) this device must accept any interference
received, including interference that may cause undesired operation.
Modifications (FCC 15.21)
Changes or modifications to this equipment not expressly approved by Digi may void the user’s
authority to operate this equipment.
XBee RF Modems User Guide
36
XBee RF Modems User Guide37
Regulatory informationFCC (United States)
XBee RF Modem approved antennas (30 dBm maximum RF power)
The following tables cover the antennas that are approved for use with the XBee-PRO SXRF Modem. If applicable, the tables show the required cable loss
between the device and the antenna.
Digi does not carry all of these antenna variants. Contact Digi Sales for available antennas.
Dipole antennas
All antenna part numbers followed by an asterisk (*) are not available from Digi. Consult with an antenna manufacturer for an equivalent option.
Part numberTypeConnectorGainApplication
A09-HSM-7
A09-HASM-675Articulated half-waveRPSMA2.1 dBiFixed / Mobile
A09-HABMM-P5ISwivel half wave with 5" pigtailMMCX2.1 dBiFixed / Mobile
A09-HBMM-P5IStraight half-wave with 6" pigtailMMCX2.1 dBiFixed / Mobile
A09-HASM-7*Articulated half-waveRPSMA2.1 dBiFixed
A09-HRSM*Right angle half-waveRPSMA2.1 dBiFixed
A09-HG*Glass mounted half-waveRPSMA2.1 dBiFixed
A09-HATM*Articulated half-waveRPTNC2.1 dBiFixed
A09-H*Half-wave dipoleRPSMA2.1 dBiFixed
1
Straight half-waveRPSMA2.1 dBiFixed / Mobile
Yagi antennas
All antenna part numbers followed by an asterisk (*) are not available from Digi. Consult with an antenna manufacturer for an equivalent option.
1
Installers should apply additional torque to screw on the antenna.
XBee RF Modems User Guide38
Required antenna
Part NumberTypeGainConnector
A09-Y6NF*2 element Yagi6.1 dBiN2.0 dBFixed/Mobile
A09-Y7NF*3 element Yagi7.1 dBiN3.0 dBFixed/Mobile
A09-Y8NF4 element Yagi8.1 dBiN4.0 dBFixed/Mobile
A09-Y9NF*4 element Yagi9.1 dBiN5.0 dBFixed/Mobile
A09-Y10NF*5 element Yagi10.1 dBiN6.0 dBFixed/Mobile
A09-Y11NF6 element Yagi11.1 dBiN7.0 dBFixed/Mobile
A09-Y12NF*7 element Yagi12.1 dBiN8.0 dBFixed/Mobile
A09-Y13NF*9 element Yagi13.1 dBiN9.0 dBFixed/Mobile
A09-Y14NF*14 element Yagi14.0 dBiN9.9 dBFixed/Mobile
A09-Y6TM*2 element Yagi6.1 dBiRPTNC2.0 dBFixed/Mobile
A09-Y7TM*3 element Yagi7.1 dBiRPTNC3.0 dBFixed/Mobile
A09-Y8TM*4 element Yagi8.1 dBiRPTNC4.0 dBFixed/Mobile
A09-Y9TM*4 element Yagi9.1 dBiRPTNC5.0 dBFixed/Mobile
cable lossApplication
Regulatory informationFCC (United States)
A09-Y10TM-P10I5 element Yagi10.1 dBiRPTNC6.0 dBFixed/Mobile
A09-Y11TM*6 element Yagi11.1 dBiRPTNC7.0 dBFixed/Mobile
A09-Y12TM*7 element Yagi12.1 dBiRPTNC8.0 dBFixed/Mobile
A09-Y13TM*9 element Yagi13.1 dBiRPTNC9.0 dBFixed/Mobile
A09-Y14TM*14 element Yagi14.0 dBiRPTNC9.9 dBFixed/Mobile
Omni-directional base station antennas
All antenna part numbers followed by an asterisk (*) are not available from Digi. Consult with an antenna manufacturer for an equivalent option.
XBee RF Modems User Guide39
Regulatory informationFCC (United States)
Part NumberTypeGainConnectorRequired antenna cable lossApplication
A09-F0NF*Fiberglass Base Station0 dBiN-Fixed
A09-F1NF*Fiberglass Base Station1.0 dBiN-Fixed
A09-F2NF-M*Fiberglass Base Station2.1 dBiN-Fixed
A09-F3NF*Fiberglass Base Station3.1 dBiN-Fixed
A09-F4NF*Fiberglass Base Station4.1 dBiN-Fixed
A09-F5NF-MFiberglass Base Station5.1 dBiN-Fixed
A09-F6NF*Fiberglass Base Station6.1 dBiN0.9 dBFixed
A09-F7NF*Fiberglass Base Station7.1 dBiN1.9 dBFixed
A09-F8NF-MFiberglass Base Station8.1 dBiN2.9 dBFixed
A09-F0SM*Fiberglass Base Station0 dBiRPSMA-Fixed
A09-F1SM*Fiberglass Base Station1.0 dBiRPSMA-Fixed
A09-F2SM*Fiberglass Base Station2.1 dBiRPSMA-Fixed
A09-F3SM*Fiberglass Base Station3.1 dBiRPSMA-Fixed
A09-F4SM*Fiberglass Base Station4.1 dBiRPSMA-Fixed
A09-F5SM*Fiberglass Base Station5.1 dBiRPSMA-Fixed
A09-F6SM*Fiberglass Base Station6.1 dBiRPSMA0.9 dBFixed
A09-F7SM*Fiberglass Base Station7.1 dBiRPSMA1.9 dBFixed
A09-F8SM*Fiberglass Base Station8.1 dBiRPSMA2.9 dBFixed
A09-F0TM*Fiberglass Base Station0 dBiRPTNC-Fixed
A09-F1TM*Fiberglass Base Station1.0 dBiRPTNC-Fixed
A09-F2TM*Fiberglass Base Station2.1 dBiRPTNC-Fixed
XBee RF Modems User Guide40
Part NumberTypeGainConnectorRequired antenna cable lossApplication
A09-F3TM*Fiberglass Base Station3.1 dBiRPTNC-Fixed
A09-F4TM*Fiberglass Base Station4.1 dBiRPTNC-Fixed
A09-F5TM*Fiberglass Base Station5.1 dBiRPTNC-Fixed
A09-F6TM*Fiberglass Base Station6.1 dBiRPTNC0.9 dBFixed
A09-F7TM*Fiberglass Base Station7.1 dBiRPTNC1.9 dBFixed
A09-F8TM*Fiberglass Base Station8.1 dBiRPTNC2.9 dBFixed
A09-W7*Wire Base Station7.1 dBiRPN1.9 dBFixed
A09-W7SM*Wire Base Station7.1 dBiRPSMA1.9 dBFixed
A09-W7TM*Wire Base Station7.1 dBiRPTNC1.9 dBFixed
Regulatory informationFCC (United States)
Dome antennas
All antenna part numbers followed by an asterisk (*) are not available from Digi. Consult with an antenna manufacturer for an equivalent option.
Part NumberTypeGainConnectorRequired antenna cable lossApplication
Regulatory informationISED (Innovation, Science and Economic Development Canada)
ISED (Innovation, Science and Economic Development Canada)
This device complies with Industry Canada licence-exempt RSS standard(s). Operation is subject to
the following two conditions: (1) this device may not cause interference, and (2) this device must
accept any interference, including interference that may cause undesired operation of the device.
Le présent appareil est conforme aux CNR d'Industrie Canada applicables aux appareils radio exempts
de licence. L'exploitation est autorisée aux deux conditions suivantes: (1) l'appareil ne doit pas
produire de brouillage, et (2) l'utilisateur de l'appareil doit accepter tout brouillage radioélectrique
subi, même si le brouillage est susceptible d'en compromettre le fonctionnement.
RF Exposure
CAUTION! This equipment is approved for mobile and base station transmitting devices only.
Antenna(s) used for this transmitter must be installed to provide a separation distance of at
least 34 cm from all persons and must not be co-located or operating in conjunction with any
other antenna or transmitter.
Attention Cet équipement est approuvé pour la mobile et la station base dispositifs
d'émission seulement. Antenne(s) utilisé pour cet émetteur doit être installé pour fournir
une distance de séparation d'au moins 34 cm à partir de toutes les personnes et ne doit
pas être situé ou fonctionner en conjonction avec tout autre antenne ou émetteur.
ACMA (Australia)
Power requirements
Regulations in Australia stipulate a maximum of 30 dBm EIRP (Effective Isotropic Radiated Power).
The EIRP equals the sum (in dBm) of power output, antenna gain and cable loss and cannot not
exceed 30 dBm.
The EIRP formula for Australia is:
power output + antenna gain - cable loss <= 30 dBm
Note The maximum EIRP for the FCC (United States) and IC (Canada) is 36 dBm.
These modems comply with requirements to be used in end products in Australia. All products with
EMC and radio communications must have a registered RCM mark. Registration to use the compliance
mark will only be accepted from Australian manufacturers or importers, or their agent, in Australia. In
order to have a RCM mark on an end product, a company must comply with a or b below:
a. have a company presence in Australia.
b. have a company/distributor/agent in Australia that will sponsor the import of the end product.
Contact Digi for questions related to locating a contact in Australia.
XBee RF Modems User Guide
42
Troubleshooting
This section contains troubleshooting steps for the XBee RF Modem.
Reset the XBee RF Modem44
XBee RF Modems User Guide
43
TroubleshootingReset the XBee RF Modem
Reset the XBee RF Modem
If the XBee RF Modem loses its connection to the computer, you can attempt a reset.
Condition
The XBee RF Modem loses connection to the computer.
Solution
Each XBee RF Modem has a reset button. The following image shows the location of the reset button
as 1, the top button.
Press this button to reset the module. However, this will not clear any changes written to the module.
You can also press the reset button to reset the COM port for the board.
To reconnect the module after pressing the reset button:
1.
In XCTU, click the Consoles working mode button on the toolbar.
2.
Click the Close button.
3.
Click the Open button to restore the connection.
XBee RF Modems User Guide
44
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.