Set parameters for zigbee transceiver in each posey hub

From Code Lab Wiki

Jump to: navigation, search
xbee zigbee tranceiver w/ chip antenna
xbee zigbee tranceiver w/ chip antenna

Each posey hub has an xbee zigbee tranceiver to allow each hub to send data directly back to another xbee chip attached to the host computer with a usb dongle. To allow all of the hubs to communicate directly with the host computer the xbee chips should be flashed with parameters to arrange them in a star network, with the xbee chip attached to the host computer set as a controller with a source address of 1 and all of the xbee chips in the hubs set as end devices with destination addresses of 1.

Contents

[edit] software

usb driver - windows - mac - linux

x-ctu (windows only) - utility to set parameters in flash on xbee chip

[edit] hardware

XBIB-U usb xbee interface board
XBIB-U usb xbee interface board

xbee zigbee tranceiver (with chip antenna)

XBIB-U usb interface board

[edit] settings

all settings other than those listed below should be left at the default value.

[edit] usb dongle - controller

ID (PAN ID) - 666

PAN ID should be same for all xbee chips in one kit

MY (source address) - 1

controller address should be 1

CE (coordinator enable) - 1

controller should have coordinator enable bit set

A2 (coordinator association) - 6 (110b)

bit 0 - 0 - no reassign PAN ID
bit 1 - 1 - reassign channel
bit 2 - 1 - allow associate

[edit] hub - end device

ID (PAN ID) - 666

PAN ID should be same for all xbee chips in one kit

DL (destination address low) - 1

should be set to low address byte of controller

MY (source address) - [unique address > 1]

each end device should have a unique address

A1 (end device association) - 6 (0110b)

bit 0 - 0 - no reassign PAN ID
bit 1 - 1 - reassign channel
bit 2 - 1 - auto associate
bit 3 - 0 - no poll on wake
Personal tools