Back to photostream

Xbee to Xbee using Direct IO ( DIO )

I spent some hours trying to make two xbee wireless modules

communicate. These will be part of our new flaming doorbell. The

trouble was with my transistor setup for the relay. The modules were

communicating, but the logic was backwards and each time I hit a

button the relay would turn off. I need the opposite behavior

otherwise their would be a 20' flame at all time at our place. I

finally gave up on trying to convince the xbee modules to behave

rationally and just switched to a PNP transistor for the relay.

 

The configuration for both xbee modules is straight forward (thanks

ladyada for documenting this):

 

Remote - TX setup (attached to doorbell input button)

- D0 - DIO Configuration - (3 - DI) [data in]

- IC - Dio Change Detect - (FF)

- Set sample rate to 0 (unless you want synchronous updates)

 

Base - RX setup

- DO - DIO Configuration - (4 DO) [data out low]

- Under I/O Line Passing set "Input Addresses" to 0xFFFF (allow any

radios)

- Set IU - I/O Output enable to Disabled

3,141 views
3 faves
1 comment
Uploaded on February 9, 2011