0% found this document useful (0 votes)
42 views6 pages

Rain Sensor Circuit

Uploaded by

ps4583007
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
42 views6 pages

Rain Sensor Circuit

Uploaded by

ps4583007
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 6

RAIN SENOR PROJECT

USING HW-028 RAIN


SENSOR AND ARDINO

SUBMITTED TO: SUBMITTED BY:


DR. RITU BOORA MANSI(220151520011)
ASSISTANT PROFESSOR PALAK(220151520020)
DEPT. EEE B.TECH. ECE, 2nd YR

GJUS&T, Hisar
Department of Electrical and Electronics Engineering
March, 2024
RAIN SENSOR CIRCUIT
Aim: To design a rain sensor circuit using Arduino nano.

Components Required:
1. Arduino Nano
2. Rain Sensor
3. LED
4. Buzzer
5. PCB

Introduction:
Raindrop Sensor is a tool used for sensing rain. It consists of two modules, a rain
board that detects the rain and a control module, which compares the analog value,
and converts it to a digital value. The raindrop sensors can be used in the automobile
sector to control the windshield wipers automatically, in the agriculture sector to
sense rain and it is also used in home automation systems.

Raindrop Sensor Features:

 Working voltage 5V
 Output format: Digital switching output (0 and 1), and analog voltage
output AO
 Potentiometer adjust the sensitivity
 Uses a wide voltage LM393 comparator
 Comparator output signal clean waveform is good, driving ability, over
15mA
 Anti-oxidation, anti-conductivity, with long use time
 With bolt holes for easy installation
INTERNAL CIRCUIT DIAGRAM OF THE RAIN
SENSOR USED
Theory:
Sensor Sensing Mechanism:
The rain sensor module consists of two conductive pads. When water comes in
contact with these pads, it creates a conductive path between them.
This change in conductivity is detected by the sensor.

Arduino Integration:

The Arduino Nano reads the analog value from the rain sensor module using the
analogRead() function. The analog value represents the conductivity level
between the two pads of the rain sensor, which is directly proportional to the
amount of water detected.

Interpreting Sensor Readings:


The Arduino Nano interprets the analog value to determine if it's raining or not.
This interpretation can be based on predefined thresholds or ranges. For
example, if the analog value exceeds a certain threshold, it indicates the
presence of water (rain).
Construction:
1)Connect the VCC pin of the rain sensor module to the 5V pin of the Arduino
Nano.
2)Connect the GND pin of the rain sensor module to the GND pin of the
Arduino Nano.
3)Connect the analog output pin of the rain sensor module to any analog pin of
the Arduino Nano.
4)Connect the Arduino Nano to your computer using a USB cable. Open the
Arduino IDE, paste code into a new sketch, and verify it.
5)Once verified, upload the code to your Arduino Nano.

Circuit Diagram:

Precautions:
1)Ensure a stable power supply to the Arduino Uno.
2)Waterproof the sensor and any exposed electronics to prevent damage from
moisture.
3)Keep the Arduino and other electronic components isolated from direct
contact with water to prevent short circuits.
4)Proper grounding is essential to prevent electrical interference and ensure
accurate readings from the rain sensor.
5)Write robust code with error handling to handle unexpected conditions, such
as sensor malfunction or communication errors.

Applications:
1)Use the rain sensor to detect when it's raining and automatically turn off
irrigation systems, conserving water and preventing overwatering.
2)Incorporate the rain sensor into a weather monitoring station to track rainfall
levels over time, providing valuable data for meteorological research or local
weather forecasting.
3) Utilize the rain sensor to trigger actions such as closing windows, retracting
awnings, or adjusting outdoor lighting when rain is detected, enhancing
convenience and energy efficiency.
4)Create an automated car wiper system that adjusts wiper speed based on
rainfall intensity detected by the rain sensor, improving visibility and driving
safety during inclement weather.
5) Use the rain sensor in conjunction with other environmental sensors to
regulate the climate inside a greenhouse, adjusting ventilation and humidity
levels based on rainfall conditions.

You might also like