Forum >Analog TDS Meter
Analog TDS Meter

Could someone explain this line from the Analog TDS Meter example code?
https://www.dfrobot.com/wiki/index.php/ ... U:_SEN0244
Code: Select all
Is there a formula it's based on? What are the numeric values? tdsValue=(133.42*compensationVolatge*compensationVolatge*compensationVolatge - 255.86*compensationVolatge*compensationVolatge + 857.39*compensationVolatge)*0.5; //convert voltage value to tds value
https://www.dfrobot.com/wiki/index.php/ ... U:_SEN0244
2018-05-30 21:46:45 This formula is got from experiment, by measuring several examples and get the voltage and TDS value, you can match a equation between voltage and TDS value.
robert.chen
