Here is a motor speed sensor module, the major goal is to check the rate of an electric motor. The module can be used in association with a microcontroller for motor speed detection, pulse count, ...
I have a Dodge that I suspect the VSS is going bad on. The speedometer jumps around sometimes, and is frequently off by 10mph or more. I called Dodge and they suggested replacing the VSS as a start.