Measure angle and angular velocity or measure distance and linear velocity using the rack or the pulley. This sensor is also bi-directional, indicating the direction of motion.
https://www.pasco.com/products/sensors/science-workshop/ci-6538#specs-panel
