As fun as light graffiti is, it doesn’t necessarily translate to something you can show people in real life. Fortunately, after a conversation with Susan at the Greenville Makers Group, an idea was hatched to use a “Glow Crazy” toy’s surface to show what I was drawing for longer than, say, a wall would. Check out the video below to see what I mean:
I designed the “servo light graffiti device a while ago, and Most of the details on this build can be found here, as well as some later changes that made the pixels into “X”s. Nothing has really changed for the show besides a neat background, and a bin to keep some of the light away.
Unfortunately, it was still pretty bright where my table was located, so only a few “pixels” could be seen at a time. The video in this post isRead more »
Drawing a circle with lasers, as seen here, was an interesting project, and really stretched my ability trigonometry-wise (read on for more details). What would be even better, however, would be to take an image (gif, jpg, or otherwise) and convert it into a light graffiti automatically. This is my latest experiment with servos, lasers, and the Python programming language using a pyMCU.* Check out the results in this video:
One should note that the example images are not from the laser moving around in the video, since the same camera is used for the video and long-exposure light graffiti shots. The physical setup for this fixture is explained in the “servo circle” light graffiti post, and if you want to know how light-graffiti works in general, here’s my intro. Basically, one opens up the camera’s shutter, records all light coming in, and merges it into an image as if it happened at one time. Because of this, a servo putting little light dots on a screen can appear to be a coherent image as if it was all there at one time.
servo-powered light graffiti
Here is the Python code that I used to program my pyMCU* for this project. The math is a bit less complicated than the circle code, as I just incremented the “mb.PulseOut”* command for the pyMCU by one for each pixel. The code is based on my previous pixel-machining experiment, and works in a very similar manner.
Moving the servos, and laser timing issues:
One thing that was different with this program is that the pixel-machining routine generated Gcode for a CNC router, so the machine takes care of actually getting the router to where it’s supposed to go. In contrast,Read more »
What do you get when you cross the glowing LED box with a RC helicopter and the pyMCU microcontroller? A Python controlled glowing head of course!
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,Read more »
What if you have an Arduino Uno, or pyMCU and would like to use a breadboard with it? There are some solutions out there that allow you to build an Arduino on a breadboard. What If you just want an area to prototype something on your existing board that doesn’t look like a rat’s nest?
Or at least a fairly neat rat’s nest. This backwards breadboard mount fit really well in the “Python Head” robot I’ve been working on (more in a later post). All you need for this simple hack is the following:
After an idea for another crazy device, I decided that being able to control servos with the pyMCU, a real-world Python language interface, would be a good skill to have. Fortunately, I had a few miniature servos on a helicopter frame left over from “Boxie the Creepster,” and decided to hook them up.
The pyMCU site has a goodtutorial about hooking up a servo to this board. This was a great introduction, and I had one servo tested in no time. One difference between what I did and the tutorial, is that I didn’t hook up an external power supply. This didn’t appear to be a problem, as there was very little load on the servos. Depending on your servos (mine included) the wire color may be different than the tutorial.
After using only one servo got old, I decided to hook up two at once. This was easy as well, and part of the code was duplicated in order to make the second servo work on a separate pin. Servos currently cannot be controlled simultaneously with the pyMCU; instead one is actuated after another as shown in the first part of the video after the “read more” thing.Read more »
Infinite-Garage.com from hot rods to new cars - about what normally goes in your garage when you don't have a lathe and CNC router!
--------------------------------------------------------------
Five Gallon Ideas. How to Reuse 5 gallon buckets for all kinds of crazy stuff.
--------------------------------------------------------------
Do-It-Yourself Gadgets. Other clever hacked gadgets.
--------------------------------------------------------------