Best way for water measurements

Well posted code.
Then...... lots of words not worth the name "documentation" of the project.
Start by following this link: How to get the best out of this forum - Using Arduino / Project Guidance - Arduino Forum