Is there a way of simultaneously using different reference voltages for senors with different output ranges with an Arduino Mega2560?

Hello everyone,

I would like to measure different outputs of two absolute pressure sensors, one differential pressure sensor and a massflow sensor using an Arduino Mega2560 REV3. The massflow sensor output is from 1-5V. As the output of the absolute pressure sensors is a current, I can adjust the range using a resistor. But the differential pressure sensor's output is between 0mV and 35mV. In order to have a precise measurement I would need a reference voltage of 1V for the differential pressure sensor but for the massflow sensor I would need a reference voltage of 5V. I know that the reference voltage can be changed using analogReference() but is there a way of using two different reference voltages for two different analog inputs?

Thank you!

have you tried switching the analogReference()before calling analogRead() ?

that should work yes but this always needs some time until the reference voltage is stable. That's why it would be nice to find some other way.

amplify the low signal to match the other range ?

I'm not sure what you mean?

you said

I was suggesting to add external hardware to boost this voltage x100 for example (like an LM358)

I see. That's a good idea :slight_smile:

this is were we should be asking for links to parts and data sheets.

what may be needed is an isolated circuit to pass the information.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.