XBee/XBee-PRO S2C 802.15.
Revision history—90001500 Revision Date Description G May 2018 Added note on range estimation. Changed IC to ISED. H June 2018 Changes to the Active Scan command. J May 2019 Removed Brazilian certification information. K May 2019 Added FCC publication 996369 related information. L July 2019 Added the NP command. Added RS-485 support.
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. Feedback To provide feedback on this document, email your comments to techcomm@digi.com Include the document title and part number (XBee/XBee-PRO S2C 802.15.4 RF Module User Guide, 90001500 E) in the subject line of your email. XBee/XBee-PRO S2C 802.15.
Contents XBee/XBee-PRO S2C 802.15.
Transparent operating mode API operating mode Command mode Transceiver modes Idle mode Transmit mode Receive mode 33 33 34 36 36 36 36 Operation Addressing Send packets to a specific device Addressing modes Encryption Maximum payload Maximum payload rules Maximum payload summary tables Work with Legacy devices Networking MAC Mode configuration XBee retries configuration Transmit status based on MAC mode and XBee retries configurations Peer-to-peer networks Master/slave networks Clear Channel Assessment (C
Directed node discovery Directed node discovery in compatibility mode Destination Node Remote configuration commands Send a remote command Apply changes on remote devices Remote command responses 64 64 64 65 65 65 65 AT commands Special commands WR (Write) RE (Restore Defaults) FR (Software Reset) Networking and security commands C8 (802.15.
BD (Interface Data Rate) NB (Parity) RO (Packetization Timeout) D7 (DIO7/CTS) D6 (DIO6/RTS) AP (API Enable) I/O settings commands D0 (DIO0/AD0) D1 (DIO1/AD1) D2 (DIO2/AD2) D3 (DIO3/AD3) D4 (DIO4) D5 (DIO5/ASSOCIATED_INDICATOR) D8 (DIO8/SLEEP_REQUEST) P0 (RSSI/PWM0 Configuration) P1 (PWM1 Configuration) P2 (SPI_MISO) M0 (PWM0 Duty Cycle) M1 (PWM1 Duty Cycle) P5 (SPI_MISO) P6 (SPI_MOSI Configuration) P7 (SPI_SSEL ) P8 (SPI_SCLK) P9 (SPI_ATTN) PR (Pull-up/Down Resistor Enable) PD (Pull Up/Down Direction) IU (I
AC (Apply Changes) GT (Guard Times) CC (Command Character) 104 105 105 Operate in API mode API mode overview API frame specifications API operation (AP parameter = 1) API operation-with escaped characters (AP parameter = 2) Start delimiter Length Frame data Checksum Calculate and verify checksums Escaped characters in API frames Frame descriptions TX Request: 64-bit address frame - 0x00 TX Request: 16-bit address - 0x01 AT Command frame - 0x08 AT Command - Queue Parameter Value frame - 0x09 Remote AT Comm
South Korea 148 Load 802.15.4 firmware on ZB devices Background Load 802.15.4 firmware 154 154 Migrate from XBee through-hole to surface-mount devices Pin mapping Mount the devices 157 158 PCB design and manufacturing Recommended solder reflow cycle Recommended footprint and keepout Flux and cleaning Rework XBee/XBee-PRO S2C 802.15.
XBee/XBee-PRO S2C 802.15.4 RF Module User Guide XBee/XBee-PRO S2C 802.15.4 RF Modules are embedded solutions providing wireless end-point connectivity to devices. These devices use the IEEE 802.15.4 networking protocol for fast point-tomultipoint or peer-to-peer networking. They are designed for high-throughput applications requiring low latency and predictable communication timing. There are two footprints for the XBee/XBee-PRO S2C 802.15.4 RF Module hardware: through-hole (TH) and surface-mount (SMT).
XBee/XBee-PRO S2C 802.15.4 RF Module User Guide Applicable firmware and hardware Applicable firmware and hardware This manual supports the following firmware: n 802.15.4 version 20xx It supports the following hardware: n XB24C TH n XB24C SMT n XBP24C TH n XBP24C SMT XBee/XBee-PRO S2C 802.15.
Technical specifications Performance specifications Power requirements General specifications Regulatory conformity summary Serial communication specifications GPIO specifications XBee/XBee-PRO S2C 802.15.
Technical specifications Performance specifications Performance specifications The following table describes the performance specifications for the devices. Note Range figure estimates are based on free-air terrain with limited sources of interference.
Technical specifications General specifications General specifications The following table describes the general specifications for the devices. Specification XBee XBee-PRO Operating frequency ISM 2.4 GHz Supported channels 11 - 26 12 - 23 Form factor TH: 2.438 x 2.761 cm (0.960 x 1.087 in) SMT: 2.199 x 3.4 x 0.305 cm (0.866 x 1.33 x 0.120 in) TH: 2.438 x 3.294 cm (0.960 x 1.297 in) SMT: 2.199 x 3.4 x 0.305 cm (0.866 x 1.33 x 0.
Technical specifications Serial communication specifications Serial communication specifications The XBee/XBee-PRO S2C 802.15.4 RF Module supports both Universal Asynchronous Receiver / Transmitter (UART) and Serial Peripheral Interface (SPI) serial connections. UART pin assignments The SC1 (Serial Communication Port 1) of the Ember 357 is connected to the UART port. The following table provides the UART pin assignments.
Technical specifications GPIO specifications GPIO Electrical Specification Value Input current for logic 1 0.5 µA Input pull-up resistor value 29 kΩ Input pull-down resistor value 29 kΩ Output voltage for logic 0 0.18 x VCC (maximum) Output voltage for logic 1 0.
Hardware Antenna options Mechanical drawings Mounting considerations Pin signals Design notes XBee/XBee-PRO S2C 802.15.
Hardware Antenna options Antenna options The ranges specified are typical for the integrated whip (1.5 dBi) and dipole (2.1 dBi) antennas. The printed circuit board (PCB) antenna option provides advantages in its form factor; however, it typically yields shorter range than the whip and dipole antenna options when transmitting outdoors. For more information, see XBee and XBee-PRO OEM RF Module Antenna Considerations Application Note.
Hardware Mounting considerations The following drawings show the XBee-PRO through-hole device. Mounting considerations We design the through-hole module to mount into a receptacle so that you do not have to solder the module when you mount it to a board. The development kits may contain RS-232 and USB interface boards that use two 20-pin receptacles to receive modules. XBee/XBee-PRO S2C 802.15.
Hardware Pin signals The following illustration shows the module mounting into the receptacle on the RS-232 interface board. Century Interconnect and Samtec manufacture the 2 x 10 pin 2 mm spacing receptacles on Digi development boards.
Hardware Pin signals Pin Name Direction Description 2 DOUT Output UART data out 3 DIN/CONFIG Input UART data In 4 SPI_MISO Output Serial Peripheral Interface (SPI) Data Out 5 RESET Input Module reset (reset pulse must be at least 200 ns). This must be driven as an open drain/collector. The device drives this line low when a reset occurs. Never drive this line high.
Hardware Pin signals Pin Name Direction Function 4 DIN/CONFIG Input UART data in 5 [Reserved] Output Do not connect 6 RESET Input Module reset (reset pulse must be at least 200 ns). This must be driven as an open drain/collector. The device drives this line low when a reset occurs. Never drive this line high.
Hardware Design notes Pin Name Direction Function 30 DIO3/AD3 Both Digital I/O 3 / Analog input 3 31 DIO2/AD2 Both Digital I/O 2 / Analog input 2 32 DIO1/AD1 Both Digital I/O 1 / Analog input 1 33 DIO0/AD0 Both Digital I/O 0 / Analog input 0 34 [Reserved] - Do not connect 35 GND - Ground 36 RF Both RF connection 37 [Reserved] - Do not connect Notes Minimum connections: VCC, GND, DOUT and DIN. Minimum connections for updating firmware: VCC, GND, DIN, DOUT, RTS and DTR.
Hardware Design notes the best signal perpendicular to the direction they point, so a vertical antenna's omnidirectional radiation pattern is strongest across the horizon. Position the antennas away from metal objects whenever possible. Metal objects between the transmitter and receiver can block the radiation path or reduce the transmission distance.
Hardware Design notes Through-hole keepout Notes 1. We recommend non-metal enclosures. For metal enclosures, use an external antenna. 2. Keep metal chassis or mounting structures in the keepout area at least 2.54 cm (1 in) from the antenna. 3. Maximize the distance between the antenna and metal objects that might be mounted in the keepout area. 4. These keepout area guidelines do not apply for wire whip antennas or external RF connectors. Wire whip antennas radiate best over the center of a ground plane.
Hardware Design notes Surface-mount keepout RF pad version The RF pad is a soldered antenna connection on the surface-mount device. The RF signal travels from pin 36 on the module to the antenna through a single ended RF transmission line on the PCB. This line should have a controlled impedance of 50 Ω. For the transmission line, we recommend either a microstrip or coplanar waveguide trace on the PCB.
Hardware Design notes n The top layer has an RF trace running from pin 36 of the device to the RF pin of the RPSMA connector. The RF trace's width determines the impedance of the transmission line with relation to the ground plane. Many online tools can estimate this value, although you should consult the PCB manufacturer for the exact width. Assuming d = 0.025 in, and that the dielectric has a relative permittivity of 4.4, the width in this example will be approximately 0.045 in for a 50 Ω trace.
Hardware Design notes Number Description 4 RF connector 5 Stitch vias near the edges of the ground plane 6 Pour a solid ground plane under the RF trace on the reference layer Implementing these design suggestions helps ensure that the RF pad device performs to specifications. XBee/XBee-PRO S2C 802.15.
Configure the XBee/XBee-PRO S2C 802.15.4 RF Module Software libraries Configure the device using XCTU Over-the-air (OTA) firmware update XBee Network Assistant XBee Multi Programmer XBee/XBee-PRO S2C 802.15.
Configure the XBee/XBee-PRO S2C 802.15.4 RF Module Software libraries Software libraries One way to communicate with the XBee/XBee-PRO S2C 802.15.4 RF Module is by using a software library. The libraries available for use with the XBee/XBee-PRO S2C 802.15.4 RF Module include: n XBee Java library n XBee Python library The XBee Java Library is a Java API.
Configure the XBee/XBee-PRO S2C 802.15.4 RF Module XBee Multi Programmer 1. Navigate to digi.com/xbeenetworkassistant. 2. Click General Diagnostics, Utilities and MIBs. 3. Click the XBee Network Assistant - Windows x86 link. 4. When the file finishes downloading, run the executable file and follow the steps in the XBee Network Assistant Setup Wizard.
Modes Serial modes Transceiver modes XBee/XBee-PRO S2C 802.15.
Modes Serial modes Serial modes The firmware operates in several different modes. Two top-level modes establish how the device communicates with other devices through its serial interface: Transparent operating mode and API operating mode. Use the AP command to choose Serial mode. XBee/XBee-PRO S2C 802.15.4 RF Modules use Transparent operation as the default serial mode. The following modes describe how the serial port sends and receives data.
Modes Serial modes protocol that allows you to direct data on a packet basis. It can be particularly useful in large networks where you need control over the operation of the radio network or when you need to know which node a data packet is from. The device communicates UART or SPI data in packets, also known as API frames. This mode allows for structured communications with serial devices. For more information, see API mode overview.
Modes Serial modes Both of these methods temporarily set the device's baud rate to 9600 and return an OK on the UART to indicate that Command mode is active. When Command mode exits, the device returns to normal operation at the baud rate that BD is set to. Send AT commands Once the device enters Command mode, use the syntax in the following figure to send AT commands. Every AT command starts with the letters AT, which stands for "attention.
Modes Transceiver modes Make command changes permanent Send a WR (Write) command to save the changes. WR writes parameter values to non-volatile memory so that parameter modifications persist through subsequent resets. Send as RE (Restore Defaults) to wipe settings saved using WR back to their factory defaults. Note You still have to use WR to save the changes enacted with RE. Exit Command mode 1. Send CN (Exit Command mode) followed by a carriage return. or: 2.
Operation Addressing Encryption Maximum payload Networking Clear Channel Assessment (CCA) Serial interface SPI operation I/O support Sleep support Node discovery Remote configuration commands XBee/XBee-PRO S2C 802.15.
Operation Addressing Addressing Every RF data packet sent over-the-air contains a Source Address and Destination Address field in its header. The XBee/XBee-PRO S2C 802.15.4 RF Module conforms to the 802.15.4 specification and supports both short 16-bit addresses and long 64-bit addresses. A unique 64-bit IEEE source address is assigned at the factory and can be read with the SL (Serial Number Low) and SH (Serial Number High) commands. You must manually configure short addressing.
Operation Encryption 802.15.4 protocol specifies eight security modes, enumerated as shown in the following table. Level Name Length of message integrity Encrypted? check Packet length overhead 0 N/A No 0 (no check) 0 1 MIC-32 No 4 9 2 MIC-64 No 8 13 3 MIC-128 No 16 21 4 ENC Yes 0 (no check) 5 5 ENC-MIC-32 Yes 4 9 6 ENC-MIC-64 Yes 8 13 7 ENC-MIC-128 Yes 16 21 The XBee/XBee-PRO S2C 802.15.4 RF Module only supports security levels 0 and 4.
Operation Maximum payload receiving device outputs a Receive Packet (0x81) frame for received data. These same rules apply for encryption if MM is 0 or 3. This is possible because the four-byte encryption App header includes the short address of the sender and the long received address is not used for API output.
Operation Maximum payload Maximum payload summary tables The following table indicates the maximum payload when using transmit compatibility with the Legacy 802.15.4 module (S1 hardware). Encryption Enabled Disabled 95 B 100 B The following table indicates the maximum payload when using the application header and not using encryption. Increment the maximum payload in 2 bytes if you are not using the application header.
Operation n Networking The receiver may display duplicate packets. The solution is: n Set bit 0 of the C8 (802.15.4 Compatibility) parameter to 1 to enable TX compatibility mode in the XBee/XBee-PRO S2C 802.15.4 RF Module. This eliminates the transmission queue to avoid sending to multiple addresses simultaneously. It also limits the packet size to the levels of the Legacy 802.15.4 module. Networking The following table describes some common terms we use when discussing networks.
Operation Networking The default value for the MM configuration parameter is 0 which enables both the Digi header and the MAC acknowledgment. XBee retries configuration Configures the maximum number of retries the device executes in addition to the three retries provided by the 802.15.4 MAC. RR (XBee Retries) controls XBee retries configuration. It is also known as Application Retries. For each XBee retry, the 802.15.4 MAC can execute up to three retries.
Operation Networking Destination reachable Destination unreachable Retries Mac ACK Config Retries MAC App CCA failure happened TX status Retries TX status MAC App TX status MAC App Enabled 00 (Success) up to 3 per app retry up to RR value 21 3 (Network ACK Failure) RR value 02 (CCA 3 failure) RR value Disabled 00 (Success) 0 up to RR value 21 0 (Network ACK Failure) RR value 02 (CCA 3 failure) RR value Peer-to-peer networks By default, XBee/XBee-PRO S2C 802.15.
Operation Networking By default, A1 is 0, which disables association and effectively causes an end device to operate in peerto-peer mode. When bit 2 is set, the end device associates to a coordinator. This is done by sending out an active scan to detect beacons from nearby networks. The active scan selects one channel and transmits a Beacon Request command to the broadcast address and the broadcast PAN ID. It then listens on that channel for beacons from any coordinator operating on that channel.
Operation Networking If A2 bit 1 is set, the coordinator will issue an energy scan, similar to the active scan. It will listen on each channel specified in the SC parameter for the time indicated by the SD parameter. After the scan is complete, the channel with the least energy is selected to form the new network. If A2 bit 1 is clear, then no energy scan is performed and the CH parameter is used to select the channel of the new network.
Operation Networking enabled. On demand queries occur when the AI command is issued, which can occur in Command mode, in API mode, or as a remote command. Device Status Messages Not all device status messages are related with association, but for completeness all device status types reported by XBee/XBee-PRO S2C 802.15.4 RF Module are listed in the following table. Type Meaning 0x00 Hardware reset. 0x01 Watchdog reset. 0x02 End device successfully associated with a coordinator.
Operation Clear Channel Assessment (CCA) Sleep conditions Since instructions stop executing while the device is sleeping, it is important to avoid sleeping when the device has work to do. For example, the device will not sleep if any of the following are true: 1. The device is operating in command mode, or in the process of getting into command mode with the +++ sequence. 2. The device is processing AT commands from API mode 3. The device is processing remote AT commands 4.
Operation Serial interface parameter) defines the energy level that it takes to block a transmission attempt. For example, if CCA is set to the default value of 0x2C (which is interpreted as -44 dBm) then energy detected above the 44 dBm level (for example -40 dBm) temporarily blocks a transmission attempt. But if the energy level is less than that (for example -50 dBm), the transmission is not blocked. The intent of this feature is to prevent simultaneous transmissions on the same channel.
Operation Serial interface Serial receive buffer When serial data enters the device through the DIN pin (or the MOSI pin), it stores the data in the serial receive buffer until the device can process it. Under certain conditions, the device may not be able to process data in the serial receive buffer immediately. If large amounts of serial data are sent to the device such that the serial receive buffer would overflow, then it discards new data.
Operation Serial interface Flow control The XBee/XBee-PRO S2C 802.15.4 RF Module maintains buffers to collect serial and RF data that it receives. The serial receive buffer collects incoming serial characters and holds them until the device can process them. The serial transmit buffer collects the data it receives via the RF link until it transmits that data out the serial port. The following figure shows the process of device buffers collecting received serial data.
Operation SPI operation If the device sends data out the UART when RTS is de-asserted (set high) the device could send up to five characters out the UART port after RTS is de-asserted. Cases in which the DO buffer may become full, resulting in dropped RF packets: 1. If the RF data rate is set higher than the interface data rate of the device, the device may receive data faster than it can send the data to the host.
Operation SPI operation XBee device must be externally tri-stated when SPI_SSEL is de-asserted to prevent multiple devices from driving SPI_MISO. SPI_MOSI: The SPI master outputs data on this line at the SPI_CLK rate after it selects the desired slave. When you configure the device for SPI operations, this pin is an input. SPI_SCLK: The SPI master outputs a clock on this pin, and the rate must not exceed the maximum allowed, 5 Mb/s. This signal clocks data transfers on MOSI and MISO.
Operation I/O support Slave mode characteristics In slave mode, the following apply: n SPI Clock rates up to 5 MHz (5 Mb/s) are possible. n Data is MSB first. n It uses Frame Format Mode 0. This means CPOL= 0 (idle clock is low) and CPHA = 0 (data is sampled on the clock’s leading edge). The picture below diagrams Mode 0. n The SPI port is setup for API mode and is equivalent to AP = 1. The following picture shows the frame format for SPI communications.
Operation I/O support Digital I/O line support Digital I/O is available on pins D0 through D8. Each of these pins may be configured as 3, 4, or 5 with the following meanings: n 3 is digital input n 4 is digital output low n 5 is digital output high Pins D0 through D8 are available for digital input, but only D0 through D7 are available for digital output.
Operation I/O support In this example, note the following: 83 indicates RX Packet: 16-bit Address I/O frame (0x83). 00 00 indicates 16-bit source address. 00 indicates RSSI (does not apply). 00 indicates options. 01 indicates the number of samples. 03 3E mask to indicate which lines are sampled (A0, D8, D5, D4, D3, D2, and D1). 01 2A digital sample that indicates that D8 is high, D5 is high, D4 is low, D3 is high, D2 is low, and D1 is high.
Operation I/O support Multiple samples per packet The IT parameter specifies how many I/O samples can be transmitted in a single OTA packet. Any single-byte value (0 - 0xFF) is accepted for input. However, the value is adjusted downward based on how many I/O samples can fit into a maximum size packet; see Maximum payload. A query of the IT parameter after changes are applied tells how many I/O samples actually occur.
Operation I/O support Although samples may be taken every millisecond, IR*IT should be at least 20 milliseconds. This allows time for OTA transmission and output on the serial port of the receiving module. Destination node On the destination node, the IU parameter enables the serial port to output I/O samples it receives. IU is set to 1 by default. If IU is set and the destination node is not in Command mode, it displays samples it receives on its serial port in API format.
Operation I/O support Wakeup I/O sampling Bit 2 of the SO parameter specifies whether or not the device automatically samples the ADC/DIO lines on wakeup. On the receiving side the I/O sample may go to the I/O pins, the serial port, both, or neither based on the settings of the IA (I/O Input Address) and IU (I/O Output Enable) parameters. For more information, see SO (Sleep Options), IA (I/O Input Address), and IU (I/O Output Enable).
Operation Sleep support I/O line passing details The same message is received for both I/O sampling and for I/O line passing. But I/O line passing only occurs if IA matches the short or long address of the sending node or if IA is 0xFFFF to match a sample from any node. The default value of IA is 0xFFFFFFFF, which prevents I/O line passing from occurring on the node because no node has that address. Additionally, the receiving device must have a matching value for output.
Operation Sleep support Sleep mode Description SM 0 No sleep SM 1 Pin sleep SM 4 Cyclic sleep SM 5 Cyclic sleep with pin wake-up Pin Sleep mode (SM = 1) Pin Sleep mode minimizes quiescent power (power consumed when in a state of rest or inactivity). This mode is voltage level-activated; when Sleep_RQ (pin 9 for through-hole, pin 10 for surface-mount) is asserted, the device finishes any transmit, receive or association activities, enters Idle mode, and then enters a state of sleep.
Operation Sleep support n SP (Cyclic Sleep Period) n DP (Disassociated Cyclic Sleep Period) Sleep current The following table shows the sleep current during the XBee/XBee-PRO S2C 802.15.4 RF Module sleep modes.
Operation Node discovery Indirect transmissions can only occur on a Coordinator. Thus, if all nodes in a network are End Devices, only direct transmissions occurs. Indirect transmissions are useful to ensure packet delivery to a sleeping node. The Coordinator currently is able to retain up to five indirect messages. Direct transmission A Coordinator can be configured to use only direct transmission by setting the SP (Cyclic Sleep Period) parameter to 0.
Operation Node discovery When the node discovery command is issued in AT command mode, all other AT commands are inhibited until the node discovery command times out, as specified by the NT parameter. After the timeout, an extra CRLF is output to the terminal window, indicating that new AT commands can be entered. This is the behavior whether or not there were any nodes that responded to the broadcast.
Operation Remote configuration commands DL at 0). If the responding node has a long address (MY is FFFE), then DH/DL are set to the SH/SL of the responding node. Remote configuration commands The API firmware has provisions to send configuration commands to remote devices using the Remote AT Command Request frame (0x17); see Remote AT Command Request frame - 0x17. You can use this frame to send commands to a remote device to read or set command parameters.
AT commands Special commands Networking and security commands RF interfacing commands Sleep commands Serial interfacing commands I/O settings commands I/O line passing commands Diagnostic commands Command mode options XBee/XBee-PRO S2C 802.15.
AT commands Special commands Special commands The following commands are special commands. WR (Write) Writes parameter values to non-volatile memory so that parameter modifications persist through subsequent resets. Writing parameters to non-volatile memory does not apply the changes immediately. However, since the device uses non-volatile memory to determine initial configuration following reset, the written parameters are applied following a reset.
AT commands Networking and security commands Parameter range 0-3 Bit field: Bit Meaning 01 Setting Description TX 0 compatibility Transmissions are optimized as follows: 1. Maximum transmission size is affected by multiple factors (MM, MY, DH, DL, and EE). See Maximum payload rules. In the best case, with no app header, short source and destination addresses, and no encryption, the maximum transmission size is 116 bytes. 2.
AT commands Networking and security commands Default 0 CH (Operating Channel) Set or read the operating channel devices used to transmit and receive data. The channel is one of three addressing configurations available to the device. The other configurations are the PAN ID (ID command) and destination addresses (DL and DH commands). In order for devices to communicate with each other, they must share the same channel number.
AT commands Networking and security commands Default 0 DL (Destination Address Low) Set or display the lower 32 bits of the 64-bit destination address. When you combine DH with DL, it defines the destination address that the device uses for transmissions in Transparent mode. The destination address is also used for I/O sampling in both Transparent and API modes. 0x000000000000FFFF is the broadcast address. It is also used as the polling address when the device functions as end device.
AT commands Networking and security commands Default Set in the factory MM (MAC Mode) The MM command is used to set and read the MAC Mode value. The MM command disables/enables the use of a Digi header contained in the 802.15.4 RF packet. By default (MM = 0), Digi Mode is enabled and the module adds an extra header to the data portion of the 802.15.4 packet.
AT commands Networking and security commands Parameter range 0-6 Default 0 RN (Random Delay Slots) Sets or displays the minimum value of the back-off exponent in the CSMA-CA algorithm. The Carrier Sense Multiple Access - Collision Avoidance (CSMA-CA) algorithm was engineered for collision avoidance(random delays are inserted to prevent data loss caused by data collisions. If RN = 0, there is no delay between a request to transmit and the first iteration of CSMA-CA.
AT commands Networking and security commands 4 bytes for Lower Long Address 1 byte for the signal strength in -dBm (two's compliment representation) NULL-terminated string for NI (Node Identifier) value (maximum 20 bytes without NULL terminator) Each device that responds to the request will generate a separate AT Command Response frame 0x88. Broadcast an ND command to the network.
AT commands Networking and security commands Default 0x0 DN (Discover Node) Resolves an NI (Node identifier) string to a physical address (case sensitive). The following events occur after DN discovers the destination node: When DN is sent in Command mode : 1. The device sets DL and DH to the address of the device with the matching NI string. The address selected (either 16-bit short address or 64-bit extended address) is chosen based on the destination device's MY command configuration. 2.
AT commands Networking and security commands Default 0 SC (Scan Channels) Sets or displays the list of channels to scan for all Active and Energy Scans as a bit field. This affects scans initiated in the AS (Active Scan) and ED (Energy Scan) commands in Command mode and during End Device Association and Coordinator startup.
AT commands Networking and security commands PANs. If you set the ReassignChannel option, SD determines how long the coordinator performs an Energy Scan to determine which channel it will operate on. End Device: Duration of Active Scan during Association. In a Beacon system, set SD=BE of the coordinator. SD must be set at least to the highest BE parameter of any Beaconing Coordinator with which an end device or coordinator wants to discover.
AT commands Networking and security commands Bit Meaning Setting Description 0 0 Only associates with Coordinator operating on PAN ID that matches device ID. 1 May associate with Coordinator operating on any PAN ID. 0 Only associates with Coordinator operating on matching CH channel setting. 1 May associate with Coordinator operating on any channel. 0 Device will not attempt association. 1 Device attempts association until success.
AT commands Networking and security commands The binary equivalent of the default value (0x06) is 00000110. ‘Bit 0’ is the last digit of the sequence. Default 0 AI (Association Indication) Reads the Association status code to monitor association progress. The following table provides the status codes and their meanings. Status code Meaning 0x00 Coordinator successfully started, End device successfully associated, or operating in peer to peer mode where no association is needed.
AT commands Networking and security commands Parameter range N/A Default N/A AS (Active Scan) Sends a Beacon Request to a Broadcast address (0xFFFF) and Broadcast PAN (0xFFFF) on every channel in SC. SD determines the amount of time the device listens for Beacons on each channel. A PanDescriptor is created and returned for every Beacon received from the scan.
AT commands Networking and security commands Parameter range 0-6 Default N/A ED (Energy Detect) Starts an energy detect scan. This command accepts an argument to specify the time in milliseconds to scan all channels. The device loops through all the available channels until the time elapses. It returns the maximal energy on each channel, a comma follows each value, and the list ends with a carriage return. The values returned reflect the energy level that ED detects in -dBm units.
AT commands Networking and security commands KY (AES Encryption Key) Sets the 128-bit network security key value that the device uses for encryption and decryption. This command is write-only. If you attempt to read KY, the device returns an OK status. Set this command parameter the same on all devices in a network. The entire payload of the packet is encrypted using the key and the CRC is computed across the ciphertext.
AT commands RF interfacing commands RF interfacing commands The following AT commands are RF interfacing commands. PL (TX Power Level) Sets or displays the power level at which the device transmits conducted power. Power levels are approximate. For XBee-PRO, PL= 4 is calibrated and the remaining power levels are approximate. The device recalibrates its power setting every 15 seconds based on factory calibration settings and the current temperature.
AT commands Sleep commands PL setting Channel(s) TX power* (dBm) 2 12 to 23 15 3 12 to 23 16 4 12 to 23 18 * Highest power level is tested during manufacturing. Other power levels are approximate. Default 4 PM (Power Mode) Set or read the power mode of the device. Enabling boost mode improves the receive sensitivity by 2dB and increase the transmit power by 3dB.
AT commands Sleep commands SM (Sleep Mode) Sets or displays the sleep mode of the device. By default, Sleep Modes are disabled (SM = 0) and the device remains in Idle/Receive mode. When in this state, the device is constantly ready to respond to either serial or RF activity.
AT commands Serial interfacing commands Default 0 DP (Disassociated Cyclic Sleep Period) Sets or displays the sleep period for cyclic sleeping remotes that are configured for Association but that are not associated to a Coordinator. For example, if a device is configured to associate and is configured as a Cyclic Sleep remote, but does not find a Coordinator, it sleeps for DP time before reattempting association.
AT commands Serial interfacing commands BD (Interface Data Rate) To request non-standard baud rates with values between 1200 b/s and 250,000 b/s (0x4B0 and 0x3D090), you can use the Serial Console toolbar in XCTU to configure the serial connection (if the console is connected), or click the Connect button (if the console is not yet connected). When you send non-standard baud rates to a device, it stores the closest interface data rate represented by the number in the BD register.
AT commands Serial interfacing commands Parameter Description 0x5 38400 b/s 0x6 57600 0x7 115200 b/s 0x8 230400 b/s Default 0x03 (9600 b/s) NB (Parity) Set or read the serial parity settings for UART communications. The device does not actually calculate and check the parity. It only interfaces with devices at the configured parity and stop bit settings.
AT commands Serial interfacing commands Parameter range 0, 1, 3 - 7 Parameter Description 0 Disabled 1 CTS flow control 2 N/A 3 Digital input 4 Digital output, low 5 Digital output, high 6 RS-485 Tx enable, low Tx (0 V on transmit, high when idle) 7 RS-485 Tx enable high, high Tx (high on transmit, 0 V when idle) Default 0x1 D6 (DIO6/RTS) Sets or displays the DIO6/RTS configuration (TH pin 16/SMT pin 29).
AT commands I/O settings commands Parameter range 0-2 Parameter Description 0 Transparent mode, API mode is off. All UART input and output is raw data and the device uses the RO parameter to delineate packets. 1 API Mode Without Escapes. The device packetizes all UART input and output data in API format, without escape sequences. 2 API Mode With Escapes. The device is in API mode and inserts escaped sequences to allow for control characters.
AT commands I/O settings commands Parameter range Parameter Description 0 Disabled 1 Commissioning button 1 SPI_ATTN for the through-hole device 2 ADC 3 Digital input 4 Digital output, low 5 Digital output, high 6 PTI_EN Default 0 D2 (DIO2/AD2) Sets or displays the DIO2/AD2 configuration (TH pin 18/SMT pin 31).
AT commands I/O settings commands Parameter Description 0 Disabled 0 Unmonitored digital input 1 SPI_SSEL for the through-hole device 1 SPI slave select 2 ADC 3 Digital input 4 Digital output, low 5 Digital output, high Default 0 D4 (DIO4) Sets or displays the DIO4 configuration (TH pin 11/SMT pin 24).
AT commands I/O settings commands Parameter Description 0 Disabled 1 Associate LED indicator - blinks when associated 2 N/A 3 Digital input 4 Digital output, default low 5 Digital output, default high Default 1 D8 (DIO8/SLEEP_REQUEST) Sets or displays the DI8/DTR/SLP_RQ configuration (TH pin 9/SMT pin 10). The XBee/XBee-PRO S2C 802.15.4 RF Module does not support sleep. The SLEEP_REQUEST option is provided for compatibility purposes and does not affect the device.
AT commands I/O settings commands Parameter range 0-2 Parameter Description 0 Disabled 1 RSSI PWM0 output 2 PWM0 output Default 1 P1 (PWM1 Configuration) Sets or displays the PWM1 configuration (TH pin 7/SMT pin 8). If IA (I/O Input Address) is correctly set and P1 is configured as PWM1 output, incoming AD0 samples automatically modify the PWM1 value.
AT commands I/O settings commands M0 (PWM0 Duty Cycle) The duty cycle of the PWM0 line (TH pin 6/SMT pin 7). Use the P0 command to configure the line as a PWM output. If the IA (I/O Input Address) parameter is correctly set and P0 is configured as PWM0 output, incoming AD0 samples automatically modify the PWM0 value. Before setting the line as an output: 1. Enable PWM0 output (P0 = 2). 2. Apply settings (use CN or AC).
AT commands I/O settings commands Default 1 P6 (SPI_MOSI Configuration) Sets or displays the SPI_MOSI configuration. This only applies to surface-mount devices. Parameter range 0, 1 Parameter Description 0 Disabled 1 SPI_MOSI Default 1 P7 (SPI_SSEL ) Sets or displays the SPI_SSEL configuration. This only applies to surface-mount devices. Parameter range 1, 2 Parameter Description 0 Disabled 1 SPI_SSEL Default 1 P8 (SPI_SCLK) Sets or displays the DIO18/SPI_CLK configuration.
AT commands I/O settings commands Default 1 P9 (SPI_ATTN) Sets or displays the SPI_ATTN configuration (pin 12). This only applies to surface-mount devices. Parameter range 1, 2 Parameter Description 0 Disabled 1 SPI_ATTN Default 1 PR (Pull-up/Down Resistor Enable) The bit field that configures the internal pull-up/down resistor status for the I/O lines. n If you set a PR bit to 1, it enables the pull-up/down resistor n If you set a PR bit to 0, it specifies no internal pull-up/down resistor.
AT commands I/O settings commands Default 0xFF Example Sending the command ATPR 6F turn bits 0, 1, 2, 3, 5 and 6 ON, and bits 4 and 7 OFF. The binary equivalent of 0x6F is 01101111. Bit 0 is the last digit in the bit field. PD (Pull Up/Down Direction) The resistor pull direction bit field (1 = pull-up, 0 = pull-down) for corresponding I/O lines that are set by the PR command. See PR (Pull-up/Down Resistor Enable) for the bit mappings.
AT commands I/O settings commands Default 1 IS (Force Sample) Forces a read of all enabled digital and analog input lines. The data is returned through the UART or SPI.
AT commands I/O line passing commands IR (Sample Rate) Set or read the I/O sample rate to enable periodic sampling. When set, this parameter causes the device to sample all enabled DIO and ADC at a specified interval. To enable periodic sampling, set IR to a non-zero value, and enable the analog or digital I/O functionality of at least one device pin (see D0 (DIO0/AD0) -D8 (DIO8/SLEEP_REQUEST), P0 (RSSI/PWM0 Configuration) -P2 (SPI_MISO).
AT commands I/O line passing commands IA (I/O Input Address) The source address of the device to which outputs are bound. Setting all bytes to 0xFF disables I/O line passing. Setting IA to 0xFFFF allows any I/O packet addressed to this device (including broadcasts) to change the outputs. The source address of the device to which outputs are bound.
AT commands I/O line passing commands T3 (D3 Output Timeout) Specifies how long pin D3 holds a given value before it reverts to configured value. If set to 0, there is no timeout. Parameter range 0 - 0xFF (x 100 ms) Default 0xFF T4 (D4 Output Timeout) Specifies how long pin D4 holds a given value before it reverts to configured value. If set to 0, there is no timeout.
AT commands Diagnostic commands Default 0xFF PT (PWM Output Timeout) Specifies how long both PWM outputs (P0, P1) output a given PWM signal before it reverts to the configured value (M0/M1). If set to 0, there is no timeout. This timeout only affects these pins when they are configured as PWM output. Parameter range 0 - 0xFF (x 100 ms) Default 0xFF Diagnostic commands The following AT commands are diagnostic commands. Diagnostic commands are typically volatile and will not persist across a power cycle.
AT commands Diagnostic commands Default Set in firmware DB (Last Packet RSSI) Reports the RSSI in -dBm of the last received RF data packet. DB returns a hexadecimal value for the dBm measurement. For example, if DB returns 0x60, then the RSSI of the last packet received was -96 dBm. If the XBee/XBee-PRO S2C 802.15.4 RF Module has been reset and has not yet received a packet, DB reports 0. This value is volatile (the value does not persist in the device's memory after a power-up sequence).
AT commands Command mode options Parameter range 0 - 0xFFFFFFFF Default 0x10000 Command mode options The following commands are Command mode option commands. CT (Command mode Timeout) Sets or displays the Command mode timeout parameter. If a device does not receive any valid commands within this time period, it returns to Idle mode from Command mode. Parameter range 2 - 0x1770 (x 100 ms) Default 0x64 (10 seconds) CN (Exit Command mode) Exits Command mode and returns the product family to Idle mode.
AT commands Command mode options GT (Guard Times) Set the required period of silence before and after the command sequence characters of the Command mode sequence (GT + CC + GT). The period of silence prevents inadvertently entering Command mode. Parameter range 0x2 - 0xCE4 (x 1 ms) Default 0x3E8 (one second) CC (Command Character) The character value the device uses to enter Command mode. The default value (0x2B) is the ASCII code for the plus (+) character.
Operate in API mode API mode overview API frame specifications Escaped characters in API frames Frame descriptions XBee/XBee-PRO S2C 802.15.
Operate in API mode API mode overview API mode overview As an alternative to Transparent operating mode, you can use API operating mode. API mode provides a structured interface where data is communicated through the serial interface in organized packets and in a determined order. This enables you to establish complex communication between devices without having to define your own protocol.
Operate in API mode API frame specifications When operating in API 2, if an unescaped 0x7E byte is observed, it is treated as the start of a new API frame and all data received prior to this delimiter is silently discarded. For more information on using this API mode, refer to the following knowledge base article: http://knowledge.digi.
Operate in API mode API frame specifications Frame data Start delimiter Length Frame type 1 2 3 4 0x7E MSB LSB API frame type Checksum Data 5 6 7 8 9 ... n Data n+1 Single byte n Frame type is the API frame type identifier. It determines the type of API frame and indicates how the Data field organizes the information. n Data contains the data itself. This information and its order depend on the what type of frame that the Frame type field defines.
Operate in API mode Escaped characters in API frames Byte(s) Description 48 65 6C 6C 6F Data packet B8 Checksum To calculate the check sum you add all bytes of the packet, excluding the frame delimiter 7E and the length (the second and third bytes): 7E 00 0A 01 01 50 01 00 48 65 6C 6C 6F B8 Add these hex bytes: 01 + 01 + 50 + 01 + 00 + 48 + 65 + 6C + 6C + 6F = 247 Now take the result of 0x247 and keep only the lowest 8 bits which, in this example, is 0x47 (the two far right digits).
Operate in API mode Frame descriptions Frame descriptions The following sections describe the API frames. TX Request: 64-bit address frame - 0x00 Description This frame causes the device to send payload data as an RF packet. Format The following table provides the contents of the frame. For details on frame structure, see API frame specifications.
Operate in API mode Frame descriptions TX Request: 16-bit address - 0x01 Description A TX Request message causes the device to transmit data as an RF Packet. Format The following table provides the contents of the frame. For details on frame structure, see API frame specifications. Frame data fields Offset Description Frame type 3 0x01 Frame ID 4 Identifies the data frame for the host to correlate with a subsequent ACK (0x89). If set to 0, the device does not send a response.
Operate in API mode Frame descriptions AT Command frame - 0x08 Description Use this frame to query or set device parameters on the local device. This API command applies changes after running the command. You can query parameter values by sending the 0x08 AT Command frame with no parameter value field (the two-byte AT command is immediately followed by the frame checksum). A 0x88 response frame is populated with the parameter value that is currently set on the device.
Operate in API mode Frame descriptions Frame data fields Offset Example AT command 5 0x4E (N) 6 0x48 (H) 7 0x0F Parameter value (optional) Checksum The following example illustrates an AT Command frame when you modify the device's DL parameter value.
Operate in API mode Frame descriptions AT Command - Queue Parameter Value frame - 0x09 Description This frame allows you to query or set device parameters. In contrast to the AT Command (0x08) frame, this frame queues new parameter values and does not apply them until you issue either: n The AT Command (0x08) frame (for API type) n The AC command When querying parameter values, the 0x09 frame behaves identically to the 0x08 frame.
Operate in API mode Frame descriptions Remote AT Command Request frame - 0x17 Description Used to query or set device parameters on a remote device. For parameter changes on the remote device to take effect, you must apply changes, either by setting the Apply Changes options bit, or by sending an AC command to the remote. Format The following table provides the contents of the frame. For details on frame structure, see API frame specifications.
Operate in API mode Frame descriptions RX Packet: 64-bit Address frame - 0x80 Description When a device receives an RF data packet from a device configured to use 64-bit addressing (MY = FFFF or FFFE), it sends this frame out the serial interface. Format The following table provides the contents of the frame. For details on frame structure, see API frame specifications. Frame data fields Offset Description Frame type 3 0x80 64-bit source address 4-11 The sender's 64-bit address.
Operate in API mode Frame descriptions Receive Packet: 16-bit address frame - 0x81 Description When the device receives an RF packet from a device configured to use 16 bit addressing (MY < FFFE), it sends this frame out the serial interface. Format The following table provides the contents of the frame. For details on frame structure, see API frame specifications.
Operate in API mode Frame descriptions RX (Receive) Packet: 64-bit address IO frame- 0x82 Description When the device receives an I/O sample from a remote device configured to use 64-bit addressing, the I/O data is sent out the UART using this frame type Format The following table provides the contents of the frame. For details on frame structure, see API frame specifications.
Operate in API mode Frame data fields Frame descriptions Offset Total number of samples Description 19 ADC0 MSB 20 ADC0 LSB ... N/A n -1 ADCn MSB n ADCn LSB Bit field Description Reserved 3 bits A3 - A0 4 analog bits D8 - D0 9 digital bits XBee/XBee-PRO S2C 802.15.4 RF Module User Guide If the sample set includes any ADC data, each enabled analog input returns a two-byte value indicating the A/D measurement of that input.
Operate in API mode Frame descriptions RX Packet: 16-bit address I/O frame - 0x83 Description When the device receives an I/O sample from a remote device configured to use 16-bit addressing, the I/O data is sent out the UART using this frame type. Format The following table provides the contents of the frame. For details on frame structure, see API frame specifications. Total number Frame data of fields Offset samples Description Frame type 3 N/A 0x83 Source Address 4-5 N/A MSB first, LSB last.
Operate in API mode Frame descriptions Total number Frame data of fields Offset samples Description Analog samples 13 ADC0 MSB 14 ADC0 LSB If the sample set includes any ADC data, each enabled analog input returns a two-byte value indicating the A/D measurement of that input. ADC channel data is represented as an unsigned 10-bit value right-justified on a 16-bit boundary. Analog samples are ordered sequentially from AD0 to AD5. ...
Operate in API mode Frame descriptions AT Command Response frame - 0x88 Description A device sends this frame in response to an AT Command (0x08) frame and a queued AT command 0x09. Some commands send back multiple frames; for example, the ND command. This command ends by sending a frame with a status of 0 (OK) and no value. In the particular case of ND, a frame is received via a remote node in the network and when the process is finished, the AT command response is received.
Operate in API mode Frame descriptions Frame data fields Offset Example Frame ID 4 0x01 AT command 5 0x42 (B) 6 0x44 (D) 7 0x00 Command status Command data Checksum (No command data implies the parameter was set rather than queried) 8 0xF0 XBee/XBee-PRO S2C 802.15.
Operate in API mode Frame descriptions TX Status frame - 0x89 Description When a TX request: 64-bit address (0x00) or 16-bit address (0x01) is complete, the device sends a TX Status frame. This message indicates if the packet transmitted successfully or if there was a failure. Format The following table provides the contents of the frame. For details on frame structure, see API frame specifications.
Operate in API mode Frame descriptions Frame data fields Offset Example Start delimiter 0 0x7E Length MSB 1 0x00 LSB 2 0x03 Frame type 3 0x89 Frame ID 4 0x01 Status 5 0x00 Checksum 6 0x75 XBee/XBee-PRO S2C 802.15.
Operate in API mode Frame descriptions Modem Status frame - 0x8A Description Devices send the status messages in this frame in response to specific conditions. Format The following table provides the contents of the frame. For details on frame structure, see API frame specifications.
Operate in API mode Frame descriptions Remote Command Response frame - 0x97 Description If a device receives this frame in response to a Remote Command Request (0x17) frame, the device sends an AT Command Response (0x97) frame out the serial interface. Some commands, such as the ND command, may send back multiple frames. For details on the behavior of ND, see ND (Network Discovery). Format The following table provides the contents of the frame.
Regulatory information United States (FCC) Europe (CE) ISED (Innovation, Science and Economic Development Canada) Australia (RCM) South Korea XBee/XBee-PRO S2C 802.15.
Regulatory information United States (FCC) United States (FCC) XBee/XBee-PRO S2C 802.15.4 RF Modules comply with Part 15 of the FCC rules and regulations. Compliance with the labeling requirements, FCC notices and antenna usage guidelines is required. To fulfill FCC Certification, the OEM must comply with the following regulations: 1. The system integrator must ensure that the text on the external label provided with this device is placed on the outside of the final product. 2.
Regulatory information United States (FCC) against harmful interference in a residential installation. This equipment generates, uses and can radiate radio frequency energy and, if not installed and used in accordance with the instructions, may cause harmful interference to radio communications. However, there is no guarantee that interference will not occur in a particular installation.
The XBee and XBee-PRO RF Modules can be installed using antennas and cables constructed with non-standard connectors (RPSMA, RPTNC, etc.) An adapter cable may be necessary to attach the XBee connector to the antenna connector. The modules are FCC approved for fixed base station and mobile applications for the channels indicated in the tables below. If the antenna is mounted at least 25 cm (10 in) from nearby persons, the application is considered a mobile application.
Type Part number (description) Gain (dBi) Min. Application* separation Channels 11-24 Channel 25 Channel 26 A24-HASM525 2.1 Fixed 25 cm N/A N/A N/A Dipole (Half-wave articulated RPSMA - 5.25") Omni-directional antennas A24-F2NF Omni-directional (Fiberglass base station) 2.1 Fixed/Mobile 25 cm N/A N/A N/A A24-F3NF Omni-directional (Fiberglass base station) 3.0 Fixed/Mobile 25 cm N/A N/A N/A A24-F5NF Omni-directional (Fiberglass base station) 5.
Type Part number (description) Gain (dBi) Min. Application* separation Channels 11-24 Channel 25 Channel 26 A24-P19NF Flat Panel 19.0 Fixed 2m 1.1 9.1 16.6 A24-Y6NF Yagi (6-element) 8.8 Fixed 2m N/A N/A 3.9 A24-Y7NF Yagi (7-element) 9.0 Fixed 2m N/A N/A 4.1 A24-Y9NF Yagi (9-element) 10.0 Fixed 2m N/A N/A 5.1 A24-Y10NF Yagi (10-element) 11.0 Fixed 2m N/A 0.6 6.1 A24-Y12NF Yagi (12-element) 12.0 Fixed 2m N/A 1.6 7.1 A24-Y13NF Yagi (13-element) 12.
The following table shows the antennas approved for use with the XBee S2C TH RF Module. Required antenna cable loss (dB) Part number Type (description) Gain (dBi) Min. Application* separation Channels 11-24 Channel 25 Channel 26 Regulatory information XBee/XBee-PRO S2C 802.15.4 RF Module User Guide XBee S2C TH RF Module Integral antennas 29000294 Integral PCB antenna -0.5 Fixed/Mobile 25 cm N/A N/A N/A A24-QI Monopole (Integrated whip) 1.
Part number Type (description) Gain (dBi) Min. Application* separation Channels 11-24 Channel 25 Channel 26 A24-F9NF Omni-directional (Fiberglass base station) 9.5 Fixed 2m N/A N/A 0.9 A24-F10NF Omni-directional (Fiberglass base station) 10.0 Fixed 2m N/A N/A 1.4 A24-F12NF Omni-directional (Fiberglass base station) 12.0 Fixed 2m N/A N/A 3.4 A24-W7NF Omni-directional (Fiberglass base station) 7.
Part number Type (description) Gain (dBi) Min. Application* separation Channels 11-24 Channel 25 Channel 26 A24-Y12NF Yagi (12-element) 12.0 Fixed 2m N/A 2.4 7.9 A24-Y13NF Yagi (13-element) 12.0 Fixed 2m N/A 2.4 7.9 A24-Y15NF Yagi (15-element) 12.5 Fixed 2m N/A 2.9 8.4 A24-Y16NF Yagi (16-element) 13.5 Fixed 2m N/A 3.9 9.4 A24-Y16RM Yagi (16-element, RPSMA connector) 13.5 Fixed 2m N/A 3.9 9.4 A24-Y18NF Yagi (18-element) 15.0 Fixed 2m 0.4 5.4 10.
The following table shows the antennas approved for use with the XBee-PRO S2C SMT RF Module. Required antenna cable loss (dB) Part Number Type (Description) Gain (dBi) Min Application* Separation Channels 1123† Channel 24† Regulatory information XBee/XBee-PRO S2C 802.15.4 RF Module User Guide XBee-PRO S2C SMT RF Module Internal antennas 29000313 Integral PCB antenna 0.0 Fixed/Mobile 25 cm N/A N/A A24-QI Monopole (Integrated whip) 1.
Part Number Type (Description) Gain (dBi) Min Application* Separation Channels 1123† Channel 24† A24-F9NF Omni-directional (Fiberglass base station) 9.5 Fixed 2m N/A N/A A24-F10NF Omni-directional (Fiberglass base station) 10 Fixed 2m N/A N/A A24-F12NF Omni-directional (Fiberglass base station) 12 Fixed 2m N/A 1.6 A24-W7NF Omni-directional (Fiberglass base station) 7.2 Fixed 2m N/A N/A A24-M7NF Omni-directional (Mag-mount base station) 7.
Part Number Type (Description) Gain (dBi) Min Application* Separation Channels 1123† Channel 24† A24-Y12NF Yagi (12-element) 12.0 Fixed 2m 1.6 5.1 A24-Y13NF Yagi (13-element) 12.0 Fixed 2m 1.6 5.1 A24-Y15NF Yagi (15-element) 12.5 Fixed 2m 2.1 5.6 A24-Y16NF Yagi (16-element) 13.5 Fixed 2m 3.1 6.6 A24-Y16RM Yagi (16-element, RPSMA connector) 13.5 Fixed 2m 3.1 6.6 A24-Y18NF Yagi (18-element) 15.0 Fixed 2m 4.6 8.1 Regulatory information XBee/XBee-PRO S2C 802.15.
The following table shows the antennas approved for use with the XBee-PRO S2C TH RF Module. Required antenna cable loss (dB) Part number Type (description) Gain (dBi) Min. Application* separation Channels 1123† Channel 24† Regulatory information XBee/XBee-PRO S2C 802.15.4 RF Module User Guide XBee-PRO S2C TH RF Module Integral antennas 29000294 Integral PCB antenna -0.5 Fixed/Mobile 25 cm N/A N/A A24-QI Monopole (Integrated whip) 1.
Part number Type (description) Gain (dBi) Min. Application* separation Channels 1123† Channel 24† A24-F9NF Omni-directional (Fiberglass base station) 9.5 Fixed 2m N/A N/A A24-F10NF Omni-directional (Fiberglass base station) 10.0 Fixed 2m N/A N/A A24-F12NF Omni-directional (Fiberglass base station) 12.0 Fixed 2m N/A 1.4 A24-W7NF Omni-directional (base station) 7.2 Fixed 2m N/A N/A A24-M7NF Omni-directional (Mag-mount base station) 7.
Part number Type (description) Gain (dBi) Min. Application* separation Channels 1123† Channel 24† A24-Y12NF Yagi (12-element) 12.0 Fixed 2m 1.4 4.4 A24-Y13NF Yagi (13-element) 12.0 Fixed 2m 1.4 4.4 A24-Y15NF Yagi (15-element) 12.5 Fixed 2m 1.9 4.9 A24-Y16NF Yagi (16-element) 13.5 Fixed 2m 2.9 5.9 A24-Y16RM Yagi (16-element, RPSMA connector) 13.5 Fixed 2m 2.9 5.9 A24-Y18NF Yagi (18-element) 15.0 Fixed 2m 4.4 7.4 Regulatory information XBee/XBee-PRO S2C 802.15.
Regulatory information United States (FCC) RF exposure If you are an integrating the XBee into another product, you must include the following Caution statement in OEM product manuals to alert users of FCC RF exposure compliance: CAUTION! To satisfy FCC RF exposure requirements for mobile transmitting devices, a separation distance of 20 cm or more should be maintained between the antenna of this device and persons during device operation.
Regulatory information Europe (CE) 2.8 Label and compliance information Host product manufacturers need to follow the sticker guidelines outlined in OEM labeling requirements. 2.9 Information on test modes and additional testing requirements Contact a Digi sales representative for information on how to configure test modes for the XBee/XBee-PRO S2C 802.15.4 RF Module. 2.
Regulatory information Europe (CE) The CE mark shall consist of the initials “CE” taking the following form: n If the CE marking is reduced or enlarged, the proportions given in the above graduated drawing must be respected. n The CE marking must have a height of at least 5 mm except where this is not possible on account of the nature of the apparatus. n The CE marking must be affixed visibly, legibly, and indelibly.
Regulatory information ISED (Innovation, Science and Economic Development Canada) All antenna part numbers followed by an asterisk (*) are not available from Digi. Consult with an antenna manufacturer for an equivalent option. n Dipole (2.1 dBi, Omni-directional, Articulated RPSMA, Digi part number A24-HABSM) n PCB Antenna (0.0 dBi) n Monopole Whip (1.
Regulatory information Australia (RCM) Le présent émetteur radio a été approuvé par Industrie Canada pour fonctionner avec les types d'antenne énumérés et ayant un gain admissible maximal et l'impédance requise pour chaque type d'antenne. Les types d'antenne non inclus dans cette liste, ou dont le gain est supérieur au gain maximal indiqué, sont strictement interdits pour l'exploitation de l'émetteur.
Regulatory information South Korea The KCC logo must be at least 5 mm tall. The text shown in the label is: 1. 모델명 : XBee S2C TH 2. 인증번호 : MSIP-CRM-DIG-XBee-S2C-TH 3. 인증자상호 : DIGI INTERNATIONAL, INC. 4. 제조자/제조국가 : DIGI INTERNATIONAL, INC. / 미국 If the label size does not accommodate the required content, you can use abbreviated information, as follows: XBee/XBee-PRO S2C 802.15.
Regulatory information South Korea The KCC logo must be at least 5 mm tall. The text shown on the label is: 인증번호 : MSIP-CRM-DIG-XBee-S2C-TH For the surface-mount version, the label will overlay the existing product label. CAUTION! By placing a label over the existing label, the certifications for Europe (CE), Australia, New Zealand (RCM), and Japan will no longer apply. Recommended label material: Abraham Technical TELT-000465. The label size is: 15.9 mm x 20.3 mm (0.625 in x 0.
Regulatory information South Korea The KCC logo must be at least 5 mm tall. The text shown in the label is: 1. 모델명 : XBee S2C 2. 인증번호 : MSIP-CRM-DIG-XBee-S2C 3. 인증자상호 : DIGI INTERNATIONAL, INC. 4. 제조자/제조국가 : DIGI INTERNATIONAL, INC. / 미국 If the label size does not accommodate the required content, you can use the abbreviated information, as follows: XBee/XBee-PRO S2C 802.15.
Regulatory information South Korea The KCC logo must be at least 5 mm tall. The text shown in the label is: 인증번호 : MSIP-CRM-DIG-XBee-S2C XBee/XBee-PRO S2C 802.15.
Load 802.15.4 firmware on ZB devices Background Load 802.15.4 firmware XBee/XBee-PRO S2C 802.15.
Load 802.15.4 firmware on ZB devices Background Background Our XBee/XBee-PRO ZB RF modules are built on the same hardware as the XBee/XBee-PRO S2C 802.15.4 RF Module. It is possible to load 802.15.4 firmware on existing ZB modules. The table below shows which part numbers are compatible with 802.15.4 firmware. Note Currently the 802.15.4 firmware is approved for use only in the United States, Canada, Europe, Australia and Japan.
Load 802.15.4 firmware on ZB devices Load 802.15.4 firmware 4. When you get to the Update firmware dialog box, in the Function set area, click the 802.15.4 option, and the newest firmware version. 5. Click Update and follow the instructions. 6. When the updating process successfully completes, your device runs 802.15.4 firmware. You can change back to Zigbee firmware at any time by following the same process and selecting the Zigbee firmware option instead. XBee/XBee-PRO S2C 802.15.
Migrate from XBee through-hole to surface-mount devices We design the XBee surface-mount and through-hole devices to be compatible with each other and offer the same basic feature set. The surface-mount form factor has more I/O pins. Because the XBee device was originally offered in only the through-hole form factor, we offer this section to help you migrate from the through-hole to the surface-mount form factor. Pin mapping Mount the devices XBee/XBee-PRO S2C 802.15.
Migrate from XBee through-hole to surface-mount devices Pin mapping Pin mapping The following table shows the pin mapping for the surface-mount (SMT) pins to the through-hole (TH) pins. The pin names are from the XBee S2C SMT device.
Migrate from XBee through-hole to surface-mount devices Mount the devices SMT Pin # Name TH Pin # 28 DIO5/ASSOC 15 29 DIO6/RTS 16 30 DIO3/AD3 17 31 DIO2/AD2 18 32 DIO1/AD1 19 33 DIO0/AD0 20 34 [Reserved] 35 GND 36 RF 37 [Reserved] Mount the devices One important difference between the SMT and TH devices is the way they mount to a printed circuit board (PCB). Each footprint requires different mounting techniques.
Migrate from XBee through-hole to surface-mount devices Mount the devices The round holes in the diagram are for the TH design, and the semi-oval pads are for the SMT design. Pin 1 of the TH design is lined up with pad 1 of the SMT design, but the pins are actually offset by one pad; see Pin mapping. By using diagonal traces to connect the appropriate pins, the layout will work for both devices. PCB design and manufacturing contains information on attaching the SMT device. XBee/XBee-PRO S2C 802.15.
PCB design and manufacturing The XBee/XBee-PRO S2C 802.15.4 RF Module is designed for surface-mount on the OEM PCB. It has castellated pads to allow for easy solder attach inspection. The pads are all located on the edge of the module, so there are no hidden solder joints on these modules. Recommended solder reflow cycle Recommended footprint and keepout Flux and cleaning Rework XBee/XBee-PRO S2C 802.15.
PCB design and manufacturing Recommended solder reflow cycle Recommended solder reflow cycle The following table provides the recommended solder reflow cycle. The table shows the temperature setting and the time to reach the temperature; it does not show the cooling cycle. Time (seconds) Temperature (degrees C) 30 65 60 100 90 135 120 160 150 195 180 240 210 260 The maximum temperature should not exceed 260 °C.
PCB design and manufacturing Recommended footprint and keepout While the underside of the module is mostly coated with solder resist, we recommend that the copper layer directly below the module be left open to avoid unintended contacts. Copper or vias must not interfere with the three exposed RF test points on the bottom of the module (see below).
PCB design and manufacturing Flux and cleaning Flux and cleaning We recommend that you use a “no clean” solder paste in assembling these devices. This eliminates the clean step and ensures that you do not leave unwanted residual flux under the device where it is difficult to remove. In addition: n Cleaning with liquids can result in liquid remaining under the device or in the gap between the device and the host PCB. This can lead to unintended connections between pads.
PCB design and manufacturing Rework following information is given as a guideline in such cases to increase the chances of success during rework, though the warranty is still voided. The module may be removed from the OEM PCB by the use of a hot air rework station, or hot plate. Care should be taken not to overheat the module. During rework, the module temperature may rise above its internal solder melting point and care should be taken not to dislodge internal components from their intended positions.