The Hands-on XBEE Lab Manual book cover

The Hands-on XBEE Lab Manual

Experiments that Teach you XBEE Wirelesss Communications

Get the practical knowledge you need to set up and deploy XBee modules with this hands-on, step-by-step series of experiments

  • The only book to cover XBee in practical fashion; enables you to get up and running quickly with step-by-step tutorials.
  • Provides insight into the product data sheets, saving you time and helping you get straight to the information you need.
  • Includes troubleshooting and testing information, plus downloadable configuration files and fully-documented source code to illustrate and explain operations.

The Hands-on XBee Lab Manual takes the reader through a range of experiments, using a hands-on approach. Each section demonstrates module set up and configuration, explores module functions and capabilities, and, where applicable, introduces the necessary microcontrollers and software to control and communicate with the modules. Experiments cover simple setup of modules, establishing a network of modules, identifying modules in the network, and some sensor-interface designs.

This book explains, in practical terms, the basic capabilities and potential uses of XBee modules, and gives engineers the know-how that they need to apply the technology to their networks and embedded systems.

Jon Titus (KZ1G) is a Freelance technical writer, editor, and designer based in Herriman, Utah, USA and previously editorial director at Test & Measurement World magazine and EDN magazine. Titus is the inventor of the first personal-computer kit, the Mark-8, now in the collection at the Smithsonian Institution.


Electrical, electronic, mechanical and mechatronic engineers, plus embedded systems designers and programmers, academics and students, enthusiasts, and entrepreneurs involved with short-range wireless communications, control hardware, and software for XBee modules.

Paperback, 324 Pages

Published: May 2012

Imprint: Newnes

ISBN: 978-0-12-391404-0


  • "The value of this book lies in the way it guides the reader through assembling the hardware pieces and setting up the experiments, and provides information not easily found in product specifications, user manuals, or application notes.", March 6, 2013
    "For communications systems engineers and designers, this guide to the Digi International XBee radio communication modules provides practical instruction on real world uses of this robust collection of communications products. Beginning with an overview of the X-CTU module software, the work covers topics such as module configuration, one-way digital input communications, remote control applications, analog signals, handling data from multiple analog inputs, remote module control, device discovery, and setting up XBee networks. A series of appendices provides information on module presets and common configuration options. Chapters include detailed schematics and code examples, and additional online resources are provided. Titus is a renowned computer expert and technical writer."--Reference and Research Book News, October 2012


  • Preface and Acknowledgments
    Experiment 1. Introduction to the X-CTU Software
    Experiment 2. How to Change XBee Module Configurations
    Experiment 3. One-Way Digital-Input Communications
    Experiment 4. Use an XBee Module for Remote Control
    Experiment 5. XBee Modules Transfer and Control Analog Signals
    Experiment 6. Remote Control of Digital and Analog Devices
    Experiment 7. How to Transmit Data on a Logic-Level Change
    Experiment 8. How to Handle Data from Several Analog Inputs
    Experiment 9. Investigate Sleep Modes and Sleep-Mode Timing
    Experiment 10. How to Use API Packets to Control a Local XBee Module
    Experiment 11. How to Use API Packets to Control Remote XBee Modules
    Experiment 12. How to Use API Packets to Control Remote I/O Lines
    Experiment 13. Remote Control of PWM Outputs
    Experiment 14. How to Parse Data from Digital and Analog Pins and Control Individual Digital Outputs
    Experiment 15. How to Control Several XBee Modules with Broadcast Commands
    Experiment 16. How to Communicate Between an MCU and an XBee Module
    Experiment 17. Two-Way Communications with XBee Modules
    Experiment 18. How to Discover Nearby XBee Modules
    Experiment 19. How to Set Up a Small XBee Network
    Experiment 20. Digital and Analog Measurements in a Network
    Experiment 21. How to Handle an Unknown Number of XBee Modules
    Experiment 22. Exploring Cyclic-Sleep Operations
    Appendix A: Logic-Level Conversion Circuits
    Appendix B: Hexadecimal Numbers and Checksums
    Appendix C: Default Modem-Configuration Settings for XBee (XB24) Modules
    Appendix D: Electronic and XBee Resources
    Appendix E: Excel Spreadsheet Packet-Creator Tool
    Appendix F: XBee Experiments Bill of Materials
    Appendix G: American Standard Code for Information Interchange (ASCII)
    Appendix H: Troubleshooting
    Appendix I: Blank Tables
    Appendix J: XBee Connection Information


advert image