This is a simple rain sensor circuit which can be built by a school grade student very easily and can be used for displaying its relatively useful feature, probably among his friends or in a science fair exhibition.

Using IC 555 as the Comparator


The circuit is basically rigged using IC 555 as a comparator and is typically configured to sense the low resistance through water across its relevant inputs.

Let’s try to understand how to build a simple rain sensor circuit using the IC 555:


IC 555 based rain sensor circuit


Referring the figure, we see a rather simple design made around a single active component which is the IC 555.

Other than the IC, the circuit just includes a few cheap passive components like resistors and capacitors.

We are familiar the two important modes of operation of the IC 555, which are the astable and the monostable multivibrator mode, however the IC is laid down in a rather unusual fashion, quite like a comparator.

How it Works


As shown in the figure, sensing terminals are received across the positive and pin #2 of the IC via R1.

When water (due to rain fall) comes across the above inputs, a low resistance is developed here. The preset P1 is suitably adjusted such that any type of water across the sensing inputs triggers the IC appropriately.

The sudden low resistance at pin #2 of the IC acts like a pulse which exceeds the potential at pin #2 more than 1/3 of the supply voltage.

This activation instantly makes the output of the IC go low, ringing the connected buzzer. The buzzer circuit is comprehensively explained here, if you wanted to build one.

As long as the sensing input stays immersed under water, the output continues with the above situation.

However the moment, water is removed from the specified input terminals, the potential at pin #2 reverts to less than 1/3 of the supply voltage, making the output go high, back to its original position, switching off the buzzer.

The above operation effectively indicates the commencement of a rain fall when the sensor is appropriately placed for the detection.

The charge inside the capacitor C1 keeps the buzzer ringing for some period of time even after the water from the sensing inputs is completely removed.

Therefore the value of C1 must be appropriately chosen, or may be completely eliminated if the feature is not required.


rain sensor prototype image

Making the Sensor Unit.


The explained rain sensor circuit obviously needs to be placed indoors, therefore only the sensor terminals are required to be positioned outdoors through long connecting flexible wires.

The figure shows a simple way of making the sensor unit.

A small plastic of around 2 by 2 inches is used and a couple metal screws are fixed over the plate. The distance between the screw should be such that no residual water is able to stick or clog between them and water formation across it is detected only as long as the rain fall persists.

rain sensor module using metal screw as probes



The wires from the screws should be carefully terminated to the relevant points on the circuit. The circuit must be hosed inside a suitable plastic enclosure along with the buzzer and the battery.



Parts List

R1 = 1M, R2 = 100K,

P1 = 1M preset, can be replaced with a 1M fixed resistor

IC = 555, C1 = 10uF/25V,

Simple Rain Sensor Circuit using a Single Transistor


If you think the above circuit a bit over complex, then perhaps you could implement the design using a single transistor and a resistor, as shown in the following image:


rain sensor using single transistor, piezo buzzer, 9V battery

The working of the above circuit is rather simple. When water droplets or rain droplets fall on the sensor device, made using screw heads, the water bridges across the screw heads allowing small electrical current to pass across the metal, triggering the base of the transistor. As soon as this happens, the transistor begins conducting and amplifies the conduction across its collector/emitter terminals.

This results in the switching ON of the connected buzzer which now begins buzzing or beeping indicating the commencement of rain outside, and warning the user regarding the same.

Alternate  Rain Sensor/Alarm Circuit Using the IC LM324


An alternative version of a rain alarm circuit can be seen below using a single IC LM324


Need Help? Please send your queries through Comments for quick replies!