Water waste is a big problem, a 1 trillion gallon problem. One way we can combat this is to monitor leaky facuets and also conserve on the daily water use. To accomplish this task, we can use some Seeed sensors and a Arduino that will obnoxiously alarm us when we are wasting water.
Connect the Seeed Sound, Buzzer, and LCD RGB Backlight as shown:
Your final result should look like the following.
The Arduino Sketch is provided below. Note that
int thresholdValue = 450;
determines what loudness to activate the sensor and
const unsigned long waterUseAllowedDuration = 3000;
determines how many ms to wait before starting the alarm. Flash the Arduino sketch and setup your monitor near your sink. Be careful not to actually get the components wet since that will damage them. The demo shows the project in action.