Use biased zener connected to ADC and sample the input