A sensor using capacitive coupling and step response to measure rotation