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.

Glove-based touch screen from a CRT monitor

Here’s a bulky old CRT monitor used as a touch-screen without any alterations. It doesn’t use an overlay, but instead detects position using phototransistors in the fingertips of a glove.

Most LCD-based touch screens use some type overlay, like these resistive sensors. But cathode-ray-tube monitors function in a fundamentally different way from LCD screens, using an electron gun and ring of magnets to direct a beam across the screen. The inside of the screen is coated with phosphors which glow when excited by electrons. This project harness that property, using a photo transistor in both the pointer and middle finger of the glove. An FPGA drives the monitor and reads from the sensors. It can extrapolate the position of the phototransistors on the display based on the passing electron beam, and use that as cursor data.

Check out the video after the break to see this in action. It’s fairy accurate, but we’re sure the system can be tightened up a bit from this first prototype. There developers also mention that the system has a bit of trouble with darker shades.

[Read more…]

Dual-monitor work stations aims to keep you on the treadmill longer

In an effort keep his workout schedule on track [Jamie] built himself this dual-screen treadmill work station. He picked up the treadmill for about $50 on eBay, and after some follies with its shoddy construction, ended up with a pretty nice setup.

The first rendition of this project was just a wooden shelf to hold a laptop. But after the treadmill fell apart, sending his laptop tumbling, he reinforced the machine and added a bunch of stuff in the process. There’s now some custom electronics used to track his progress. He painted a white square on the black belt that makes up the running surface. That is monitored by a PIC microcontroller via a phototransistor and op-amp. He uses a USB data acquisition card to feed the belt-revolution count to the computer for use in tracking his workouts.

The presence of a computer in his setup would make Internet logging a snap too. The exercise bike we looked at on Saturday used a direct Ethernet connection for its logging, but [Jamie’s] setup could be used in the same way. He just needs a script to bridge the collected data with an Internet logging site’s API.