Water Level sensors can be used in two ways: to measure water level and to detect rain. The sensor used in this video is analog, it has three pins (VCC, GND, and SIGNAL). It uses the resistance of parallel stripes to determine if there is water. If completely dry, the resistance of stripes will be around 1 MΩ. Water is conductive so when applied to sensor it will change the overall resistance of stripes. When connected to an analog pin of Arduino, the minimum value shown on the SIGNAL pin is 0, which means that the sensor is completely dry. If the sensor is completely covered in water, the SIGNAL pin will show 700, which is a maximum value. Connect it with Arduino (as shown in the schematic).
Let s say we need to know when the water level is low in order to refill it. We added one LED which will warn us if there is less than 50% water coverage on a sensor. Kathode of LED goes to GND via 220Ω resistor and Anode goes to digital pin 2.
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.