Difference between revisions of "XBee radios"

From HeepyWiki
Jump to navigation Jump to search
(Created page with "==XBee XSC 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 ha…")
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
==XBee XSC
+
==XBee XSC==
  
 
This is a higher power 900 MHz ISM band radio. Real life urban (San Francisco) range is 5 or 6 blocks with rubber duckies.  
 
This is a higher power 900 MHz ISM band radio. Real life urban (San Francisco) range is 5 or 6 blocks with rubber duckies.  
Line 24: Line 24:
 
Unfortunately, when in cyclic sleep mode you can ONLY enter
 
Unfortunately, when in cyclic sleep mode you can ONLY enter
 
sleep by idling, as it ignores the sleep pin. :(
 
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:
 +
<pre>
 +
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
 +
</pre>
 +
 +
Master device side:
 +
<pre>
 +
ATCE1 // I'm the "coordinator"
 +
ATID3332
 +
ATMY02
 +
ATDL01
 +
ATSM0 // not in sleep mode.
 +
ATSP190
 +
ATST1770
 +
</pre>

Latest revision as of 07:13, 17 January 2012

XBee XSC

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:

atsm0
atst10
atlh29
atht29

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"
ATID3332
ATMY02
ATDL01
ATSM0		// not in sleep mode.
ATSP190
ATST1770