Light Switch XBee Example
The Light Switch XBee is a wireless wall switch that can control lamps, fans, motors or your homemade robot. This project serves as a model for almost any digital input device you’d like to build. You can substitute any number of digital inputs, like a pressure mat, magnetic contacts or even a soft switch made of conductive fabric in its place. If it goes on and off, now your Series 1 802.15.4 XBee can make it wireless!
The full instructions include parts needed, configuration, soldering instructions and assembly. I’ve also added a Simple XBee Receiver so you can test your switch, and an explanation how to modify the more robust Actuator Example from my book to control A/C mains powered appliances with the wireless Light Switch.
Using the example as a guide, you can invent your own switch using any two pieces of metal or conductive material. Maybe you want shoes that turn on your toaster. Or a cat door that plays “The Cat Came Back” each time Fluffy returns from an outing. Even complex sensor ideas can often be boiled down to a simple switch solution. Get started here!