Using an old hard-disk as a rotary encoder (with an Arduino or Raspberry Pi).