The Hands-on XBEE Lab Manual

Book description

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

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.

  • 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

Table of contents

  1. Cover Image
  2. Table of Contents
  3. Title
  4. Copyright
  5. Dedication
  6. Foreword to The Hands-on XBee Lab Manual
  7. Acknowledgments
  8. Introduction
  9. Experiment 1. Introduction to the X-CTU Software
    1. Requirements
    2. Introduction
  10. Experiment 2. How to Change XBee Module Configurations
    1. Requirements
    2. Introduction
  11. Experiment 3. One-Way Digital-Input Communications
    1. Requirements
    2. Introduction
  12. Experiment 4. Use an XBee Module for Remote Control
    1. Requirements
    2. Introduction
  13. Experiment 5. XBee Modules Transfer and Control Analog Signals
    1. Requirements
    2. Introduction
  14. Experiment 6. Remote Control of Digital and Analog Devices
    1. Requirements
    2. Introduction
    3. Optional Steps
    4. Answers to Questions in Step 6
  15. Experiment 7. How to Transmit Data on a Logic-Level Change
    1. Requirements
    2. Introduction
    3. Make Clean Logic Transitions
  16. Experiment 8. How to Handle Data from Several Analog Inputs
    1. Requirements
    2. Introduction
    3. A Reminder About Sample Rates
    4. Answers to Questions in Step 8
  17. Experiment 9. Investigate Sleep Modes and Sleep-Mode Timing
    1. Requirements
    2. Introduction
  18. Experiment 10. How to Use API Packets to Control a Local XBee Module
    1. Requirements
    2. Introduction
    3. Answers to Questions in Step 8
  19. Experiment 11. How to Use API Packets to Control Remote XBee Modules
    1. Requirements
    2. Introduction
    3. Immediate Command Actions
  20. Experiment 12. How to Use API Packets to Control Remote I/O Lines
    1. Requirements
    2. Introduction
    3. Experiment Answers
  21. Experiment 13. Remote Control of PWM Outputs
    1. Requirements
    2. Introduction
    3. A Better Approach
    4. Reference
  22. Experiment 14. How to Parse Data from Digital and Analog Pins and Control Individual Digital Outputs
    1. Requirements
    2. Introduction
    3. Experiment Answers
  23. Experiment 15. How to Control Several XBee Modules with Broadcast Commands
    1. Requirements
    2. Introduction
    3. Experiment Answers
  24. Experiment 16. How to Communicate Between an MCU and an XBee Module
    1. Requirements
    2. Introduction
    3. Using a UART
    4. Terminal-Emulation Software
    5. Using an Arduino Uno
    6. Using an ARM mbed Module
  25. Experiment 17. Two-Way Communications with XBee Modules
    1. Requirements
    2. Introduction
    3. Software
    4. Terminal-Emulation Software
    5. Using an Arduino Uno Module
    6. Using an ARM mbed Module
    7. Control of Remote XBee Modules with MCU AT Commands
  26. Experiment 18. How to Discover Nearby XBee Modules
    1. Requirements
    2. Introduction
    3. Experiment 18 Software Flow Chart
    4. Using an Arduino Uno Module
    5. Using an ARM mbed Module
    6. Final Steps
    7. Important Notes
  27. Experiment 19. How to Set Up a Small XBee Network
    1. Requirements
    2. Introduction
    3. Why Associate XBee Modules in a Network?
    4. Conclusion
  28. Experiment 20. Digital and Analog Measurements in a Network
    1. Requirements
    2. Introduction
    3. Using an ARM mbed Module
    4. Using an Arduino Uno Module
  29. Experiment 21. How to Handle an Unknown Number of XBee Modules
    1. Requirements
    2. Introduction
    3. MCU Software
    4. Program Description
    5. Using an ARM mbed Module
    6. Using an Arduino Uno Module
    7. Conclusion
  30. Experiment 22. Exploring Cyclic-Sleep Operations
    1. Requirements
    2. Introduction
    3. Periodic Wake-Up with I/O Report
    4. Periodic Wake-Up with Coordinator Polling
  31. APPENDIX A. Logic-Level-Conversion Circuits
  32. APPENDIX B. Hexadecimal Numbers and Checksums
    1. Checksums
  33. APPENDIX C. Default Modem-Configuration Settings for XBee (XB24) Modules
  34. APPENDIX D. Electronic and XBee Resources
    1. Resistors and their Color Codes
    2. Breadboards
    3. Work Area
    4. XBee Modules and Breadboard Adapters
    5. XBee Modules and USB Adapters
    6. Power Sources
    7. Tools
    8. Suppliers
  35. APPENDIX E. Excel Spreadsheet Packet-Creator Tool
    1. Troubleshooting
  36. APPENDIX F. XBee Experiments Bill of Materials
  37. APPENDIX G. American Standard Code for Information Interchange (ASCII)
  38. APPENDIX H. Troubleshooting
  39. APPENDIX I. Blank Tables
  40. APPENDIX J. XBee Connection Information
  41. Glossary
  42. Index

Product information

  • Title: The Hands-on XBEE Lab Manual
  • Author(s): Jonathan A Titus
  • Release date: July 2012
  • Publisher(s): Newnes
  • ISBN: 9780123914163