Rain Detection Sensor Report
Rain Detection Sensor Report
on
Rain Detection Sensor
Submitted to
JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY, ANANTAPURAMU
in partial fulfillment of the requirements for the award of the Degree of
BACHELOR OF TECHNOLOGY IN
ELECTRONICS AND COMMUNICATION ENGINEERING
Submitted by
SRINIVASULU BHAGYASRI (199E1A04C5)
KATIKALA GOUTHAM ASHISH (209E5A0409)
Mr T.Kaliraja
Assistant Professor
ENGINEERING
CERTIFICATE
For the partial fulfillment of the requirements for the award of. Tech Degree in
ELECTRONICS AND COMMUNICATION ENGINEERING , JNT University
Anantapur, Ananthapuramu.
GUIDE Head of the Department
DECLARATION
We hereby declare that the Social Relevant project report entitled “Rain Detection
Sensor” submitted to the Department of ELECTRONICS AND COMMUNICATION
ENGINEERING in partial fulfillment of requirements for the award of the degree of
BACHELOR OF TECHNOLOGY. This project is the result of our effort and it has not been
submitted to any other University or Institution for the award of any degree or diploma other
than specified above.
We are thankful to our guide Mr T.Kaliraja for her valuable guidance and
encouragement. His helping attitude and suggestions made us complete the project
successfully.
We would like to express our deepest gratitude to our Project coordinator Dr. Dileep
Kumar P for his comments, suggestions, and support.
We would like to express our gratefulness and sincere thanks to Dr. C. Chandrasekhar,
Head of the Department of Electronics and Communication Engineering, for his kind help and
encouragement during the successful completion of the Social Relevant project work.
We have great pleasure in expressing our hearty thanks to our beloved Principal
Dr. T. Kalpalatha Reddy for sharing her valuable suggestions in carrying over the project
work.
Successful completion of any project cannot be done without proper support and
encouragement. We sincerely thank the Management for providing all the necessary
facilities during study.
We would like to thank our parents and friends, who have the greatest contributions in
all our achievements, for the great care and blessings in making us successful in all our
endeavors.
1 Introduction
2 Types of Rain Sensor
2.1 Resistive Rain Sensor
2.2 Capacitive Rain Sensor
2.3 Mechanical Rain Sensor
2.4 Optical Rain Sensor for Cars
2.5 Rain Sensor with Sounds
2.6 Cloud and Rain Detection (Weather Sensor)
2.7 Optical Rain Sensor
3 The Rain Warning System Project
3.1 Rain Alarm Project Visualization of Blocks
3.2 Circuit Diagram
3.3 Components
4 Power supply
4.1 First Power Source: USB
4.2 Option 2: 12V DC Power Supply
4.2.1 Using 12V battery pack
4.2.2 Issues with Using 12 V
4.2.3 Heating and cooling
5 Sensor of Rainwater
6 Circuit Application for Rain Alarm Projects
7 Implementation in Practice
7.1 The Framework
7.2 Principle of Operation
8 The Hardware
8.1 The Particle Photon
8.2 The Rain Sensor
9 Source Code
10 Advantages and disadvantages
10.1 Advantages
10.2 Disadvantages
11 Conclusion
12 References
List of Abbreviations
PCB: Printed Circuit Board.
IC: Integrated Circuit.
D0: Digital Input. 1
1 Introduction
Management of water resources and proper usage have become increasingly
important in recent years. Rain sensor senses rain and sounds an alert so that we
can save water to use for other purposes later. For example, there are several
methods for conserving water harvesting which means is the process of collecting
and storing rainwater instead of letting it wash off. Rainwater is collected from a roof-
like surface and directed to a tank, cistern, deep pit (well, shaft, or borehole), aquifer,
or reservoir via percolation, where it seeps down and replenishes ground water. The
level of ground water can be raised by conserving groundwater and limiting water
use.
The rain alarm is an application that detects rainwater and sounds an alarm when it
is detected. This thesis describes a simple and reliable sensor module that may be
available in the market at low cost.
There are so many types of rain sensors that it is crucial to know the differences in
rain sensors in order to choose the ideal one. Some rain sensors are inexpensive,
while others are long-lasting and resistant to wear and strain. It is essential to
choose a suitable rain sensor for an automatic rain detection system. It is beneficial
to be familiar with the various types of rain sensors available on the market and to
understand their benefits and drawbacks.
2 Types of Rain Sensor
2.1 Resistive Rain Sensor
The rain sensor is a plate on which nickel is applied in the form of lines. It works on
the principle of resistance. The resistance between each contact is extremely high
when the sensor is dry (open circuit). When there is water on the board's surface, it
forms a resistive connection across the two-copper strip. This difference in
resistance enables the circuit to distinguish between dry and wet states allowing the
sensor to detect rain. Resistive sensors are shown in Figures 1,2 and 3.
Rain Sensor
Resistor
Alarm Component
4 Power supply
The purpose of a mains power supply is to convert the power delivered to its input by
the sinusoidally alternating mains electricity supply into power available at its output
in the form of a smooth and constant direct voltage.
4.1 First Power Source: USB
The most obvious and simplest power solution for the Particle Photon is the
integrated micro-USB connection. This connection not only enables communication
between a PC and the Photon but also as a 5V source for the Photon. Many projects
can take advantage of this and use a simple phone charger or computer USB port as
a power source for the Photon.
However, this method is practical for portable projects, as most USB sources work
on a main. Some wall sockets now include USB outputs, that could be a useful
source of 12 power for future Photon projects that are not portable and hang in
various places around the house.
The Photon is powered via the on-board USB Micro B connector or directly via the
VIN pin. If the VIN pin is directly powered, the voltage should be kept between
3.6VDC and 5.5VDC. When the Photon is powered via the USB port, VIN will output
a voltage of about 4.8VDC due to a reverse polarity protection series Schottky diode
connected between V+ of the USB and VIN. The maximum load on VIN when used
as an output is 1A. While 3V3 can be used as an output, it has a small overhead of
only 100mA.Figure 13 shows the particle photon with USB.
Figure 20. Pushbullet webhooks and particle cloud provide instant updates to all your
computers
7.2 Principle of Operation
These measures will show you how it works: As soon as water is detected, the
firmware on the Particle sends an event to the cloud. A webhook that lives in the
Particle cloud intercepts this published cloud incident. This webhook sends a
notification to Pushbullet, which then pushes it to our devices via Pushbullet. 21
8 The Hardware
8.1 The Particle Photon
A Particle Photon is a fantastic Arduino-compatible Wi-Fi development kit that lets us
attach a variety of sensors to the internet. The Particle Photon enables us to attach a
variety of devices to the internet, including sensors, other devices, garage doors, and
even water sensors.
The particle photon comes standard with a particle cloud platform and
wireless flashing through a browser as can be seen in figure 21.
int val_analogique;
void setup()
{
pinMode(capteur_D, INPUT);
pinMode(capteur_A, INPUT);
Serial.begin(9600);
}
void loop()
{
if(digitalRead(capteur_D) == LOW)
{
Serial.println("Digital value : wet");
delay(10);
}
else
{
Serial.println("Digital value : dry");
delay(10);
}
val_analogique=analogRead(capteur_A);
Serial.print("Analog value : ");
Serial.println(val_analogique);
Serial.println("");
delay(1000);
}
10 Advantages and disadvantages
10.1 Advantages
Water Conservation A rain sensor can help you conserve a lot of water. When it
rains, the lawn sprinkler system is automatically turned off, saving water that can be
used for other critical purposes like firefighting.
Prevent illness and nutrition depletion. Overwatering stops your plants' roots from
penetrating deep into the soil, making them disease prone. Because overwatering
eliminates nutrients from the soil, it is also a primary cause of nutrient loss in plants.
Your plants are frail and sickly. Spend less on fertilizers. You may avoid
overwatering your plants and lawns by using a rain sensor. Nutrients from the grass
enter the sewer system when a plant is overwatered. You will need to compensate
by fertilizing your grass and plants more. This implies that you will have to spend
more money on fertilizers. Your garden lawn will remain an optimum setting for your
plants thanks to a rain sensor that efficiently stops your lawn's irrigation system from
over-watering your lawn and plants. Depending on the type of fertilizer that was
utilized.
Make Your Irrigation System Last Longer By reducing the working life of your lawn
sprinkler system, using a rain sensor minimizes unnecessary wear and tear. This is
especially handy during the rainy season when rain falls in and out without warning.
Groundwater and streams should not be contaminated. The runoff of residual water
such as pesticides, motor oil, fertilizers, pet droppings, and sediments into your
waterways is reduced by using a lawn irrigation system with a rain sensor. It also
reduces the number of pollutants that do not get up in your groundwater system,
such as herbicides and fertilizers.
10.2 Disadvantages
This Project does not indicate the rate at which rain falls on the roof. Until the
detector is wet, a signal is issued or the LED lights up. The detector will not work
until it is wet if something happens.
11.Conclusion
To conclude, this sensor will detect rain and sound a buzzer, indicating that action
will be taken in the future. The rainwater detection alarm system can be used in both
residential and commercial settings. It alerts users to the presence of rainfall and rain
when it is forecasted to fall. It is activated by even the tiniest drop of water, allowing
the user plenty of time to reclaim their belongings, cover windows, and, in some
situations, prepare to collect rainwater. When appropriately positioned to catch the
first set of 34 .
12 References :1. https://youtu.be/H62xzxI-4A0
2.Rain detector - Wikipedia