Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Component Documentation

How to Use XBEE-1: Examples, Pinouts, and Specs

Image of XBEE-1
Cirkit Designer LogoDesign with XBEE-1 in Cirkit Designer

Introduction

The XBEE-1 is a wireless communication module designed to facilitate seamless communication between devices over a mesh network. Operating on the 2.4 GHz frequency, it is widely used in Internet of Things (IoT) applications due to its ease of integration, low power consumption, and reliable data transmission. The module supports point-to-point, point-to-multipoint, and mesh networking, making it versatile for a variety of use cases.

Explore Projects Built with XBEE-1

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
ESP8266 NodeMCU with LoRa and RS-485 Communication and Ethernet Connectivity
Image of Wiring Diagram LoRa: A project utilizing XBEE-1 in a practical application
This circuit serves as a multi-protocol communication hub featuring two ESP8266 NodeMCUs for processing, each connected to a LoRa Ra-02 SX1278 for long-range wireless communication. One NodeMCU is also connected to an RS-485 module for serial communication and a W5500 Ethernet module for network connectivity, with MB102 modules supplying power.
Cirkit Designer LogoOpen Project in Cirkit Designer
Satellite-Based Timing and Navigation System with SDR and Atomic Clock Synchronization
Image of GPS 시스템 측정 구성도_Confirm: A project utilizing XBEE-1 in a practical application
This circuit appears to be a complex system involving power supply management, GPS and timing synchronization, and data communication. It includes a SI-TEX G1 Satellite Compass for GPS data, an XHTF1021 Atomic Rubidium Clock for precise timing, and Ettus USRP B200 units for software-defined radio communication. Power is supplied through various SMPS units and distributed via terminal blocks and DC jacks. Data communication is facilitated by Beelink MINI S12 N95 computers, RS232 splitters, and a 1000BASE-T Media Converter for network connectivity. RF Directional Couplers are used to interface antennas with the USRP units, and the entire system is likely contained within cases for protection and organization.
Cirkit Designer LogoOpen Project in Cirkit Designer
ESP32-Based RF Communication System with 433 MHz Modules
Image of 433 mhz: A project utilizing XBEE-1 in a practical application
This circuit comprises an ESP32 microcontroller connected to a 433 MHz RF transmitter and receiver pair. The ESP32 is programmed to receive and decode RF signals through the receiver module, as well as send RF signals via the transmitter module. Additionally, the ESP32 can communicate with a Bluetooth device to exchange commands and data, and it uses an LED for status indication.
Cirkit Designer LogoOpen Project in Cirkit Designer
ESP32 and BW16-Kit-1 Microcontroller Communication Hub with Buzzer Notification
Image of BiJiQ Wi-Fi To.oL: A project utilizing XBEE-1 in a practical application
This circuit features two ESP32 microcontrollers configured to communicate with each other via serial connection, as indicated by the cross-connection of their TX2 and RX2 pins. A BW16-Kit-1 microcontroller is also included, interfacing with one of the ESP32s through pins D26 and D27. Power is supplied to the microcontrollers through a step-down buck converter connected to a 5V Type C DC socket, and a buzzer is driven by one of the ESP32s, potentially for audio signaling purposes.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with XBEE-1

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of Wiring Diagram LoRa: A project utilizing XBEE-1 in a practical application
ESP8266 NodeMCU with LoRa and RS-485 Communication and Ethernet Connectivity
This circuit serves as a multi-protocol communication hub featuring two ESP8266 NodeMCUs for processing, each connected to a LoRa Ra-02 SX1278 for long-range wireless communication. One NodeMCU is also connected to an RS-485 module for serial communication and a W5500 Ethernet module for network connectivity, with MB102 modules supplying power.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of GPS 시스템 측정 구성도_Confirm: A project utilizing XBEE-1 in a practical application
Satellite-Based Timing and Navigation System with SDR and Atomic Clock Synchronization
This circuit appears to be a complex system involving power supply management, GPS and timing synchronization, and data communication. It includes a SI-TEX G1 Satellite Compass for GPS data, an XHTF1021 Atomic Rubidium Clock for precise timing, and Ettus USRP B200 units for software-defined radio communication. Power is supplied through various SMPS units and distributed via terminal blocks and DC jacks. Data communication is facilitated by Beelink MINI S12 N95 computers, RS232 splitters, and a 1000BASE-T Media Converter for network connectivity. RF Directional Couplers are used to interface antennas with the USRP units, and the entire system is likely contained within cases for protection and organization.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of 433 mhz: A project utilizing XBEE-1 in a practical application
ESP32-Based RF Communication System with 433 MHz Modules
This circuit comprises an ESP32 microcontroller connected to a 433 MHz RF transmitter and receiver pair. The ESP32 is programmed to receive and decode RF signals through the receiver module, as well as send RF signals via the transmitter module. Additionally, the ESP32 can communicate with a Bluetooth device to exchange commands and data, and it uses an LED for status indication.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of BiJiQ Wi-Fi To.oL: A project utilizing XBEE-1 in a practical application
ESP32 and BW16-Kit-1 Microcontroller Communication Hub with Buzzer Notification
This circuit features two ESP32 microcontrollers configured to communicate with each other via serial connection, as indicated by the cross-connection of their TX2 and RX2 pins. A BW16-Kit-1 microcontroller is also included, interfacing with one of the ESP32s through pins D26 and D27. Power is supplied to the microcontrollers through a step-down buck converter connected to a 5V Type C DC socket, and a buzzer is driven by one of the ESP32s, potentially for audio signaling purposes.
Cirkit Designer LogoOpen Project in Cirkit Designer

Common Applications

  • Home automation systems
  • Industrial monitoring and control
  • Wireless sensor networks
  • Robotics and remote control systems
  • Smart agriculture and environmental monitoring

Technical Specifications

Key Technical Details

Parameter Specification
Frequency Band 2.4 GHz ISM
Data Rate Up to 250 kbps
Transmission Range Up to 100 meters (indoor)
Operating Voltage 2.8V to 3.4V
Operating Current 45 mA (transmit), 50 µA (sleep)
Communication Protocol Zigbee (IEEE 802.15.4)
Antenna Type PCB Trace or External Antenna
Operating Temperature -40°C to +85°C
Dimensions 24.38 mm x 27.61 mm x 2.79 mm

Pin Configuration and Descriptions

The XBEE-1 module has a 20-pin configuration. Below is the pinout description:

Pin Number Pin Name Description
1 VCC Power supply input (2.8V to 3.4V).
2 DOUT UART Data Out. Transmits serial data to the host microcontroller.
3 DIN UART Data In. Receives serial data from the host microcontroller.
4 DIO12 Digital I/O pin 12. Configurable as input or output.
5 RESET Reset pin. Active low. Resets the module when pulled low.
6 RSSI Signal strength indicator. Outputs PWM signal proportional to signal strength.
7 PWM0/DIO10 Configurable as PWM output or digital I/O pin 10.
8 DIO11 Digital I/O pin 11. Configurable as input or output.
9 GND Ground. Connect to the system ground.
10 DIO4 Digital I/O pin 4. Configurable as input or output.
11 DIO3 Digital I/O pin 3. Configurable as input or output.
12 DIO2 Digital I/O pin 2. Configurable as input or output.
13 DIO1 Digital I/O pin 1. Configurable as input or output.
14 DIO0 Digital I/O pin 0. Configurable as input or output.
15 ASSOC Association indicator. Indicates network connection status.
16 ON/SLEEP Indicates module sleep status.
17 CTS Clear-to-Send. UART flow control signal.
18 RTS Request-to-Send. UART flow control signal.
19 AD0/DIO0 Analog input or digital I/O pin 0.
20 AD1/DIO1 Analog input or digital I/O pin 1.

Usage Instructions

How to Use the XBEE-1 in a Circuit

  1. Power Supply: Connect the VCC pin to a regulated 3.3V power source and GND to the system ground.
  2. UART Communication: Connect the DOUT pin to the RX pin of the host microcontroller and the DIN pin to the TX pin of the microcontroller.
  3. Reset: Optionally, connect the RESET pin to a GPIO pin of the microcontroller for manual or software-controlled resets.
  4. Antenna: Ensure the module has a proper antenna (PCB trace or external) for optimal wireless communication.
  5. Configuration: Use XCTU software or AT commands to configure the module's parameters, such as PAN ID, baud rate, and operating mode.

Important Considerations

  • Voltage Levels: Ensure the module operates within the specified voltage range (2.8V to 3.4V). Exceeding this range may damage the module.
  • Antenna Placement: Place the antenna away from metal objects or other sources of interference for optimal performance.
  • Sleep Mode: Utilize the sleep mode to reduce power consumption in battery-powered applications.
  • Network Configuration: Properly configure the module for the desired network topology (e.g., point-to-point or mesh).

Example: Connecting XBEE-1 to Arduino UNO

Below is an example of how to connect the XBEE-1 to an Arduino UNO and send data wirelessly.

Wiring Diagram

XBEE-1 Pin Arduino UNO Pin
VCC 3.3V
GND GND
DOUT RX (Pin 0)
DIN TX (Pin 1)

Arduino Code

#include <SoftwareSerial.h>

// Define RX and TX pins for SoftwareSerial
SoftwareSerial XBee(2, 3); // RX = Pin 2, TX = Pin 3

void setup() {
  Serial.begin(9600);       // Initialize Serial Monitor at 9600 baud
  XBee.begin(9600);         // Initialize XBee communication at 9600 baud
  Serial.println("XBee Ready");
}

void loop() {
  if (Serial.available()) {
    // Read data from Serial Monitor and send to XBee
    char data = Serial.read();
    XBee.write(data);
  }

  if (XBee.available()) {
    // Read data from XBee and send to Serial Monitor
    char data = XBee.read();
    Serial.write(data);
  }
}

Notes

  • Use a level shifter if the Arduino operates at 5V logic levels to avoid damaging the XBEE-1.
  • Configure the XBEE-1 module using XCTU software before deploying it in the circuit.

Troubleshooting and FAQs

Common Issues and Solutions

  1. No Communication Between Modules

    • Ensure both modules are configured with the same PAN ID and baud rate.
    • Verify the antenna is properly connected and positioned.
  2. Module Not Responding

    • Check the power supply voltage and ensure it is within the specified range.
    • Verify the RESET pin is not being held low.
  3. Poor Signal Strength

    • Avoid placing the module near metal objects or other sources of interference.
    • Use an external antenna for improved range.
  4. Data Loss or Corruption

    • Ensure proper UART baud rate matching between the XBEE-1 and the host microcontroller.
    • Use flow control (CTS/RTS) if transmitting large amounts of data.

FAQs

Q: Can the XBEE-1 communicate with other Zigbee devices?
A: Yes, the XBEE-1 is Zigbee-compliant and can communicate with other Zigbee devices configured on the same network.

Q: How do I update the firmware on the XBEE-1?
A: Use the XCTU software to update the firmware via a USB-to-serial adapter.

Q: What is the maximum number of devices in a mesh network?
A: The XBEE-1 supports up to 65,000 devices in a Zigbee mesh network.

Q: Can I use the XBEE-1 for outdoor applications?
A: Yes, but ensure the module is housed in a weatherproof enclosure and operates within the specified temperature range.