Flood Sensor with 12F683

Posted on Jan 15, 2013

The water detection time is less than 10 seconds. Since the microcontroller enters a low consumption state between readings to preserve battery life, this state is always 10 seconds long. If water reaches the probes while being in the low power state it will have to wait until it finishes the sleep state before it can trigger the alarm. Also, the probes should be placed not to far apart from each other and they never should touch each other. The more probe area available for water sensing the better. After everything is checked ok the detector will enter it's normal state. Every 10 seconds it will check the probes and the battery's voltage.

Flood Sensor with 12F683
Click here to download the full size of the above Circuit.

The box that I used did not had enough room for all components, so I had to place both leds and piezo on the exterior of the box. That detail didn't make any difference since the leds should stay visible and the piezo free to make the loudest sound possible. The probes can be made from any conductive material, but I preferred not to use copper because it deteriorates with time. In my opinion a good material to be used is stainless steel or aluminium. However, maintenance should be done from time to time checking the probes and testing them with water. Turning on the circuit, both leds and piezo are tested. Also the probes are checked. If the probes are sensing water or any kind of leakage it will turn on the red led and it will trigger the piezo. If water gets between the probes the detector will enter the alarm mode where the red led will turn on and the piezo will start making a loud sound. The detector will keep itself in alarm mode until S1 is pressed. If the battery's voltage is good, the green led will flash every 10 seconds but if the voltage reaches 7V the red led will flash every 10 seconds and the piezo will make a short sound to indicate it's time to change the battery. The probes I used in my project are made from aluminium.

Leave Comment

characters left:

New Circuits



Popular Circuits

lamp dimmer
tesla coil
high voltage 555 audio modulated flyback
applied robotics
FT0 frequency synthesizer circuit
frequency multiplier for lf
Measurement Related
DIY video dolly stepper motor driver
Project: PC Power-on Combination Lock? |? O J Ford
Circuit of graphic equalizer of 7 bands using it integrated la3607 of Sanyo
Level led level meter display driver IC a circuit diagram
Binary gain step circuit diagram by the PGA205