A simple inductive sensor that produces a pulse train suitable for direct input to the internal counter/timer peripherals of typical MCUs.