Digi XBee User Manual

Digi XBee User Manual

Digimesh 2.4 rf modules
Hide thumbs Also See for XBee:
Table of Contents

Advertisement

Quick Links

XBee/XBee-PRO®
DigiMesh 2.4 RF
Modules
User Guide

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Summary of Contents for Digi XBee

  • Page 1 XBee/XBee-PRO® DigiMesh 2.4 RF Modules User Guide...
  • Page 2 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.
  • Page 3 Customer support Telephone (8:00 am — 5:00 pm CST): US & Canada: 866.765.9885 Worldwide: 801.765.9885 Online: www.digi.com/support/eservice Mail: Digi International 11001 Bren Road East Minnetonka, MN 55343 Warranty View the product’s warranty online: http://www.digi.com/howtobuy/terms XBee/XBee-PRO® DigiMesh 2.4 User Guide...
  • Page 4: Table Of Contents

    Position antennas away from metal objects whenever possible Use an external antenna if the XBee device is placed inside a metal enclosure Do not place XBee modules with the chip or integrated PCB antennas inside a metal en- closure XBee/XBee-PRO DigiMesh 2.4 electrical characteristics...
  • Page 5 XBee device placement Link testing RSSI indicators XBee device discovery Network discovery Neighbor polling XBee DigiMesh 2.4 RF Module XBee link reliability Network link testing Link testing between adjacent devices Trace routing NACK messages Commissioning pushbutton and associate LED Commissioning pushbutton...
  • Page 6 Transmitting a broadcast Transmitting a unicast with a known route Transmitting a Unicast with an unknown route Transmitting a Unicast with a broken route XBee/XBee-PRO DigiMesh 2.4 sleep modes DigiMesh sleep modes Normal mode (SM=0) Asynchronous pin sleep mode (SM=1)
  • Page 7 XBee API operation (AP parameter = 1) XBee API operation-with escape characters (AP parameter = 2) XBee escape characters XBee UART frame data Checksum XBee API UART exchanges AT commands Transmitting and receiving RF data Remote AT commands Supporting the XBee API...
  • Page 8: Key Features Of The Xbee/Xbee-Pro 2.4 Digimesh

    The modules operate within the ISM 2.4 MHz frequency band. Easily build networks up to 32 nodes using the XBee modules. For larger networks up to 1000+ nodes, Digi offers RF Optimization Services to assist with proper network configuration. Contact Digi Technical Support for more details.
  • Page 9: Worldwide Acceptance Of The Xbee/Xbee-Pro 2.4 Digimesh

    • Manufactured under ISO 9001:2000 registered standards. • XBee-PRO DigiMesh 2.4 RF Modules are optimized for use in U.S. and Canada (contact Digi for complete list of agency approvals. Specifications of the XBee/XBee-PRO 2.4 DigiMesh The following table describes the hardware and mechanical specifications of the XBee-PRO DigiMesh 2.4 RF Module:...
  • Page 10 Specifications of the XBee/XBee-PRO 2.4 DigiMesh Specification XBee XBee-PRO Idle / Receive current 50 mA (@ 3.3 V) 55 mA (@ 3.3 V) Power down current (pin <10 μA <10 μA sleep) Power down current (cyclic <50 μA <50 μA...
  • Page 11: Mechanical Drawings Of The Xbee/Xbee-Pro 2.4 Digimesh

    Mechanical drawings of the XBee/XBee-PRO 2.4 DigiMesh Mechanical drawings of the XBee/XBee-PRO 2.4 DigiMesh The following figures show the mechanical drawings of the XBee-PRO RF Modules. The drawings do not show antenna options. All dimensions are in inches. XBee/XBee-PRO DigiMesh 2.4 User Guide...
  • Page 12: Mounting Considerations For The Xbee/Xbee-Pro Digimesh 2.4

    Mechanical drawing for the RPSMA model Mounting considerations for the XBee/XBee-PRO DigiMesh 2.4 The XBee/XBee-PRO DigiMesh 2.4 RF Module (through-hole) is designed to be mounted into a receptacle (socket) and does not require any soldering when mounting it to a board. The development kits contain RS-232 and USB interface boards that use two 20-pin receptacles to receive modules.
  • Page 13: Hardware Diagram

    We recommend that you print an outline of the module on the board to indicate the correct orientation for mounting the module. Hardware diagram XBee/XBee-PRO DigiMesh 2.4 pin signals The following table shows the XBee/XBee-PRO® DigiMesh 2.4 RF Module pin signals and descriptions: Pin # Name...
  • Page 14: Recommended Pin Connections For Xbee/Xbee-Pro Digimesh 2.4

    • Unused pins should be left disconnected Recommended pin connections for XBee/XBee-PRO DigiMesh 2.4 The only required pin connections are VCC, GND, DOUT and DIN. To support serial firmware updates, VCC, GND, DOUT, DIN, RTS, and DTR need to be connected.
  • Page 15: Xbee Digimesh 2.4 Design Notes

    There should not be any ground planes or metal objects above or below the antenna. For best results, place the XBee at the edge of the host PCB on which it is mounted. Ensure that the ground, XBee/XBee-PRO DigiMesh 2.4 User Guide...
  • Page 16 It is recommended that you allow a “keepout” area, which is shown in detail below. Keepout area for the XBee/XBee-PRO DigiMesh 2.4 RF Module XBee/XBee-PRO DigiMesh 2.4 User Guide...
  • Page 17: Xbee/Xbee-Pro Digimesh 2.4 Electrical Characteristics

    XBee/XBee-PRO DigiMesh 2.4 electrical characteristics XBee/XBee-PRO DigiMesh 2.4 electrical characteristics The following table displays the electrical voltage parameters of the XBee/XBee-PRO DigiMesh 2.4 RF Module: Symbols Parameter Condition Typical Units Input low voltage All digital inputs 0.2 * VCC V...
  • Page 18 XBee/XBee-PRO DigiMesh 2.4 electrical characteristics Maximum electrical operating range, not valid conversion range. Symbol Parameter Condition Typical Units Source impedance at input  Analog input voltage REFL REFH 2.08V > V > 3.6V 2.031 3.516 Ideal resolution (1 LSB) DDAD ±0.5...
  • Page 19: Xbee/Xbee-Pro Module Operation

    XBee/XBee-PRO module operation The XBee module provides a serial interface to an RF link. The XBee module converts serial data to RF data that is sent to any device in an RF network. In addition to RF data communication devices, the XBee module provides a software interface for interacting with a variety of peripheral functions, including I/O sampling, commissioning and management devices.
  • Page 20: Serial Communications For The Xbee Rf Module

    The XBee-PRO RF Modules interface to a host device through a logic-level asynchronous serial port. Through its serial port, the module can communicate with any logic and voltage compatible UART, or through a level translator to any serial device (for example, through a Digi proprietary RS-232 or USB interface board).
  • Page 21: Serial Receive Buffer

    XBee serial flow control Process of XBee-PRO buffers collecting received serial data Serial RF TX Receiver Transmitter Buffer Buffer RF Switch Antenna Processor Port RF RX Serial Transmit DOUT Receiver Buffer Buffer Serial receive buffer When serial data enters the RF module through the DIN Pin (pin 3), the data is stored in the serial receive buffer until it can be processed.
  • Page 22: Cts Flow Control

    RF data packet will be discarded. XBee serial interface protocols The XBee modules support both transparent and Application Programming Interface (API) serial interfaces. Transparent operation When a module operates in transparent mode, it acts as a serial line replacement.
  • Page 23: Comparing Transparent And Api Operation

    AT firmware may be suitable. You can use a mixture of devices running API and AT firmware in a network. To learn about implementing API operations, refer to XBee/XBee-PRO DigiMesh 2.4 API operation on page 72. XBee/XBee-PRO DigiMesh 2.4 User Guide...
  • Page 24: Idle Mode

    CA parameter value, the packet is not transmitted. Note Customers in Europe who have the XBee DigiMesh 2.4 module must manage their CCA settings. (See the ATCA command for appropriate values) If a route is not known, the mesh firmware will perform route discovery to establish a route to the destination node.
  • Page 25: Receive Mode

    To read a parameter value stored in the RF module’s register, omit the parameter field. The preceding example would change the RF module Destination Address (Low) to “0x1F”. To store the new value to non-volatile (long term) memory, send the Write (WR) command. This allows XBee/XBee-PRO DigiMesh 2.4 User Guide...
  • Page 26: Sleep Mode

    54. Sleep Mode Sleep modes allows the RF module to enter states of low power consumption when not in use. XBee RF modules support both pin sleep (sleep mode entered on pin transition) and cyclic sleep (module sleeps for a fixed time).
  • Page 27: Xbee/Xbee-Pro Digimesh 2.4 Advanced Application Features

    XBee/XBee-PRO DigiMesh 2.4 advanced application features XBee remote configuration commands A module in API mode has provisions to send configuration commands to remote devices using the Remote Command Request API frame, see XBee/XBee-PRO DigiMesh 2.4 API operation on page 72.
  • Page 28: Xbee Network Commissioning And Diagnostics

    XBee-PRO 900HP device configuration XBee modules can be configured locally through serial commands (AT or API), or remotely through remote API commands. API devices can send configuration commands to set or read the configuration settings of any device in the network.
  • Page 29: Node Replacement

    XBee device placement For a network installation to be successful, the installer must be able to determine where to place individual XBee devices to establish reliable links throughout the network. Link testing A good way to measure the performance of a network is to send unicast data through the network from one device to another to determine the success rate of many transmissions.
  • Page 30: Xbee Device Discovery

    XBee device discovery Network discovery The network discovery command can be used to discover all Digi modules that have joined a network. Issuing the ND command sends a broadcast network discovery command throughout the network. All devices that receive the command will send a response that includes the device’s addressing information, node identifier string (see the NI command), and other relevant information.
  • Page 31: Link Testing Between Adjacent Devices

    XBee network commissioning and diagnostics Mesh network: Demonstration of how the loopback cluster ID and data endpoint can be used to measure the link quality in a mesh network 2. The remote device receives data on the loopback cluster ID and data endpoint.
  • Page 32: Trace Routing

    XBee network commissioning and diagnostics Number of Bytes Field Name Description Destination address The address with which the radio tested its link Payload size The size of the test packet that was sent to test the link. Iterations The number of packets which were sent.
  • Page 33: Nack Messages

    XBee network commissioning and diagnostics • After the successful MAC transmission of the data packet from A to B, A would output a RI Packet indicating that the transmission of the data packet from A to E was successfully for-warded one hop from A to B.
  • Page 34: Commissioning Pushbutton And Associate Led

    XBee network commissioning and diagnostics Commissioning pushbutton and associate LED The XBee modules support a set of commissioning and LED behaviors to aid in device deployment and commissioning. These include the commissioning push button definitions and associate LED behaviors. These features can be supported in hardware as shown below.
  • Page 35: Associate Led

    Causes a node which is configured with sleeping router nomination synchronous sleep enabled (see the description of the ATSO – sleep options command in the XBee module’s Product Manual) to immediately nominate itself as the network sleep coordinator. Issues an ATRE to restore module parameters to default values.
  • Page 36: Diagnostics Support

    XBee/ XBee-PRO DigiMesh 2.4 I/O line monitoring I/O samples The XBee modules support both analog input and digital IO line modes on several configurable pins. Queried sampling Parameters for the pin configuration commands typically include the following: Pin Command Parameter Description Unmonitored digital input.
  • Page 37 XBee/ XBee-PRO DigiMesh 2.4 I/O line monitoring See the command table for more information. Use the PR command to enable the pullup resistors for each digital input. Sample Sets Number of sample sets in the packet. (Always set to 1.) Digital Channel Indicates which digital IO lines have sampling enabled.
  • Page 38: Xbee Periodic I/O Sampling

    XBee periodic I/O sampling Periodic sampling allows an XBee-PRO module to take an I/O sample and transmit it to a remote device at a periodic rate. The periodic sample rate is set by the IR command. If IR is set to 0, periodic sampling is disabled.
  • Page 39: Xbee/Xbee-Pro Digimesh 2.4 Networking

    DigiMesh modules can be configured to act as routers or end devices with the CE command. By default all modules in a DigiMesh network act as routers. Modules configured as routers actively relay network unicast and broadcast traffic as described below. XBee/XBee-PRO DigiMesh 2.4 User Guide...
  • Page 40: Network Id

    DigiMesh modules utilize direct-sequence spread spectrum modulation and operate on a fixed channel. There are 16 operating channels defined in the 2.4 GHz frequency band. XBee modules support all 16 channels and XBee-PRO modules support 12 of the 16 channels. The operating channel on a module is selected using the CH command.
  • Page 41: Routing

    Note Data throughput measurements were made setting the serial interface rate to 115200 b/s, and measuring the time to send 100,000 bytes from source to destination. During the test, no route discoveries or failures occurred. XBee/XBee-PRO DigiMesh 2.4 User Guide...
  • Page 42: Xbee Digimesh 2.4 Transmission Timeouts

    XBee DigiMesh 2.4 transmission timeouts When a node receives an API TX Request (API configured modules) or an RO timeout occurs (modules configured for Transparent Mode) the time required to route the data to its destination depends on a number of configured parameters, whether the transmission is a unicast or a broadcast, and if the route to the destination address is known.
  • Page 43: Transmitting A Unicast With An Unknown Route

    After it fails a route discovery will be initiated and, upon completion of the route discovery, the data will be transmitted along the new route. The timeout associated with the entire operation can be estimated as follows: brokenRouteUnicast=BroadcastTxTime+NH*unicastOneHopTime+2*knownRouteUnicast XBee/XBee-PRO DigiMesh 2.4 User Guide...
  • Page 44: Xbee/Xbee-Pro Digimesh 2.4 Sleep Modes

    XBee/XBee-PRO DigiMesh 2.4 sleep modes A number of low-power modes exist to enable modules to operate for extended periods of time on battery power. These sleep modes are enabled with the SM command. The sleep modes are characterized as either asynchronous (SM = 1, 4, 5) or synchronous (SM = 7,8). Do not use asynchronous sleeping modes in a synchronous sleeping network, and vice versa.
  • Page 45: Asynchronous Cyclic Sleep Mode (Sm=4)

    (SM=5) is a slight variation on (SM=4) that allows the module to be woken prematurely by asserting the Sleep_RQ pin (pin 9). In (SM=5), the XBee can wake after the sleep period expires, or if a high-to- low transition occurs on the Sleep_RQ pin.
  • Page 46: Xbee Asynchronous Sleep Operation

    Deployment mode can be disabled using the sleep options command (SO). XBee/XBee-PRO DigiMesh 2.4 User Guide...
  • Page 47 Send Coord. Sync Rapid Sync Exit Disabled? Deployment Send Mode Poll Send Sync Network Transmit Time Wait Sleep Guard Time Is Cyclic Sleep Node? Wait Sleep Wait Time in Low Sleep Power Mode Time XBee/XBee-PRO DigiMesh 2.4 User Guide...
  • Page 48: Becoming A Sleep Coordinator

    CB2 command. A node nominated in this manner is still subject to the election process described above. A node configured as a non-sleep coordinator will ignore commissioning button nomination requests. XBee/XBee-PRO DigiMesh 2.4 User Guide...
  • Page 49: Sleep Guard Times

    In most cases, we suggest that these parameters not be modified from their default values. Decreasing these parameters for small networks can improve battery life, but care should be taken so that the values are not made too small. XBee/XBee-PRO DigiMesh 2.4 User Guide...
  • Page 50: Starting A Sleeping Digimesh Network

    4. Wait a cycle for the new node to sync itself. 5. Verify that the node syncs with the network. The associate LED will blink when the module is awake and synchronized. 6. Continue this process until all nodes have been deployed. XBee/XBee-PRO DigiMesh 2.4 User Guide...
  • Page 51: Adding A New Node To An Existing Network

    In other words, try to satisfy the following equation: (SP1 + ST1) = N * (SP2 + ST2), where SP1/ST1 and SP2/ST2 are the desired sleep settings and N is an integer. XBee/XBee-PRO DigiMesh 2.4 User Guide...
  • Page 52: Xbee Digimesh Diagnostics

    The following are useful in some applications when managing a sleeping router network: Query sleep cycle The OS and OW command can be used to query the current operational sleep and wake times a module is currently using. XBee/XBee-PRO DigiMesh 2.4 User Guide...
  • Page 53: Sleep Status

    Sleep status API messages When enabled with the SO command, a module configured in API mode will output modem status frames immediately after a module wakes up and just prior to a module going to sleep. XBee/XBee-PRO DigiMesh 2.4 User Guide...
  • Page 54: Xbee/Xbee-Pro Command Reference Tables

    Network ID. Set or read the user network identifier. Nodes 0x0000 to 0x7FFF 0x7FFF must have the same network identifier to communicate. Changes to ID can be written to non-volatile memory using the WR command. XBee/XBee-PRO DigiMesh 2.4 User Guide...
  • Page 55 The maximal energy on each channel is returned, and each value is followed by a comma with the list ending with a carriage return. The values returned reflect the detected energy level in units of -dBm. XBee/XBee-PRO DigiMesh 2.4 User Guide...
  • Page 56: Diagnostics

    MAC Unicast One Hop Time. The MAC unicast one hop [read-only] timeout in milliseconds. Changing MAC parameters can change this value. MAC Broadcast One Hop Time. The MAC broadcast one hop [read-only] timeout in milliseconds. Changing MAC parameters can change this value. XBee/XBee-PRO DigiMesh 2.4 User Guide...
  • Page 57: Network

    This is read only and it is also the serial number of the node. Destination Address High. Set/Get the upper 32 bits of the 64- 0-0xFFFFFFFF bit destination address. When combined with DL, it defines the destination address used for transmission. XBee/XBee-PRO DigiMesh 2.4 User Guide...
  • Page 58 Destination Endpoint. Set/read application layer destination ID 0-0xFF 0xE8 value. This value will be used as the destination endpoint for all data transmissions. The default value (0xE8) is the Digi data endpoint. Source Endpoint. Set/read the application layer source 0-0xFF 0xE8 endpoint value.
  • Page 59: Diagnostic Addressing

    If there is no response from a module within (NT * 100) milliseconds or a parameter is not specified (left blank), the command is terminated and an “ERROR” message is returned. In the case of an ERROR, Command Mode is not exited. XBee/XBee-PRO DigiMesh 2.4 User Guide...
  • Page 60: Security

    DEVICE_TYPE<CR> (1 Byte: 0=Coord, 1=Router, 2=End Device) STATUS<CR> (1 Byte: Reserved) PROFILE_ID<CR> (2 Bytes) MANUFACTURER_ID<CR> (2 Bytes) DIGI DEVICE TYPE<CR> (4 Bytes. Optionally included based on NO settings.) RSSI OF LAST HOP<DR> (1 Byte. Optionally included based on NO settings.) <CR>...
  • Page 61: Serial Interfacing

    (XON, XOFF, escape, and the 0x7e delimiter to be passed as data.) API Output Format. Enables different API output frames. 0, 1 Options include: 0 Standard Data Frames (0x90 for RF RX) 1 Explicit Addressing Data Frames (0x91 for RF RX) XBee/XBee-PRO DigiMesh 2.4 User Guide...
  • Page 62: I/O Settings

    5 = Digital output high AD3 / DIO3 Configuration (pin 17). 0, 2, 3, 4, 5 0 = Disabled 1 = N/A 2 = ADC 3 = Digital input 4 = Digital output low 5 = Digital output high XBee/XBee-PRO DigiMesh 2.4 User Guide...
  • Page 63 DIO8 / SLEEP_REQUEST Configuration (pin 9). 0, 1, 3, 4, 5 0 = Disabled 1 = Sleep request 2 = N/A 3 = Digital input 4 = Digital output low 5 = Digital output high XBee/XBee-PRO DigiMesh 2.4 User Guide...
  • Page 64 5 = Digital output high DIO12 Configuration (pin 4). 0, 3, 4, 5 0 = Disabled 1 = N/A 2 = N/A 3 = Digital input 4 = Digital output low 5 = Digital output high XBee/XBee-PRO DigiMesh 2.4 User Guide...
  • Page 65 250ms otherwise). For all other LT values, LT is measured in 10ms increments. RSSI PWM Timer. Time RSSI signal will be output after last 0 - 0xFF (x 100ms) 0x28 (4 transmission. When RP = 0xFF, output will always be on. seconds) XBee/XBee-PRO DigiMesh 2.4 User Guide...
  • Page 66: I/O Sampling

    Force Sample. Forces a read of all enabled digital and analog input lines. XBee Sensor Sample. Forces a sample to be taken on an XBee Sensor device. This command can only be issued to an XBee Sensor device using an API remote command...
  • Page 67: Sleep

    Sleep Period. Set/read the sleep period of the module. This 1 - 1440000 0xC8 (2 command defines the amount of time the module will sleep per seconds) (x 10 ms) cycle. XBee/XBee-PRO DigiMesh 2.4 User Guide...
  • Page 68 When in this sleep mode, the device will always stay awake for the WH time plus the amount of time it takes to transmit a one-hop unicast to another node. XBee/XBee-PRO DigiMesh 2.4 User Guide...
  • Page 69: Sleep Diagnostics

    Missed Sync Count. Count of the number of syncs that have been missed. This value can be reset by setting ATSQ to 0. When the value reaches 0xFFFF it will not be incremented anymore. XBee/XBee-PRO DigiMesh 2.4 User Guide...
  • Page 70: At Command Options

    Factory-set [read-only] Device Type Identifier. Stores a device type value. This value can 0-0xFFFFFFFF 0x50000 be used to differentiate multiple XBee-based products. [read only] Maximum RF Payload Bytes. 0-0xFFFF This value returns the maximum number of RF payload bytes that can be sent in a unicast transmission based on the current configurations.
  • Page 71 Firmware commands (firmware version/information) XBee/XBee-PRO DigiMesh 2.4 User Guide...
  • Page 72: Xbee Api Operation (Ap Parameter = 1)

    UART Data Frame. Please note that Digi may add new frame types to future versions of firmware, so please build into your software interface the ability to filter out additional API frames with unknown Frame Types.
  • Page 73: Xbee Escape Characters

    Identifier-specific Data cmdID cmdData The cmdID frame (API-identifier) indicates which API messages will be contained in the cmdData frame (Identifier-specific data). Note that multi-byte values are sent big endian.The XBee modules support the following API frames: XBee/XBee-PRO DigiMesh 2.4 User Guide...
  • Page 74: Checksum

    To calculate: Not including frame delimiters and length, add all bytes keeping only the lowest 8 bits of the result and subtract the result from 0xFF. To verify: Add all bytes (include checksum, but not the delimiter and length). If the checksum is correct, the sum will equal 0xFF. XBee/XBee-PRO DigiMesh 2.4 User Guide...
  • Page 75: Xbee Api Uart Exchanges

    The following image shows the API frame exchanges that take place at the UART when sending a remote AT command. A remote command response frame is not sent out the UART if the remote device does not receive the remote command. Remote AT command (0x17) Remote AT command response (0x97) XBee/XBee-PRO DigiMesh 2.4 User Guide...
  • Page 76: Supporting The Xbee Api

    Identifies the UART data frame for the host to correlate with a subsequent ACK (acknowledgment). If set to 0, no response is sent. AT Command 0x4E (N) Command Name - Two ASCII characters that identify the AT Command. 0x48 (H) XBee/XBee-PRO DigiMesh 2.4 User Guide...
  • Page 77: At Command - Queue Parameter Value

    The module continues to operate at the previous baud rate until the changes are applied. Note In this example, the parameter could have been sent as a zero-padded 2-byte or 4-byte value. XBee/XBee-PRO DigiMesh 2.4 User Guide...
  • Page 78: Transmit Request

    0, the broadcast radius is set to the maximum hops value. Transmit Options 0x00 Bitfield: bit 0: Disable ACK bit 1: Don't attempt route Discovery. All other bits must be set to 0. XBee/XBee-PRO DigiMesh 2.4 User Guide...
  • Page 79: Explicit Addressing Command Frame

    NP command. Frame Fields Offset Example Description Start Delimiter 0x7E Length MSB 1 0x00 Number of bytes between the length and the checksum LSB 2 0x1A Frame-specific Data Frame Type 0x11 XBee/XBee-PRO DigiMesh 2.4 User Guide...
  • Page 80 If set to 0, the transmission radius will be set to the network maximum hops value. Transmit Options 0x00 Bitfield: bit 0: Disable ACK bit 1: Don't attempt route Discovery. All other bits must be set to 0. XBee/XBee-PRO DigiMesh 2.4 User Guide...
  • Page 81: Remote At Command Request

    Set to the 64-bit address of the destination device. The Address following address is also supported: 0x13 0xA2 0x000000000000FFFF - Broadcast address 0x00 0x40 0x40 0x11 LSB 12 0x22 Reserved 0xFF Set to 0xFFFE. 0xFE XBee/XBee-PRO DigiMesh 2.4 User Guide...
  • Page 82: At Command Response

    Register data in binary format. If the register was set, then this field is not Data returned, as in this example. Checksum 0xF0 0xFF - the 8 bit sum of bytes from offset 3 to this byte. XBee/XBee-PRO DigiMesh 2.4 User Guide...
  • Page 83: Modem Status

    LSB 2 0x07 Frame-specific Data Frame Type 0x8B Frame ID 0x47 Identifies the UART data frame being reported Note If Frame ID = 0 in AT Command Mode, no AT Command Response will be given. XBee/XBee-PRO DigiMesh 2.4 User Guide...
  • Page 84: Route Information Packet

    System timer value on the node generating the Route Information Packet. The time stamp is returned in units of microseconds. It can only be used for 0x93 relative time measurements because the time stamp counter restarts about every hour. 0x81 LSB 9 0x7F XBee/XBee-PRO DigiMesh 2.4 User Guide...
  • Page 85 Address of the node that generated this Route Information Packet after Address sending (or attempting to send) the packet to the next hop (the Receiver Node) 0x13 0xA2 0x00 0x40 0x52 0xBB LSB 36 0xBB XBee/XBee-PRO DigiMesh 2.4 User Guide...
  • Page 86: Aggregate Addressing Update

    Frame-specific Data Frame Type 0x8E Format ID 0x00 Byte reserved to indicate format of additional packet information which may be added in future firmware revisions. In the current firmware revision, 0x00 is returned in this field. XBee/XBee-PRO DigiMesh 2.4 User Guide...
  • Page 87: Receive Packet

    When the module receives an RF packet, it is sent out the UART using this message type. Frame Fields Offset Example Description Start 0x7E Delimiter Length MSB 1 0x00 Number of bytes between the length and the checksum LSB 2 0x12 Frame-specific Data Frame Type 0x90 XBee/XBee-PRO DigiMesh 2.4 User Guide...
  • Page 88 Example: In the example above, a device with a 64-bit address of 0x0013A200 40522BAA sends a unicast data transmission to a remote device with payload “RxData”. If AO=0 on the receiving device, it would send the above frame out its UART. XBee/XBee-PRO DigiMesh 2.4 User Guide...
  • Page 89: Explicit Rx Indicator

    Profile ID 0xC1 Profile ID the packet was addressed to 0x05 Receive Options 0x02 Bitfield: 0x01 - Packet acknowledged 0x02 - Packet was a broadcast packet All other bits are reserved and should be ignored XBee/XBee-PRO DigiMesh 2.4 User Guide...
  • Page 90: Data Sample Rx Indicator

    Number of bytes between the length and the checksum LSB 2 0x14 Frame-specific Data Frame Type 0x92 64-bit Source MSB 4 0x00 64-bit address of sender Address 0x13 0xA2 0x00 0x40 0x52 0x2B LSB 11 0xAA Reserved MSB 12 0xfffe LSB 13 0x84 XBee/XBee-PRO DigiMesh 2.4 User Guide...
  • Page 91 I/O lines and an analog sample of AD1. The digital lines were read to be 0x0014 and the analog sample had a value of 0x0225.The complete example frame should be: 7E00 1492 0013 A200 4052 2BAA FFFE 0101 001C 0200 1402 25F9 XBee/XBee-PRO DigiMesh 2.4 User Guide...
  • Page 92: Node Identification Indicator

    Reserved 0xFF Reserved. 0xFE Receive 0xC2 0x01 - Packet acknowledged Options 0x02 - Packet was a broadcast packet 0x40 - Point-multipoint packet 0x80 - Directed broadcast packet 0xC0 - DigiMesh packet Reserved 0xFF Reserved 0xFE XBee/XBee-PRO DigiMesh 2.4 User Guide...
  • Page 93 (See the NO command description for more options) Source Event 0x01 1=Frame sent by node identification pushbutton event (See D0 command description) Digi Profile ID 0xC1 Set to Digi’s application profile ID 0x05 Digi 0x10 Set to Digi’s Manufacturer ID Manufacturer 0x1E...
  • Page 94: Remote Command Response

    0x40 0x52 0x2B LSB 12 0xAA Reserved 0xFF Reserved 0xFE AT Commands 0x53 Name of the command 0x4C Command 0x00 0 = OK Status 1 = ERROR 2 = Invalid Command 3 = Invalid Parameter XBee/XBee-PRO DigiMesh 2.4 User Guide...
  • Page 95 0xFF - the 8 bit sum of bytes from offset 3 to this byte. Example: If a remote command is sent to a remote device with 64-bit address 0x0013A200 40522BAA to query the SL command, and if the frame ID=0x55, the response would look like the above example. XBee/XBee-PRO DigiMesh 2.4 User Guide...
  • Page 96: Xbee/Xbee-Pro Terms And Definitions

    Unicast transmission sent back to the originator of the route request. It is initiated by a node when it receives a route request packet and its address matches the Destination Address in the route request packet. XBee/XBee-PRO DigiMesh 2.4 User Guide...
  • Page 97 Routing Table. It is based on the AODV (Ad-hoc On-demand Distance Vector routing) protocol. Sleep coordinator Node used to send sync messages in a cyclic sleeping network. Sync message A transmission used in a cyclic sleeping network to maintain synchronization. XBee/XBee-PRO DigiMesh 2.4 User Guide...
  • Page 98: Agency Certifications

    (i.) this device may not cause harmful interference and (ii.) this device must accept any interference received, including interference that may cause undesired operation. * The FCC ID for the XBee is “OUR-XBEE”. The FCC ID for the XBee-PRO is “OUR-XBEEPRO”. FCC notices IMPORTANT: The XBee-PRO OEM RF Module has been certified by the FCC for use with other products without any further certification (as per FCC section 2.1091).
  • Page 99: Fcc-Approved Antennas (2.4 Ghz)

    The modules are FCC-approved for fixed base station and mobile applications on channels 0x0B - 0x1A (XBee) and 0x0C - 0x17 (XBee-PRO). If the antenna is mounted at least 20cm (8 in.) from nearby persons, the application is considered a mobile application. Antennas not listed in the table must be tested to comply with FCC Section 15.203 (Unique Antenna Connectors) and Section 15.247...
  • Page 100 Monopole (Integrated whip) 1.5 dBi Fixed 20 cm A24-C1 Surface Mount -1.5 dBi Fixed/Mobile 20 cm Antennas approved for use with the XBee RF Modules (cable loss is shown if required) Part Minimum Required Number Type (Description) Gain Application* Separation...
  • Page 101: Xbee Rf Module High Gain Antenna Summary

    9 dB XBee RF module high gain antenna summary The following antenna types have been tested and approved for use with the XBee Module: Antenna Type: Yagi RF Module was tested and approved with 15 dBi antenna gain with 7.9 dB cable loss. Any Yagi type antenna with 7.1 dBi gain or less can be used with no cable loss.
  • Page 102 To ensure compliance, operations at closer than this distance is not recommended. The antenna used for this transmitter must not be co- located in conjunction with any other antenna or transmitter. XBee/XBee-PRO DigiMesh 2.4 User Guide...
  • Page 103: Europe (Etsi)

    FCC RF Exposure compliance. Europe (ETSI) The XBee-PRO RF Module has been certified for use in several European countries. For a complete list, refer to www.digi.com. If the XBee-PRO RF Modules are incorporated into a product, the manufacturer must ensure compliance of the final product to the European harmonized EMC and low-voltage/safety standards.
  • Page 104: Approved Antennas

    United States (FCC) Note Digi does not list the entire set of standards that must be met for each country. Digi customers assume full responsibility for learning and meeting the required guidelines for each country in their distribution market. For more information relating to European compliance of an OEM...
  • Page 105: Japan (Telec)

    United States (FCC) Japan (Telec) In order to use the XBee-PRO in Japan, you must order the International version. The International XBee-PRO RF Modules are limited to a transmit power output of 10 dBm. Labeling requirements A clearly visible label on the outside of the final product enclosure must display the following text:...
  • Page 106 United States (FCC) The XBee-PRO RF modules with 802.15.4 firmware (models noted in conformity information below) comply with Brazil ANATEL standards in Resolution No. 506. The following information is required in the user manual for the product containing the radio and on the product containing the radio (in Portuguese): XBee/XBee-PRO DigiMesh 2.4 User Guide...

This manual is also suitable for:

Xbee-pro

Table of Contents