Creating a multimedia elevator ride

[Ben Peoples] works in theatrical electronics. Sounds like fun, and here’s an example of the kind of stuff he does. We’re not sure what event this installation was used for, but if the elevator ride needed something flashy just think of what the party room must have looked like. These HDTV screens on the ceiling of the elevator play different clips when the elevator is moving up or down. The challenge for [Ben] was to find a way to make it work without tapping into the elevator electronics or requiring any button presses.

The first attempt at sensing the elevator’s travel was done with an accelerometer. The problem with this approach is that an accelerometer only senses change in acceleration and this method proved to be fairly error prone. [Ben] switched over to a reflective sensor which performed quite well. Since most of these sensors will only work within about an eighth of an inch he ended up building his own with a LDR and a couple of amber LEDs.

[via Reddit]

Simple proximity sensor

[Dustin Andrews] built this add-on board which works as a proximity sensor. He wanted a standalone sensor for his Arduino projects which would use a single pin as a trigger. This lets him alert the Arduino when an object approaches the sensor without the need for polling or extra code on the Arduino side of things.

As you can see, a single chip on the board takes care of all the work. That’s an ATtiny13, they’re inexpensive and sometimes you can even salvage them from consumer electronics like this color changing light bulb. The microcontroller monitors the phototransistor which is wrapped in electrical tape to isolate it from the IR LED emitters on either side. This setup creates a reflective sensor. When an object nears the board, the infrared light from the emitters reflects off of it and onto the phototransistor. And since the Arduino works as an AVR programmer you don’t need special hardware to program the device.

Hexbug code rewrite makes it a walking line-follower

You know you’ve got a good hardware platform if you can easily repurpose it with a code rewrite. And that’s what [Eric] continues to do with these little Hexbugs. This time around he’s bent the IR emitter and receiver downward to use as a reflectance sensor. This gives it the ability to follow a dark line on a light surface.

He originally patched an MSP430 into the $25 RC toy. The IR pair was intended for obstacle avoidance, which we saw in a recent links post. This hack does a great job of repurposing the avoidance system. Since the add-on hardware is mounted on a motorized turret, the single sensor pair can sweep back and forth to find the line it will follow. In one way this is better than most line followers which use multiple sensors mounted to the body. But the drawback is that this results in slower travel and won’t be winning any contests. Don’t miss the demo clip after the break.

[Read more…]