Xbee

From Attie's Wiki
Jump to: navigation, search

This page has random bits and bobs about the XBee...

Contents

See Also

XBee manual
XBee default configurations

Antenna Gain

Chip antenna has a gain of about -1.5dBi
Integrated whip has a gain of about 1.5dBi

Useful AT Commands

BD - baud rate

bps
0 1200
1 2400
2 4800
3 9600
4 19200
5 38400
6 57600
7 115200

CH - channel

default: 0x0C

XBee 0x0B - 0x1A
XBee Pro 0x0C - 0x17

Dn - IO

0-4 5 6 7 8
0 disabled disabled disabled disabled disabled
1 n/a Associated RTS CTS n/a
2 ADC ADC n/a n/a n/a
3 DI DI DI DI DI
4 DO low DO low DO low DO low n/a
5 DO high DO high DO high DO high n/a

Tn - IO timeout

default: 0xFF
range: 0x0 - 0xFF [x 100msec]
for I/O passing only

SH & SL - source address

DH & DL - destination address

default: 0x00
range: 0x00 - 0xFFFF FFFF

DN - destination node

tries to set DH & DL to the address of the node name specified

FR - firmware reset

IA - I/O address

this address is permitted to pass its IO pins to this modules IO pins
default: 0xFFFF FFFF
set to 0xFFFF FFFF to deny all changes
set to 0xFFFF to accept all changes

IC - I/O detect

default: 0xFFFF FFFF (disabled)
bitfield, when the pin changes a sample will be taken and send

IR - sample rate

default: 0x0
range: 0x0 - 0xFFFF [x 1msec]

IT - samples before TX

default: 0x1
range: 0x0 - 0xFF

IS - force sample

IU - I/O UART output enable

default: 0x1

ND - node discover

returns a list of nodes and their address

NI - node identifier

sets the node's name

AP - api mode

0x00 - off
0x01 - api mode 1
0x02 - api mode 2 (used for libxbee)

RE - restore defaults

don't forget to use with WR

WR - write changes

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox