Bicycle speedometer

Buy a hall effect sensor that can be used with high speed dc motors. And implement it to your application. Do not use analog sensor if you can use digital, it would be much faster.