Xbee

From Attie's Wiki
(Difference between revisions)
Jump to: navigation, search
Line 34: Line 34:
 
|}
 
|}
  
<h3>D0-8 - IO</h3>
+
<h3>Dn - IO</h3>
 
{|
 
{|
 
! !! 0-4 !! 5 !! 6 !! 7 !! 8
 
! !! 0-4 !! 5 !! 6 !! 7 !! 8
Line 50: Line 50:
 
|5 || DO high || DO high || DO high || DO high || n/a
 
|5 || DO high || DO high || DO high || DO high || n/a
 
|}
 
|}
 +
 +
<h3>Tn - IO timeout</h3>
 +
default: <font color="#F00">0xFF</font>
 +
range: 0x0 - 0xFF [x 100msec]
 +
for I/O passing only
 +
 +
<h3>SH & SL - source address</h3>
 +
 +
<h3>DH & DL - destination address</h3>
 +
default: <font color="#F00">0x00</font>
 +
range: 0x00 - 0xFFFF FFFF
 +
 +
<h3>DN - destination node</h3>
 +
tries to set DH & DL to the address of the node name specified
 +
 +
<h3>FR - firmware reset</h3>
 +
 +
<h3>IA - I/O address</h3>
 +
this address is permitted to pass its IO pins to this modules IO pins
 +
default: <font color="#F00">0xFFFF FFFF</font>
 +
set to 0xFFFF FFFF to deny all changes
 +
set to 0xFFFF to accept all changes
 +
 +
<h3>IC - I/O detect</h3>
 +
default: <font color="#F00">0xFFFF FFFF</font> (disabled)
 +
bitfield, when the pin changes a sample will be taken and send
 +
 +
<h3>IR - sample rate</h3>
 +
default: <font color="#F00">0x0</font>
 +
range: 0x0 - 0xFFFF [x 1msec]
 +
 +
<h3>IT - samples before TX</h3>
 +
default: <font color="#F00">0x1</font>
 +
range: 0x0 - 0xFF
 +
 +
<h3>IS - force sample</h3>
 +
 +
<h3>IU - I/O UART output enable</h3>
 +
default: <cont color="#F00">0x1</font>
 +
 +
<h3>ND - node discover</h3>
 +
returns a list of nodes and their address
 +
 +
<h3>NI - node identifier</h3>
 +
sets the node's name
 +
 +
<h3>RE - restore defaults</h3>
 +
don't forget to use with WR
 +
 +
<h3>WR - write changes</h3>

Revision as of 19:40, 25 March 2010

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

Contents

See Also

manual
XBee default configurations

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: <cont color="#F00">0x1</font>

ND - node discover

returns a list of nodes and their address

NI - node identifier

sets the node's name

RE - restore defaults

don't forget to use with WR

WR - write changes

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox