design a simple water level sensor, positive on the front and negative on the back
https://www.electrodragon.com