A MOX gas sensors resistance-to-digital CMOS interface with 8-bits resolution and 128dB dynamic range for low-power consumer applications