The rain sensor module is an easy tool for rain detection. It can be used as a switch when raindrop falls through the raining board and also for measuring rainfall intensity. The module features, a rain board and the control board that is separate for more convenience, power indicator LED and an adjustable sensitivity though a potentiometer.
The analog output is used in detection of drops in the amount of rainfall. Connected to 5V power supply, the LED will turn on when induction board has no rain drop, and DO output is high. When dropping a little amount water, DO output is low, the switch indicator will turn on. Brush off the water droplets, and when restored to the initial state, outputs high level.
This module allows you measure moisture via analog output pins and it provides a digital output when a threshold of moisture is exceeded. The module is based on the LM393 op amp. It includes the electronics module and a printed circuit board (control board) that “collects” the rain drops. As rain drops are collected on the circuit board, they create paths of parallel resistance that are measured via the op amp. The lower the resistance (or the more water), the lower the voltage output. Conversely, the less water, the greater the output voltage on the analog pin. A completely dry board for example will cause the module to output five volts.
Rain sensor can also be used as an alternative of water sensor but the sensitivity will be more.
- Operating voltage: 5V
- Provide both digitaland analog output
- Adjustable sensitivity
- Output LEDindicator
- Compatible with Arduino
- Adopts high quality of RF-04 double sided material.
- Area: 5cm x 4cm nickel plate on side
- Anti-oxidation, anti-conductivity, with long use time
- Comparator output signal clean waveform is good, driving ability, over 15mA
- Potentiometer adjust the sensitivity
- Working voltage 5V
- Output format: Digital switching output (0 and 1) and analog voltage output AO
- with bolt holes for easy installation
- Small board PCB size: 3.2cm x 1.4cm
- Uses a wide voltage LM393 comparator
Link to datasheet:
- Always take sensor from sides only.
- Read the specifications before using any sensor.
- Don’t laid the sensor to be freezed.
- Don’t apply voltage on wrong pins.
It must be stored in thermocol or in a box with care, so that static energy does not damage the components of sensor.
- It helps in saving money by switching off the irrigation system when it rains. This saves money by cutting off bills on electricity consumption.
- Operating principle is very easy.
- Rain sensors help save water during rain events and hence water is available during summer and emergency applications such as firefighting etc.
- Installation of rain sensor based systems are very much simple.
- Individual rain sensor costs very less.
- The rain sensor based system functions when water falls on the sensor directly.
- The cost of overall system increases as additional components are needed along with rain sensor.
- In order to avoid false detection of rain, it requires rain sensors to take decision after few minutes.
Interfacing with Arduino:
int Sensor = 2;
int Led = 13;
int temp = digitalRead(Sensor);
if (temp == LOW)
- Irrigation System
- Automotive System
Q1. How long does it take for the rain sensor to dry out?
Ans. Dry out time could be as little as 4 hours, depending upon weather conditions (temperature and humidity) and how the vent ring is set. If the weather remains cold and damp, your sensor could be active for months.
Q2. Can I save money by installing my own system?
Ans. No. In fact in many cases, you’ll spend more. It is primarily focused on the irrigation system.