
A rain sensor or rain switch is a switching device activated
by rainfall. There are two main applications for rain sensors. The first is a
water conservation
Water conservation aims to sustainably manage the natural resource of fresh water, protect the hydrosphere, and meet current and future human demand. Water conservation makes it possible to avoid water scarcity. It covers all the policies, strateg ...
device connected to an automatic
irrigation
Irrigation (also referred to as watering of plants) is the practice of applying controlled amounts of water to land to help grow crops, landscape plants, and lawns. Irrigation has been a key aspect of agriculture for over 5,000 years and has bee ...
system that causes the system to shut down in the event of rainfall. The second is a device used to protect the interior of an automobile from rain and to support the automatic mode of
windscreen wipers.
Principle of operation
The rain sensor works on the principle of total internal reflection. An infrared light shone at a 45-degree angle on a clear area of the windshield is reflected and is sensed by the sensor inside the car. When it rains, the wet glass causes the light to scatter and a lesser amount of light gets reflected back to the sensor.
An additional application in professional satellite communications antennas is to trigger a rain blower on the aperture of the antenna feed, to remove water droplets from the
mylar
BoPET (biaxially oriented polyethylene terephthalate) is a polyester film made from stretched polyethylene terephthalate (PET) and is used for its high tensile strength, chemical stability, dimensional stability, transparency reflectivity, an ...
cover that keeps pressurized and dry air inside the wave-guides.
Irrigation sensors
Rain sensors for irrigation systems are available in both wireless and hard-wired versions, most employing hygroscopic disks that swell in the presence of rain and shrink back down again as they dry out — an electrical switch is in turn depressed or released by the hygroscopic disk stack, and the rate of drying is typically adjusted by controlling the ventilation reaching the stack. However, some electrical type sensors are also marketed that use tipping bucket or conductance type probes to measure rainfall. Wireless and wired versions both use similar mechanisms to temporarily suspend watering by the irrigation controller specifically they are connected to the irrigation controller's sensor terminals, or are installed in series with the solenoid valve common circuit such that they prevent the opening of any valves when rain has been sensed.
Some irrigation rain sensors also contain a freeze sensor to keep the system from operating in freezing temperatures, particularly where irrigation systems are still used over the winter.
Some type of sensor is required on new lawn sprinkler systems in
Florida
Florida ( ; ) is a U.S. state, state in the Southeastern United States, Southeastern region of the United States. It borders the Gulf of Mexico to the west, Alabama to the northwest, Georgia (U.S. state), Georgia to the north, the Atlantic ...
,
New Jersey
New Jersey is a U.S. state, state located in both the Mid-Atlantic States, Mid-Atlantic and Northeastern United States, Northeastern regions of the United States. Located at the geographic hub of the urban area, heavily urbanized Northeas ...
,
Minnesota
Minnesota ( ) is a U.S. state, state in the Upper Midwestern region of the United States. It is bordered by the Canadian provinces of Manitoba and Ontario to the north and east and by the U.S. states of Wisconsin to the east, Iowa to the so ...
,
Connecticut
Connecticut ( ) is a U.S. state, state in the New England region of the Northeastern United States. It borders Rhode Island to the east, Massachusetts to the north, New York (state), New York to the west, and Long Island Sound to the south. ...
and most parts of
Texas
Texas ( , ; or ) is the most populous U.S. state, state in the South Central United States, South Central region of the United States. It borders Louisiana to the east, Arkansas to the northeast, Oklahoma to the north, New Mexico to the we ...
.
Automotive sensors

In 1958, the
Cadillac Motor Car Division of
General Motors
General Motors Company (GM) is an American Multinational corporation, multinational Automotive industry, automotive manufacturing company headquartered in Detroit, Michigan, United States. The company is most known for owning and manufacturing f ...
experimented with a water-sensitive switch that triggered various electric motors to close the convertible top and raise the open windows of a specially-built
Eldorado Biarritz model, in case of rain. The first such device appears to have been used for that same purpose in a concept vehicle designated
Le Sabre and built around 1950–51.
General Motors' automatic rain sensor for convertible tops was available as a dealer-installed option during the 1950s for vehicles such as the
Chevrolet
Chevrolet ( ) is an American automobile division of the manufacturer General Motors (GM). In North America, Chevrolet produces and sells a wide range of vehicles, from subcompact automobiles to medium-duty commercial trucks. Due to the promi ...
Bel Air.
For the 1996 model year, Cadillac once again equipped cars with an automatic rain sensor; this time to automatically trigger the windshield wipers and adjust their speed to conditions as necessary.
In December 2017
Tesla started rolling out an
OTA update (2017.52.3) enabling their
AP2.x cars to utilize the onboard cameras to passively detect rain without the use of a dedicated sensor.
Most vehicles with this feature have an ''auto'' position on the control column.
Physics of rain sensor

The most common modern rain sensors are based on the principle of
total internal reflection
In physics, total internal reflection (TIR) is the phenomenon in which waves arriving at the interface (boundary) from one medium to another (e.g., from water to air) are not refracted into the second ("external") medium, but completely refl ...
. At all times, an
infrared
Infrared (IR; sometimes called infrared light) is electromagnetic radiation (EMR) with wavelengths longer than that of visible light but shorter than microwaves. The infrared spectral band begins with the waves that are just longer than those ...
light is beamed at a 45-degree angle into the windshield from the interior. If the glass is dry, the critical angle for total internal refraction is around 42°. This value is obtained with the total internal refraction formula.
where
is the approximate value of air's refraction index for infrared and
is the approximate value of the glass refraction index, also for infrared. Since the incident angle of light is 45°, all the light is reflected, and the detector receives maximum intensity.
If the glass is wet, the critical angle changes to around 60° because the refraction index of water is higher than air (
).
[{{Cite web, url=http://www.philiplaven.com/p20.html, title = Refractive index] In that case, because the incident angle is 45°, total internal reflection is not obtained. Part of the light beam is transmitted through the glass, and the intensity measured for reflection is lower: the system detects water, and the wipers turn on.
See also
*
List of sensors
*
Rain gauge
A rain gauge (also known as udometer, ombrometer, pluviometer and hyetometer) is an instrument used by meteorologists and Hydrology, hydrologists to gather and measure the amount of liquid precipitation in a predefined area, over a set period of t ...
References
Irrigation
Sensors
Meteorological instrumentation and equipment
Windscreen wiper