Another illustration how to wire and build a simple water level, rainfall, leakage & water overflow detection. As you can see the first diagram below its uses a water sensor module which can be plug easily or build your own water sensor. The water sensor detects water by having a series of exposed traces connected to ground and interlaced between the grounded trace. The sensor trace has a week pull-up resistor of 1M ohms. The resistor will pull the sensor trace value of HIGH until a drop of water shorts the sensor to the grounded trace with the digital IO pins of the Microcontroller you can detect the amount of water induced contact between the grounded and sensor trace.
Required Component
- Arduino UNO, MEGA, NANO, PRO, DEU, LEO Microcontroller, ESP8266 ( Arduino IDE Integrated )
- Water Sensor Module
- Jumper Wire / DuPont Wires
- Solderless Breadboard
Wiring Diagram for Water Detection
Sketch Code
[crayon-66d3f5e3054c1862898874/]
Wiring Diagram for Flood, Water Level Indicator
Sketch Code
[crayon-66d3f5e3054ca632866845/]
Wiring Water Level, Rainfall, Leakage, Flood Meter Sensor with Arduino Microcontroller