Electronic – measure a differential voltage signal using two arduino analog pins

differentialsensor

I have a SO2 sensor (CiTiceL 3MS/F) which has differential voltage output. I'd like to read this using the Arduino MEGA 2650. If I use a separate battery for the sensor and the arduino, can I connect the high output to one analog pin, the low output to a second pin, and subtract the voltages?

Best Answer

Setting MUX[5:0] to an appropriate value will allow you to perform a differential ADC on the ATmega2560 with various levels of gain. See the ATmega2560 datasheet, §26.8.2, "ADCSRB – ADC Control and Status Register B" for details.