[Joel] dug up this hack that he pulled off over ten years ago. It’s inspired by the Nintendo PowerGlove, and uses flex sensors to react to movements of your fingers. The interesting thing is, he built these optical flex sensors himself.
He likes to say that this is a ghetto fiber-optic setup. The inlaid diagram above gives you an idea of how the sensors work. An IR LED and infrared diode are positioned at either end of a piece of clear aquarium tubing. When the tube is flexed, the amount of light that makes it to the diode is diminished, a change that can be measured by a microcontroller. [Joel] found that he could increase the resolution of the sensor by adding something to the center of the tube, blocking the light when not straight. In this case he used pieces of scrap wire. The outside of the sensor was also wrapped in shrink tubing to keep ambient light from interfering with measurements.
He uses a trimpot to tune the sensors but we wonder how hard it would be to add a calibration algorithm to the firmware?