Xbee Series 1 transmit Button Press

Hi,

I just wanted to confirm if this is possible or not. I want to transmit the press of button (from LOW to HIGH) using my Xbee Series 1 modules.

I have a base module connected to my commuter using a Xbee USB explorer this module communicates to a remote module connected to an Arduino using a SF Xbee Shield. The two modules are communicating nicley and I am able to transmit and receive data via the UART.

In the wired state (arduino hooked up to computer using USB Cable), I have sketch that listens on pin 10 for a change in button state (button is pressed going from LOW to HIGH). The sketch then takes the appropriate action based on the button press.

Now I want to remove the wire. My research shows that Xbee Series I modules are capable of using a Virtual Wire between pins to pass digital data. So my thought is that I wire up my button to the appropriate Digital output pin on the base module and have it listen for a button press. I know I can configure the pin to listen for a state change vs waiting for a number of packets to build up before transmitting. On the remote module, I solder a wire from the appropriate pin (I know base and remote pins must match) to pin 10 on my arduino and everything should work automagically.

Is my logic correct?

Thanks

Kevin

I think this is what you what to do:

http://www.faludi.com/2006/12/03/xbee-d … -with-adc/

yep, got it working and on the first try. Surprised the hell out of me :slight_smile:

Thanks