I am following this with interest. I've been working on a rotary sensor and calibration is also a challenge.