Experiment 16

How to Communicate Between an MCU and an XBee Module

Requirements

2 XBee modules

1 XBee adapter board

1 Solderless breadboard

1 USB-to-XBee adapter

1 USB cable—type-A to mini-B

1 Microcontroller with a serial port (Arduino Uno or ARM mbed)

1 5-V-to-3.3-V logic-conversion circuit or module (for Arduino Uno)

Terminal-emulation software such as HyperTerminal for Windows

Digi X-CTU software running on a Windows PC, with an open USB port

Introduction

In this experiment you will learn how to transfer information from a microcontroller to a PC by using one XBee module as a transmitter and another as a receiver. You can send as many bytes as you need, and they can include typed information, data from measurements, error and status ...

Get The Hands-on XBEE Lab Manual now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.