Everyone has at least one extra mouse laying around; why not get some use out of it? Disassembling the mouse you can get two optical encoders plus four infrared emitter/detector pairs. Then you can ...
Rotary and linear optical encoders are common in position and motion sensing. Here, a disc or plate containing opaque and transparent segments passes between an LED and detector to interrupt a light ...