GIVES BEEP WHEN WATER IS IN CONTACT WITH THE WIRE
Rain Alarm Project
Water is a conductor of electricity. When water is in contact with the probe then there is a flow of current which reaches to the base of Q1. Transistor Q1 is a NPN transistor which conducts. With the conduction of Q1 electron reaches to Q2 which is a PNP transistor .Q2 also conducts and current flows through the speaker. In a speaker there is inductive coil which causes motion in one direction and also produce induce current which is in opposite direction to the flow of current this induce current in the form of pulse flows through a capacitor, resistance and switches off Q1 and relax .this process repeats again and again till probe is in contact with water or we can say there is a oscillation in the circuit thus speaker diaphragm vibrates and gives a tone. Frequency of the circuit depends on the value of Speaker Coil impendence, Capacitor and Resistance Value.
Circuit Diagram of Rain Alarm