Optical-Encoder-Ring
Here’s a how to on making an optical encoder that can be used for an autonomous robot – Piotr writes – “An optical encoder measures how far something has moved, optically. It does this by looking at a pattern of alternating black-and-white, and counting number of transitions…” Link.