I would like to use a res pi 0 for a wet experiment in my lab. I need the device to indicate when water seeped out through a water resistant membrane. Basically the method is straight forward, as soon as the water gets out - my experiment is over and I only need the device to register the time (simple enough). However, in order for the device to recognize the end of the experiment, I need to close a circuit with the water and let the device know. What I am missing is how to let the device know that a circuit is closed? Should I have some sort of relay? Can someone help me with this?
Thanks
edit I guess my TL;DR question will be: can I connect an analog sensor to res pi and get an on\off data? edit