Measure the speed of a spinning shaft using rotary encoders and microcontrollers. Learn how to calculate rotations and achieve accurate motion control.