Battery-Powered Resistive Water Leak Detector with Remote Notifications
A battery-powered prototype for detecting water leaks using resistive sensing with remote notification capabilities.
Beginner Project
— The project uses a standard dev board and a simple analog sensor with widely available libraries for WiFi notifications.
Assumptions:
- The user needs a battery-operated device for placement under sinks or appliances.
- Remote notification (WiFi or LoRa) is required for a practical leak detector.
- A simple resistive or capacitive probe will be used for detection.
Bill of Materials
Compatibility Notes
- The ESP32 operates at 3.3V logic; ensure the leak sensor is powered from the 3.3V rail to protect ADC pins.
- The MCP1700 LDO has a maximum input voltage of 6V; it is compatible with 3xAA batteries or a single LiPo, but not a 9V battery.
You'll Also Need
- 3xAA Battery Holder or LiPo Battery
- Hookup wire for the probe (recommend 22 AWG stranded)
- Breadboard or Perforated Board for assembly
- 10k Ohm pull-up/down resistors for the sensor circuit
- Enclosure to protect the electronics from the leak it is detecting
Estimated BOM Cost: $25-30 (based on live distributor pricing)
Design Considerations
Power Budget Analysis
A leak detector should last 1-2 years on 3xAA batteries. Use the ESP32 deep sleep mode with an external interrupt or RTC timer to wake every hour for a 'heartbeat' check, keeping average current draw below 50uA.
Probe Corrosion
Resistive probes suffer from electrolysis if DC current is applied constantly. Only power the sensor pin immediately before taking a reading and use a GPIO to turn off the sensor power entirely during sleep periods.
False Positive Mitigation
High humidity can trigger sensitive resistive sensors. Implement a software threshold in the ADC readings and require multiple consecutive readings above the threshold before triggering an alarm to filter out transient noise or condensation.
Communication Reliability
Leak detectors are often placed in RF-dead zones like under metal sinks. Implement a 'heartbeat' signal once per day; if the server doesn't receive the heartbeat, it should alert the user that the sensor is offline.
Environmental Protection
The electronics must be housed in a water-resistant enclosure (IP65 rated) while the probe remains exposed. Use a cable gland for the sensor wire to prevent moisture from wicking into the main housing and damaging the MCU.
Want to customize this project or build something different?
Try the Project Advisor


