Servo control is good, but wireless control is even better. This hack by [PyroElectro Tutorials] shows you how to do this wirelessly using two Xbee modules. There’s also a great example in the video after the break of this “hacking platform” used to control an animatronic head’s eyes. (we’ve featured the eyes here before).
In this control scheme, communication is one way only. An Xbee module is used as the transmitter, and the other as the receiver. The tutorial does a great job of explaining the parts used and gives links for purchasing the components if needed. It even goes over some very basic servo theory and gives schematics as well as assembly pictures. Transmitter and receiver firmware files are also available to download, so there’s nothing keeping you from trying it! Join us after the break to see the working example.
[youtube http://www.youtube.com/watch?v=6YMLF5bDmYo%5D
This head was reminiscent of [Boxie the Creepster], which, although not wireless, had some creepy moving eyes like in this video (in addition to a weird flapping top).
Doesn’t the XBee module have some PWM outputs that are directly addressable? http://www.digi.com/support/kbase/kbaseresultdetl.jsp?id=2202
Not sure if you can set the timebase, but I can’t see why you wouldn’t be able to.
i need code
Can this be used with a motion sensor? I would like to trigger the servo to close a door when the motion sensor picks up movement. I would even be open to using a laser pointer trip wire.
how to program the zigbees? is there any software for it??
xbee will be configured with a software called XCTU then you will connect with arduino an program the arduino to use every thing you like to do wirlessly.