Input device using LED and four photoresistors
posted Sep 22nd 2010 11:29am by Mike Szczysfiled 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: led, mouse, photoresistor, usb, Teensy, CdS
Go there See Video...
http://hackaday.com/2010/09/22/input-device-using-led-and-four-photoresistors/
Don
No comments:
Post a Comment