Single wire wheel encoders

See this and use an Arduino.