Experiment 12

How to Use API Packets to Control Remote I/O Lines

Requirements

2 XBee modules

1 XBee adapter

1 Solderless breadboard

2 LEDs

2 220-ohms resistors, 1/4 watt, 10% (red-red-brown)

1 USB-to-XBee adapter

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

Introduction

In this experiment you will learn how to use AT commands in application programming interface (API) packets to control the output lines on a remote XBee module. If you have not performed Experiments 10 and 11 I recommend you do so before you proceed with this experiment.

In Experiments 10 and 11 you used the API packets and AT commands to read values from and write values to both a local and a remote XBee module. The local module (RCVR) connected to ...

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.