Adventures in Science: How to Use Rotary Encoders