NEED HELP IN DESIGNING AN RO CONROLLER

This may help for TDS.

https://forum.arduino.cc/index.php?topic=405906.0