Rain Alarm

Published  June 2, 2015   36
J Jayant
Rain Alarm Project using IC 555

Rain alarm is an application which detects the rain water and blows alarm. They are useful devices and play an important role in various industries such as automobile, irrigation, and wireless communication. Desiging a rain alarm system is quite simple and we have designed here a demo rain alarm project with the help of 555 Timer IC.



Rain sensor (Either you can purchase or build yourself)

555 Timer IC

NPN Transistor BC547

Resistors (470, 100k and 1k ohm)

Capacitor (10uf)


Battery 9v


The main component of this rain alarm is rain sensor, I have purchased one, but we can also build it at home. It’s very easy to create a rain sensor. Take a sheet of Bakelite or mica, and paste the aluminium wire on it according to the diagram shown below. The Gap between the wires should be around 3-5mm. You can see that whenever the rain drop would fall on rain sensor, it will short the point A and B and a voltage would get applied on the base of Transistor, and it will become ON. We can also use copper wire for rain sensor but copper generally reacts to oxygen to form oxide, so it needs to be cleaned on regular basis.

Rain sensor

Circuit Diagram and Working Explanation

Rain Alarm Circuit Diagram using IC 555 Timer

It is a very simple rain alarm circuit which is designed using mainly a transistor, water sensor and a 555 timer IC. Whenever there is a rain, rain drops falls on the rain sensor, and as you can see in the diagram of rain sensor, water on rain sensor would short the Point A and B. As soon as Point A and B become short, a positive voltage would get applied on the base of Transistor Q1, through the resistance R4. Because of the voltage at the base, transistor becomes ON (initially it was in OFF state), and current started flowing form collector to emitter.


Now Reset PIN 4 of the 555 Timer, gets a positive voltage and 555 timer IC becomes ON and Buzzer starts beeping. Here we should note that initially there was no positive voltage at Reset PIN 4 of 555 IC, as it was connected to the ground through resistance R5 (4.7k) and 555 IC only works when Reset pin gets positive voltage.


Here we can see that 555 Timer IC has been configured in Astable mode so that Buzzer generate a oscillating sound (means periodically on and off). This oscillation frequency can be controlled by changing the value of resistor R2 and/or capacitor C1. Pin 5 control Pin, should be connected to ground through a .01uf capacitor. Resistor R3 and R4 has been used to control the transistor’s collector and base current respectively.

Rain sensor should be kept at 30-40 degree from the ground, so that water cannot stay on it, for the long time, this will prevent the alarm to going on for a long time.



What kind of Motor do you want to connect, If you want to connect simple DC motor then just replace it with Buzzer, it should work. If you want to connect Stepper motor or Servo motor and want to rotate it with particular angle, then build this circuit using some Microcontroller. Here is one advance water level controller, check this too: Automatic Water Level Indicator and Controller using Arduino

Submitted by haikal on Sun, 01/10/2016 - 21:40


do you mind tell me how to add a motor without removing the buzzer and using just ic

Tell me the drawbacks of making this project using ic55. i am asking this because some has made this project using arduino and some has made project without using ic555. And tell me which way is used to check drawbacks in your circuit project. Can you tell me the substitute method of making this project. what are the cautions if we want to implement it in house using main supply rather than using 9v battery.

Submitted by satyasainadh on Sat, 02/13/2016 - 06:54


it is work properly because i want do this urgently plz help me

Submitted by chandana on Sat, 02/20/2016 - 16:10


Hello sir we are working on this project.we did the connections same as per your circuit diagram but we are getting buzzer sound without rain drop and sensor .can we know the drawback ??

Plz check the connection of the transistor. And do check the data sheet of the transistor. Thr is a mistake in the conection that goes to probe or sensor. Dont go for the breadboard connection... Connect as it is in the circuit diagram. Tq.

Submitted by Ali on Thu, 03/17/2016 - 10:29


Where can I find a good rain sensor? Can someone please send me a link?

Submitted by Jasmine on Sun, 04/03/2016 - 06:54


The opposite effect is happening with my circuit. The buzzer remains on without any water detection, and once water is detected it turns off. Please let me know what the issue is and how I can fix it!!

Submitted by jone on Fri, 05/13/2016 - 22:30


hello, i implement the circuit on ISIS software as recommended above and i put a led instead of buzzer in order to see the result but the led flashed in both cases when A- B is open and when it is closed so what the problem please?

Submitted by sneha on Tue, 06/21/2016 - 11:12


hi sir when we can identify the rain is coming.the buzzer can on before raining or after raining

Submitted by Priyansh on Sun, 07/10/2016 - 22:25


sir sorry but please can you send me a simple line following robot circuit diagram for my school project ,i am new in electronics plz and plz send me the LDR line following robot

Submitted by Kingo on Thu, 08/11/2016 - 22:56


Your breadboard shows an LED, which I would like to employ. Can you please tell me the connections, if possible.

You mentioned that it needs a 220 ohm resistor to connect with the led but I dont see one in your video which is a successful circuit . And I am also curious that is it possible to implement a diode into this circuit ?

Submitted by mamat on Wed, 09/14/2016 - 08:23


Hello. Can you help me if i want to add mcp3008 to the circuit to read analog on raspberry pi?

Submitted by Swapnil on Sat, 01/07/2017 - 19:32


Sir, the circuit is working perfectly but the buzzer wont stop ringing. I need the buzzer to stop ringing after some time, say 10sec. Can you please suggest me what should be done ? Thank you

Submitted by Virgo on Mon, 03/13/2017 - 04:51


can you direct me to specific products to make the water sensor with e.g. aluminium wire, mica board, or just a whole sensor pre-made

Submitted by krishnakishor on Tue, 01/16/2018 - 13:54


can i replace the buzzer with any other instrument so that i can turn on or off circuit supply to external connected device?

Submitted by MITHLESH Kumar… on Tue, 02/20/2018 - 08:07


How to make the rain alarm and using by component for circuit diagram

Submitted by Dhruv on Fri, 07/06/2018 - 14:44


Hii we wnant to do some advance in this rain project.we are thinking that we are gonna to make automatic cloth placer.when rain comes the clothes of that place are collect at dry place.is that possible?plzz replay i think u understand what I mean.