quotes--

The aim of education is the knowledge, not of facts, but of values

Tuesday 2 October 2012

BATH ALARM

Here is the block diagram, for a bath alarm which will sound an alarm before the water in the bath overflows:

The float sensor consists of a voltage divider with a float switch at the top and a 100 k pull down resistor at the bottom. If the water level rises above a critical level, the float switch closes and the output of this subsystem becomes HIGH, logic 1.                                                                          
The astable, or pulse generator, produces pulses. Its output alternates repeatedly from HIGH to LOW. The float sensor provides a control input to the AND gate. If the control input is LOW, the output of the AND gate remains LOW. However, if the control input goes HIGH, the output of the AND gate starts to produce pulses, alternately HIGH and LOW, following the astable.
The transducer driver is needed to provide enough current to drive the buzzer. When the bath is full, the buzzer pulses ON and OFF.
It is easy to model this system using the system blocks provided by Crocodile Technology ©:

Open in Large

No comments:

Post a Comment