Page 1
® ® XBee /XBee-PRO ZB RF Modules ZigBee RF Modules by Digi International Models: XBEE S2C, PS2CSM, S2CTH, PS2CTH, Legacy PRO S2C Hardware: S2C Firmware: 401x, 402x, 403x, 404x, 405x Digi International Inc. 11001 Bren Road East Minnetonka, MN 55343 877 912-3444 or 952 912-3444 www.digi.com...
Page 2
ZigBee alliance. All other trademarks mentioned in this document are the property of their respective owners. Information in this document is subject to change without notice and does not represent a commitment on the part of Digi International.
• Manufactured under ISO 9001:2000 registered standards • XBee/XBee-PRO ZB RF Modules are optimized for use in US, Canada, Australia, Europe (XBee only) and Japan (XBee only). Contact Digi for a complete list of agency approvals What’s New in 40xx Firmware •...
Digi provides a bootloader that can take care of programming the processor over the air or through the serial interface. This means that over the air updates can be supported through an XMODEM protocol. The processor can also be programmed and debugged through a one wire interface BKGD (Pin 9/SMT, Pin 8/TH).
RS-232 or USB interface board), or through a Serial Peripheral Interface, which is a synchronous interface to be described later. Two Wire serial Interface (TWI) is also available, but not supported by Digi. For information on the TWI, see the EM357 specification.
ZigBee stack that are not required in many cases. Skip this section if •The XBee does not need to interoperate or talk to non-Digi ZigBee devices •The XBee simply needs to send data between devices Read this section if •The XBee may talk to non-Digi ZigBee devices...
Page 44
Digi XBee ZB firmware operates on a private profile called the Digi Drop-In Networking profile. However, API mode can be used in many cases to talk to devices in public profiles or non-Digi private profiles. See the API Operations chapter for details.
Layers - In Depth" in chapter 3.) Application layer addressing allows data transmissions to be addressed to specific profile IDs, cluster IDs, and endpoints. Application layer addressing is useful if an application must • Interoperate with other ZigBee devices outside of the Digi application profile • Utilize service and network management capabilities of the ZDO •...
Page 63
If the explicit transmit frame is used, the cluster ID should be set to 0x0011, the profile ID to 0xC105, and the source and destination endpoints to 0xE8 (recommended defaults for data transmissions in the Digi profile.) The same transmission could be sent using the following explicit transmit frame: 7E 00 15 11 01 0000 0000 0000 0000 FFFE E8 E8 0011 C105 00 00 31 18 Notice the 16-bit address is set to 0xFFFE.
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 node 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 NI command), and other relevant information.
All devices that receive this transmission blink their associate pin rapidly for one second if the associate LED functionality is enabled. (D5 = 1) Binding There are three binding request messages supported by the Digi XBee firmware: End Device Bind, Bind, and Unbind. End_Device_Bind_req The End Device Bind request (ZDO cluster 0x0020) is described in the ZigBee Specification in section 2.4.3.2.1.
Page 90
C sends responses to the original End_Device_Bind_req messages. R1-<C End_Device_Bind_rsp R2-<C End_Device_Bind_rsp End Device Binding Sequence (Removal) Here is an example of a correctly formatted End_Device_Bind_req (ZDO cluster 0x0020) using a Digi 0x11 Explicit API Frame: The frame as a bytelist: 7e002811010000000000000000fffe000000200000000001f2995cb5474000a21300e605c10101000102004 Same frame broken into labeled fields. Note the multibyte fields are represented in big-endian format.
ZigBee Cluster Library Groups Cluster (0x0006) with ZCL commands. The Digi ZigBee XBee firmware is intended to work with an external processor where a Public Application Profile with endpoints and clusters is implemented, including a Groups Cluster. The ZigBee XBee firmware should be configured to forward all ZCL commands addressed to this Group Cluster out the UART (see ATAO3).
Data Frame. Note that Digi may add new API frames to future versions of firmware, so build into your software interface the ability to filter out additional API frames with unknown Frame Types.
(low) the IO sample is shown in the API example in the table above. XBee Sensor Read Indicator Frame Type: 0x94 When the module receives a sensor sample (from a Digi 1-wire sensor adapter), it is sent out the serial port using this message type (when AO=0). Frame Fields...
30 0x01 command). 3 = Frame sent after power cycle event occurred (see JN command). 31 0xC1 Digi Profile ID Set to Digi's application profile ID. 32 0x05 33 0x10 Manufacturer ID Set to Digi's Manufacturer ID. 34 0x1E Checksum 35 0x1B 0xFF - the 8 bit sum of bytes from offset 3 to this byte.
0 - 0xFF 0xE8 transparent mode.The default value 0xE8 (Data endpoint) is the Digi data endpoint Destination Endpoint. Set/read Zigbee application layer destination ID value. This value will be used as the destination endpoint all data transmissions. DE is only used in...
Contact Digi to create a custom configuration. Design Considerations for Digi Drop-In Networking XBee RF modules contain a variety of features that allow for interoperability with Digi's full line of Drop-in Networking products. Interoperability with other "DIN" products can offer these advantages: •Add IP-connectivity to your network via Cellular, Ethernet or WiFi with a ConnectPort X Gateway...
4, 10, and 29 (DIN, DTR, and RTS respectively) on the SMT, and pins 3, 9, 16 on the TH. The XCTU program can update firmware serially on the XBee. Contact Digi support for details. If an application requires custom firmware to update the XBee firmware serially, the following steps are required.
(as per FCC section 2.1091). Modifications not expressly approved by Digi could void the user's authority to operate the equipment. IMPORTANT: OEMs must test final product to comply with unintentional radiators (FCC section 15.107 &...
XBee ZB RF Modules have been tested and approved for use with all the antennas listed in the tables below. (Cable-loss IS required when using gain antennas as shown below.) The antennas in the tables below have been approved for use with this module. Digi does not carry all of these antenna variants. Contact Digi Sales for available antennas.
Files can be obtained by contacting Digi Support. Important 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.
R&TTE Directive - Equipment requirements, placement on market: Available at www.ero.dk/. Antennas The following antennas have been tested and approved for use with the embedded XBee RF Module: - Dipole (2.1 dBi, Omni-directional, Articulated RPSMA, Digi part number A24-HABSM) - PCB Antenna (0.0 dBi) - Monopole Whip (1.5 dBi)
Page 176
One of the important differences between the Surface Mount and the Through-hole modules is the way they mount to the PCB. Different mounting techniques are required. Digi International has designed a footprint which will allow either module to be attached to a PCB. The layout is shown below. All dimensions are in inches.
The foregoing sets forth the full extent of Digi International’s warranties regarding the Product. Repair or replace- ment at Digi International’s option is the exclusive remedy. THIS WARRANTY IS GIVEN IN LIEU OF ALL OTHER WAR- RANTIES, EXPRESS OR IMPLIED, AND DIGI SPECIFICALLY DISCLAIMS ALL WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
Need help?
Do you have a question about the PS2CSM and is the answer not in the manual?
Questions and answers