Where to start? Dynonameter Build!

A Hall Effects sensor could do the job, or some form of optical pickup and a marking on the flywheel.

A schmidt trigger is a totally unrelated concept that has nothing to do with what you seem to be working on. It's a type of digital input circuit that adds some hysteresis. Basically it puts the "on" threshold higher and the "off" threshold lower so that there's no sharp line where the input can become unpredicitable.