The sensing mechanism in an incremental optical rotary encoder consists primarily of a light source, code wheel, and optical detector. As the code wheel turns, a ring of alternating opaque and ...