Is there a way to have an interrupt on an analog signal (using MKR GSM 1400)?
I'm creating a remote sensor project that would detect the presence of water and ping a server.
My actual sensor is essentially two metal contacts hooked to 3.3v and ground. When I submerge the sensor in water, the voltage increases, but only slightly. I'd like to have an interrupt based on some threshold I set. Is this possible?
I've also floated the idea of going into a deep sleep and using the timer interrupt to make periodic readings.