- get a dead harddisk, preferrably an older one
- take out the flat spindle motor which spins the HD platters
- connect wires to two different motor output leads (any)
- build this circuit:
cheap harddrive into rotary encoder... best drives to do this too are old school FULL HEIGHT harddrives cause the motors and spindles are HUGE.
Inexpensive rotary encoder