How To Configure A Pin As An Output; How To Send Actuations - Digi XBee Zigbee Mesh Kit User Manual

Radio frequency (rf) module
Table of Contents

Advertisement

Inputs and outputs
from a central location and create real events in multiple physical locations.
An XBee module is capable of receiving commands that set its digital and analog output pins to trigger
real-world events without the use of an external microcontroller. By itself, an XBee device can power
an LED, sound a small buzzer, or even operate a tiny motor. If you use a relay, you can operate many
more devices directly from the XBee module.

How to configure a pin as an output

Configure a pin for digital output
If you want to control a digital device, for example to switch a street lamp on or off, connect the
device to a pin that supports digital output. XBee Zigbee modules have 15 digital outputs (from D0 to
D9 and P0 to P4). In addition, configure that pin as Digital Output Low (Digital Out, Low [4]) or Digital
Output High (Digital Out, High [5]), depending on the desired default state.

How to send actuations

Once you configure the pin of a remote device, you can send any actuation to that XBee module. You
can use XCTU or the XBee Java Library.
To send an actuation in XCTU, create a Remote AT Command frame in the API console, configuring the
following parameters:
64-bit destination address: the remote module's MAC address.
n
AT command (ASCII): the AT command corresponding to the IO line you want to change (D0-D9
n
or P0-P4). For example, if you want to send an actuation to DIO3, type D3.
Parameter value (HEX): the new value for the selected IO line is 04 for off, 05 for on.
n
XBee® Zigbee® Mesh Kit
How XBee modules control devices
120

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the XBee Zigbee Mesh Kit and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents