In this video we show you how we control two different types of relays, wirelessly, using Xbees (m4v & iTunes). If you’re on the wireless fence and want to jump over to the Xbee side, we have adapter kits, modules and more…
Parts used (all from digikey, but available elsewhere as well): Standard relay, latching relay, 1N4001 (standard), PN2222 (or any NPN transistor), hex inverter 74HC04 (any inverter or buffer will do, suggest HC family)
Parts used from adafruit: 2 XBee series 1, 2 XBee adapters.
To configure, see “Configuring radios to pass Digital I/O”
The receiver schematic is here but note that its pretty ‘basic’ in that you’ll probably want to tweak it for your design anyways.
The transmitter is just an XBee adapter with two buttons on DIO1 and DIO2 to ground (it has internal pullups by default)