A rain sensor is composed of a rain detection plate with a comparator who manages intelligence.
The rain sensor detects water that comes short circuiting the tape of the printed circuits.
The sensor acts as a variable resistance that will change status : the resistance increases when the sensor is wet and the resistance is lower when the sensor is dry.
The comparator has 2 outputs connected to the rain sensor, a digital output ( 0/1 ) and an analog output ( 0 to 1023 ).
Sensor characteristics- Voltage : 3, 3v-5v
- Sensor Dimension : 3.9 x 5.4 cm
- Sensitivity potentiometer
- 2 control leds
Arduino --> Comparator
5V --> VCC
GND --> GND
DO --> D4
AO --> A0
For the other two connections...
You can also adjust the sensitivity by turning the potentiometer present on the comparator. So the detection can be realize on a drop or in a glass of water.
Comments