An interface board and some code for using an old HDD motor as a rotary encoder.