Hi, I am a novice with this sort of thing. I bought an STK500 about a week ago and have managed to work out some basic stuff so far.
I am working on a controller which needs to detect when a water level gets to a certain point. I was thinking of making a sensor with 2 stainless steel probes in it and check for electrical conductivity between the probes to know when it is wet or dry. I am not sure of the best way to check if the sensor is wet or dry. I am going to use a Tiny13 and there is going to be about 2m of wire between the Tiny13 and the sensor. I was thinking I could put VCC to one probe, the connect the other probe to an ADC pin on the Tiny13 and use ADC to see if any current flows. Would this work? Or would there be some other circuit I could use at the sensor that will allow me to just check whether the input pin is high or low?
Any advice will be appreciated.