XBee radios

From HeepyWiki
Revision as of 07:13, 17 January 2012 by Morris (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


This is a higher power 900 MHz ISM band radio. Real life urban (San Francisco) range is 5 or 6 blocks with rubber duckies.

For the cyclic sleep thing to work you have to set up the other node as well:


In fact you don't really need the lh and ht settings on the remote node, just the SM6 setting, because its peer will never be asleep, and thus never needs a long initializer sent at all.

the barrier to getting really low energy use is that you apparently can't set the ST parameter (how long to stay awake for before dropping into sleep mode) to less than 0x10 times 100ms, which is 1.6 seconds during which it draws 48mA!

Unfortunately, when in cyclic sleep mode you can ONLY enter sleep by idling, as it ignores the sleep pin. :(

Xbee XB24

2.4GHz band, lower power radios. God these things are annoying.

Remote device side:

ATID3332	// PAN id, the default
ATMY01		// my source address
ATDL02		// my destination address
ATSM4		// cyclic sleep mode
ATSP190		// 4 second sleep cycle
ATST1770	// stay awake for 6 sec once awake

Master device side:

ATCE1		// I'm the "coordinator"
ATSM0		// not in sleep mode.