General

TDS METER

userHead Account cancelled 2019-11-21 19:50:36 6631 Views1 Replies
Hi!

Reviewing the code you propose for tds measurements seems strange to me the way it compensates and measures:

You propose this:
Code: Select all
float compensationVolatge = average Voltage / compensation Coefficient; // temperature compensation
tdsValue = (133.42 * compensationVolatge * compensationVolatge * compensationVolatge - 255.86 * compensationVolatge * compensationVolatge + 857.39 * compensationVolatge) * 0.5; // convert the voltage value to the tds 
But:
1) It is compensating the temperature from a voltage value. WHY?
2) Could you explain a little better why you are using that voltage conversion to tds?

Thank you very much!

Best regards.