In this project, we will use a water drop sensor to detect water droplets. When water drops onto the surface of the sensor pad, the sensor DO pin will export low voltage, otherwise it will export high voltage. We will use an Arduino to listen for the DO pin voltage and thereby detect the amount of water in the proximity of your sensor.
2) Circuit Parts:
Arduino UNO R3 board x 1；
Arduino USB cable x 1；
LED x 1;
Water drop sensor x 1;
3) Circuit Graph:
4) Download sample code and load it onto your Arduino.
When no water drops onto sensor pad, LED turns off. Click the button at the upper right hand corner to open Arduino’s serial window, you will see “No water” in the screen as shown in the following graph:
When the water sensor detects water, the LED turns on, and serial window will show “Water” and a value corresponding to how much water is near the sensor. The lower this value, the higher the level of surrounding water.
DownLoad Url osoyoo.com