Switching From Analog to Digital Sensor