Rain Detection System Using Arduino
RAIN SENSOR is a switching device activated by rainfall, there are two main applications for rain
sensors ,one is for the automatic irrigation system and another is for the automatic mode of
windscreen wipers.
Members Affiliations
NAQI UL HASNAIN DEPARTMENT OF PHYSICS
NOMAN ARSHAD GOVERNMENT COLLEGE UNIVERSITY FAISALABAD
MARYAM SAIF
KAINAT FATIMA
Introduction Objective Results
This rain sensor project is an innovative To protect our household items and other The implemented system detects the rain
automation system designed using Arduino useful devices from getting wet by rain. and measure the resistance. This Short-
to detect rainfall and operate a motorized range rain sensor system is a low cost, a
shelter. When the rain sensor senses water, simple device for detection of rainfall.
it sends a signal to the Arduino, which then
Hence, the device calculates the
activates a DC motor via an L298N motor
driver. This motor opens a metal shelter to
Methodology resistance with suitable accuracy and the
data is converted from analog values to
provide protection against rain. Once the
sensor detects a dry condition, the system digital values.
The rain sensor detects water and sends a
automatically reverses the motor direction to signal to the Arduino. The Arduino processes
close the shelter. The project is highly useful this input and controls a DC motor through an
for smart homes, greenhouses, and outdoor L298N motor driver. When rain is detected,
electronics, providing an efficient, hands-free the motor opens the shelter. Once the rain
solution for weather-responsive protection stops, the system automatically closes the
and enhancing convenience and safety.. shelter, completing the process.
Analysis
We performed the project using following components;
Arduino Uno (microcontroller)
Rain Sensor Module
L298N Motor Driver
DC Gear Motor
Metal Shelter Mechanism
Power Supply
When rain is detected, the Arduino receives the input
signal from the sensor and sends a command to activate a
DC motor (controlled via an L298N motor driver module).
The motor is mechanically linked to a metal shelter
mounted on an axle, which rolls open when rain starts.
Once the rain stops, the rain sensor output becomes dry
again, and the Arduino sends another signal to reverse the
motor direction, allowing the shelter to automatically
close.
Conclusion Related literature
[1]. Gutiérrez-Gómez, A.; Rangel, V.; Edwards, R.M.; Davis, J.G.;
Aquino, R.; López-De la Cruz, J.; Mendoza Cano, O.; Lopez-Guerrero,
We concluded that the rain sensor is a very M.; Geng, Y. A Propagation Study of LoRa P2P Links for IoT
beneficial device to detect rain drops.It is Applications:
low cost device and protests our household The Case of Near-Surface Measurements over Semitropical Rivers.
Sensors 2021, 21, 6872.
items from getting warn out and also
https://doi.org/10.3390/s21206872
protects the metal items from rusting or
corrosion. It must be a part of buildings and
houses which are sensitive to water . [2]. Yakovleva, Valentina, Grigorii Yakovlev, Roman Parovik, Aleksey
Zelinskiy, and Aleksey Kobzev. 2021.
"Rainfall Intensity and Quantity Estimation Method Based on Gamma-
Dose Rate Monitoring" Sensors 21,
no. 19: 6411. https://doi.org/10.3390/s21196411