Hey guys, I have developed a circuit that measures the conductivity of a liquid with two probes. As you might know, condcutivity is highly dependant on temperature. For this reason, my reading vary greatly under varying temperature conditions. The sensor outputs a reading from 0 to 5V. 5V meaning open circuit and 0 meaning short circuit. How can I integrate a temperature compensator to this project?
My problem is, a liquid at 25Celsius may give 2.5V of reading, however, a different type of liquid at 30Celsius may also give 2.5V of reading.
My main goal is to find a balanced temperature(the nominal operating temperature of the system), and apply compensation at any other temperature.
P.S: I am measuring the temperature with an NTC.
My code is as simple as an AnalogRead function, so didn't need to post it.