Stufin
Home Quick Cart Profile

XBee-PRO ZB S2B Extended Range Module

Buy Now on Stufin

Coordinator Mode

Acts as the central controller of the Zigbee network, managing device connections and data routing.

Router Mode

Extends the range of the Zigbee network by relaying data between devices.

End Device Mode

Acts as a peripheral device in the Zigbee network, transmitting and receiving data to/from the Coordinator or Router.

Key Features

  • Extended Range: The XBee-PRO ZB S2B module features an extended range of up to 2 miles (3.2 km) line-of-sight, making it suitable for applications that require reliable wireless communication over long distances.
  • Zigbee PRO Feature Set: Supports advanced Zigbee features, including ZCL, Many-to-One Routing, and Frequency Agility, ensuring reliable and efficient wireless communication.
  • Low Power Consumption: The module operates at a low power consumption of 45 mA (transmit) and 30 mA (receive), making it suitable for battery-powered devices.
  • Industrial Temperature Rating: The module is designed to operate in extreme temperatures, ranging from -40C to 85C, ensuring reliable performance in harsh environments.
  • Secure Communication: Supports 128-bit AES encryption and secure authentication protocols, ensuring secure data transmission and reception.
  • Simple Configuration: The module can be easily configured using the XCTU software, which provides a user-friendly interface for setting up and managing the module's parameters.
  • Compact Form Factor: The module is designed in a compact, low-profile package, making it suitable for integration into small form factor devices.

Technical Specifications

Frequency Band

2.4 GHz ISM band

Data Rate

Up to 250 kbps

Range

Up to 2 miles (3.2 km) line-of-sight

Transmit Power

Up to 63 mW (18 dBm)

Receiver Sensitivity

-100 dBm

Interface

3.3V serial UART interface

Operating Voltage

2.4 to 3.6 V

Dimensions

24.5 x 27.5 x 9.5 mm (0.96 x 1.08 x 0.37 in)

Certifications and Compliance

FCC Certified

Complies with FCC Part 15 regulations

ETSI Certified

Complies with ETSI EN 300 220 regulations

Industry Canada Certified

Complies with Industry Canada regulations

Applications

The XBee-PRO ZB S2B Extended Range Module is suitable for a wide range of IoT applications, including

Industrial Automation

Remote monitoring and control of industrial equipment and processes

Smart Energy Management

Wireless connectivity for smart meters, grid management, and energy monitoring

Home Automation

Wireless control and monitoring of home appliances, lighting, and security systems

Medical Devices

Wireless connectivity for medical devices, patient monitoring, and telemedicine applications

Pin Configuration

  • XBee-PRO ZB S2B Extended Range Module Pinout Documentation
  • The XBee-PRO ZB S2B Extended Range Module is a wireless communication module that operates on the IEEE 802.15.4 protocol, providing a reliable and efficient way to connect devices in IoT applications. The module has 20 pins, which are explained below.
  • Pinout Structure:
  • The XBee-PRO ZB S2B module has a 20-pin, 2x10 receptacle-style connector. The pins are labeled 1-10 on one side and 11-20 on the other.
  • Pins 1-10:
  • 1. VCC: Power supply pin. Connect to a 3.3V power source. Maximum current rating is 350mA.
  • 2. GND: Ground pin. Connect to the ground of the power supply and other components in the circuit.
  • 3. TX (Transmit): UART transmit pin. Connect to the RX pin of a serial device, such as a microcontroller.
  • 4. RX (Receive): UART receive pin. Connect to the TX pin of a serial device, such as a microcontroller.
  • 5. RTS (Request to Send): UART flow control pin. Active low. Connect to the CTS pin of a serial device.
  • 6. CTS (Clear to Send): UART flow control pin. Active low. Connect to the RTS pin of a serial device.
  • 7. DSR (Data Set Ready): UART flow control pin. Active high. Connect to the DTR pin of a serial device.
  • 8. DTR (Data Terminal Ready): UART flow control pin. Active high. Connect to the DSR pin of a serial device.
  • 9. GND: Ground pin. Connect to the ground of the power supply and other components in the circuit.
  • 10. RES (Reset): Active low reset pin. Connect to a 3.3V power source through a 10k resistor. Can be connected to a push-button or other reset mechanism.
  • Pins 11-20:
  • 11. associate: Association indicator pin. Active high. Can be connected to an LED or other indicator device to show association status.
  • 12. RSSI: Received Signal Strength Indicator pin. Analog output. Can be connected to an ADC input on a microcontroller to measure signal strength.
  • 13. GND: Ground pin. Connect to the ground of the power supply and other components in the circuit.
  • 14. VREF: Voltage reference pin. Output of the internal voltage regulator. Can be used to power external components.
  • 15. NC (Not Connected): No internal connection. Do not connect to any signal or power source.
  • 16. NC (Not Connected): No internal connection. Do not connect to any signal or power source.
  • 17. NC (Not Connected): No internal connection. Do not connect to any signal or power source.
  • 18. NC (Not Connected): No internal connection. Do not connect to any signal or power source.
  • 19. GND: Ground pin. Connect to the ground of the power supply and other components in the circuit.
  • 20. VCC: Power supply pin. Connect to a 3.3V power source. Maximum current rating is 350mA.
  • Connection Structure:
  • When connecting the XBee-PRO ZB S2B module to a microcontroller or other devices, ensure the following:
  • Connect VCC (pins 1 and 20) to a 3.3V power source.
  • Connect GND (pins 2, 9, 13, and 19) to the ground of the power supply and other components in the circuit.
  • Connect TX (pin 3) to the RX pin of the microcontroller.
  • Connect RX (pin 4) to the TX pin of the microcontroller.
  • Connect RTS (pin 5) to the CTS pin of the microcontroller, if using flow control.
  • Connect CTS (pin 6) to the RTS pin of the microcontroller, if using flow control.
  • Connect DSR (pin 7) to the DTR pin of the microcontroller, if using flow control.
  • Connect DTR (pin 8) to the DSR pin of the microcontroller, if using flow control.
  • Connect RES (pin 10) to a 3.3V power source through a 10k resistor, or to a push-button or other reset mechanism.
  • Connect associate (pin 11) to an LED or other indicator device, if desired.
  • Connect RSSI (pin 12) to an ADC input on the microcontroller, if desired.
  • Important Notes:
  • Ensure the XBee-PRO ZB S2B module is properly configured and provisioned before use.
  • Follow proper soldering and assembly techniques when connecting the module to a PCB or other components.
  • Observe proper power supply and voltage regulator design practices to ensure reliable operation.
  • Refer to the official documentation and datasheet for more information on the XBee-PRO ZB S2B module and its usage.

Code Examples

XBee-PRO ZB S2B Extended Range Module Documentation
Overview
The XBee-PRO ZB S2B is a high-performance, extended-range ZigBee module designed for long-range wireless communication applications. This module is part of the XBee-PRO family, offering improved range and reliability compared to standard XBee modules.
Key Features
IEEE 802.15.4 compliant
 ZigBee protocol support
 Extended range up to 60 miles (96.5 km) line of sight
 High-speed data transfer rates up to 250 kbps
 Low power consumption for extended battery life
 Supports point-to-point, point-to-multipoint, and mesh networking topologies
Hardware Connections
The XBee-PRO ZB S2B module has a standard 20-pin XBee footprint, making it compatible with a wide range of development boards and platforms. The module's pinout is as follows:
VCC: Power supply (3.3V)
 GND: Ground
 TX: Transmit data
 RX: Receive data
 RTS: Request to send
 CTS: Clear to send
 DIN: Data in
 DOUT: Data out
 SLEEP: Sleep mode enable
 ON/SLEEP: On/sleep mode control
Reset: Reset input
Code Examples
### Example 1: Basic Serial Communication using XBee-PRO ZB S2B (Arduino)
This example demonstrates how to use the XBee-PRO ZB S2B module to establish a serial communication link between two Arduino boards.
Transmitter Code (Arduino)
```c++
#include <SoftwareSerial.h>
// Define the XBee's serial pins
const int xbeeRx = 2;
const int xbeeTx = 3;
SoftwareSerial xbee(xbeeRx, xbeeTx);
void setup() {
  xbee.begin(9600);
  Serial.begin(9600);
}
void loop() {
  xbee.println("Hello, world!");
  delay(1000);
}
```
Receiver Code (Arduino)
```c++
#include <SoftwareSerial.h>
// Define the XBee's serial pins
const int xbeeRx = 2;
const int xbeeTx = 3;
SoftwareSerial xbee(xbeeRx, xbeeTx);
void setup() {
  xbee.begin(9600);
  Serial.begin(9600);
}
void loop() {
  if (xbee.available()) {
    String receivedData = xbee.readStringUntil('
');
    Serial.println(receivedData);
  }
  delay(100);
}
```
### Example 2: ZigBee Mesh Networking using XBee-PRO ZB S2B (Python)
This example demonstrates how to use the XBee-PRO ZB S2B module to create a ZigBee mesh network using Python and the XBee Python library.
Sender Code (Python)
```python
import xbee
# Initialize the XBee device
xb = xbee.ZigBee('/dev/ttyUSB0', 9600)
# Define the destination node's address
dest_addr = b'x00x13xA2x00x40x5Fx05xC4'
# Send a message to the destination node
xb.tx(dest_addr, b'Hello, neighbor!')
# Close the XBee device
xb.close()
```
Receiver Code (Python)
```python
import xbee
# Initialize the XBee device
xb = xbee.ZigBee('/dev/ttyUSB0', 9600)
# Define a callback function to handle incoming messages
def handle_rx(packet):
    print("Received message: ", packet['rf_data'])
# Set up the XBee device to receive messages
xb.on_rx = handle_rx
# Start the XBee device
xb.start()
# Wait for incoming messages
while True:
    pass
```
These examples demonstrate the basic functionality of the XBee-PRO ZB S2B module. For more advanced usage and configuration, please refer to the official XBee documentation and ZigBee protocol specifications.