A position sensor is an electrical and/or mechanical device which converts physical quantities into measurable values of that magnitude, such as displacement or change of position. Important variables to consider in a sensor are range, precision, repetitiveness and resolution, among others.