They are two kinds of sensors: digital and analog. A digital sensor only detects two possible status: if it is working at 100% or at 0%. An analog sensor measures continuously the variable and detects any proportional value between 100% and 0%. ... Example: A temperature sensor that measures between 0°C and 100°C.