This “Python Head Man” is capable of looking up and down in two directions, and lighting up “eyes” and a “mouth.” This is possibly better explained in the video below. The ‘bot uses the two servos originally meant to adjust the rc helicopter blades that this frame had on it. I originally wrote about controlling these servos here, but this setup also has two sets of LEDS that can be independently switched on and off. Control of the ‘bot is also enhanced with a simple GUI using the Tkinter Python library. Diffusion of these LEDs is done with a foam cube, similar to the “Solar LED cube” that I made a few months ago.
If you would like to try something like this yourself, you’ll need the following:
- A pyMCU board from pymcu.com
- A small breadboard - available from Amazon or from pyMCU
- LED lights – awesome multi-pack I’ve been using from Amazon
- Diffuse styrofoam cube – hobby store or possibly dollar store
- Jumper wires
- An old RC Helicopter chassis and servo OR you could get a servo pan-tilt setup from Servocity.com and adapt that.
- Python source code – available here (or just make something up)
- Glue and something to hollow out the cube.
The pictures below should give you some ideas of how it’s set up:
Note how I glued some cross-pieces on to the swash plate assembly to make a comparatively sturdy mount for the diffuse foam. Rubber bands then held the head on. The pyMCU and breadboard were attached using a glue and a small piece of plastic as described in this previous post. Pretty silly hack really, but it was fun.
Originally, I had thought about using this to respond to Twitter commands like Chris Allick’s “blink for tacos” build. I still may, and he was quite helpful when I was working on it. Unfortunately, I seem to have the Maker’s version of ADD, since there’s always another project I want to work on… I do have other robots that I’ve made though, so be sure to check out the “Robotics” category for more robot-induced fun!