2 ms·
If your sensor outputs high when it detects water, use a transistor or MOSFET to pull RST low when water is detected, and send a message. I used that trick to
by StavrosK 10y ago
If your sensor outputs high when it detects water, use a transistor or MOSFET to pull RST low when water is detected, and send a message.
I used that trick to make my emergency food button (a button that orders food when you press it):
https://www.stavros.io/posts/emergency-food-button/ https://www.stavros.io/posts/emergency-food-button/
You won't get away with not powering the detector, though, so depending on its power draw it might be moot.
- milge 10y agoNice writeup. Someone gave me a great idea of running an ATTiny to send a wake command to the ESP when water is detected. I'm going to try a few different ways and compare battery usage.