Search My Blog

Wednesday, September 22, 2010

Input device using LED and four photoresistors - Hack a Day

Input device using LED and four photoresistors

posted Sep 22nd 2010 11:29am by Mike Szczys
filed under: peripherals hacks

[Julien] built an input device that uses reflected light detected by some photoresistors. Placing your hand above the device will reflect light from the LED back down onto the cadmium-sulfide sensors. The resistance of those sensors is read by four ADC pins on a Teensy microcontroller and translated to mouse movements. In the video after the break you can see that this works rather well in controlling the cursor. The source code is available on pastebin but we’re also going to host the code for prosperity.

[Thanks Patrick]

tagged: , , , , ,

Go there See Video...
http://hackaday.com/2010/09/22/input-device-using-led-and-four-photoresistors/

Don

No comments: