Displacement transducers and RPM sensors