Simple Rain Alarm Project

22,593 views

A rain alarm project is a straightforward and useful project. It detects the rainwater and triggers the buzzer or alarm. In this tutorial, we have designed the rain alarm circuit by using 555 Timer IC. This project gives an alarm when rainwater is detected so that some actions can be taken for rainwater harvesting and also save the rainwater for use later.

Hardware Components

The following components are required to make the Rain Alarm Circuit

S.noComponentValueQty
1.Breadboard1
2.Battery9v1
3.Connecting Wires1
4.ICNE555 Timer1
5.TransistorBC5471
6.Rain Sensor1
7.Buzzer1
8.Resistor470 ohms, 100k, 1k1,2,1
9.Ceramic Capacitor10uF1

NE555 IC Pinout

555 timer ic pinout

For a detailed description of pinout, dimension features, and specifications download the datasheet of 555 Timer

Rain Alarm Circuit

Rain Alarm Circuit-1_Diagram-Schematic_

 Working Explanation

  • The rain alarm circuit consists of mainly NPN transistor BC547, a rain sensor, and a timer IC 555.
  • In case of rain, water drops fall on the rain sensor and will shorten points A & B.
  • In response to this, a voltage difference will be applied to the base of the transistor. In response to this, the transistor switches ON and current flows from the collector to the emitter.
  • Thus, the reset PIN of the Timer IC 555 receives this positive voltage and it turns On and the buzzer starts to beep.
  • Initially, there was not any positive voltage at timer IC 555 as it was connected to the ground via resistance. Thus, the timer IC was off. Timer IC works only if the reset pin receives positive voltage.
  • Timer IC 555 is configured in Astable mode. thus, the buzzer will generate an oscillating sound and the oscillation frequency can be controlled by either changing the value of resistor R2 or by changing the capacitance of capacitor C1.
  • Pin 5 which is the control Pin, is connected to GND through a .01uf capacitor. 
  • Resistor R3 controls the transistor’s collector current and resistor R4 controls the transistor’s base current.
  • Rain sensors should be kept at a minimum of 30-40 degrees from the surface area, thus, preventing water to stay on the rain sensor, this we can avoid the alarm going on for a long time duration.