SALES INQUIRIES: 1 (888) 767-9864

How to Make an Arduino Water Detection Alarm

This lesson will explain how to make a simple water detection alarm using an Arduino.

Breadboard Layout:
Combined_Speaker_WaterDetector_bb_OPHere is the code that is used in the video when making the alarm portion:

 

8 Comments

  1. Avatar James Seiwert on June 12, 2015 at 4:50 pm

    If it tells you when there is water, it should also let you know when there is no water by reversing the button code. Is this statment correct?

  2. Avatar Greg Webster on March 7, 2016 at 11:58 pm

    This is really bad. This circuit can’t overcome the resistance of water. I suspect you didn’t try this.

    • Avatar tweeksdisqus on November 12, 2017 at 10:06 am

      It depends..

      Condensed water (from an AC unit for example) will not conduct immediately.. however it’s also a solvent and will partially break down any metals it comes in contact with and eventually conduct. One “solution” (pardon the pun) would be to put some salt between your leads. This would make the puddle conductive.. and after drying out would stop conducting.. and the next water puddle (if not fully washed away) would conduct again. You might need to occasionally replenish this consumable.

      For me.. I’m measuring well water and ground water leaking in from the ground.. so mine would be hard already, and so conductive.

  3. Avatar Aditi Jain on March 15, 2017 at 12:00 pm

    Why is the 10k ohm resistor used?

    • Avatar Jayden Lawson on April 19, 2017 at 5:49 pm

      On the YouTube video, this question was asked, and the answer was “Because the current would be so high and will probably burn the speaker but when a resistor is added the current decrease”

  4. Avatar Michael Faux on April 20, 2017 at 4:47 pm

    My dad used to have a water detector that was kind of expensive, but one time use, making me think there was some material that dissolved, triggering a loss of material alarm. Or a conductive material that melts or dissolves in water.

  5. Avatar tweeksdisqus on November 12, 2017 at 10:09 am

    You’ll also want to define pin2 as in INPUT.

Leave a Comment