10-04-2017, 08:56 PM
Today water is one of the precious resources. In this tutorial I am going show how we can make a very simple water level indicator which not only shows the current water level in water tank but also helps to save water from overflowing while filling it. This is very cheap project and the total cost of the components is around 2$.
Required components:
7404 IC (NOT Gate)
7408 IC (AND Gate)
1M Resistance(4 Piece)
222 Resistance(3 Piece)
LED (Red, Yellow, Green)
Piezo Buzzer
0-12V Transformer (200mA)
AC Socket and switch
4007 diode (4 pieces)
10 F capacitor
7805 voltage regulator
Veroboard
Wire and Tools
PVC Pipe
Circuit Design: The circuit is based on logic NOT and logic AND gate. For these I have used 7404 IC which contains 6 NOT gates and 7408 IC which contains 4 AND gates. Using five wires at different height of tank the circuit can sense 5 different level of water. Here the wires work as sensor. The sensor at the bottom is connected to the ground of the circuit. Rest four sensors are connected to the input of four NOT gates. These NOT gate inputs are pulled high by 1M resistance. The output of these NOT gates are connected with two more NOT gates and three AND gates as per below circuit diagram. The output of the AND gates are connected with LEDs via 222 resistance. Use bigger LEDs for better visibility.
The circuit needs 5v power supply with 200mA current capability. I have used a 0-12v transformer for this. The output of transformer is converted to 12v DC using bridge and filter circuit. This 12v DC stepped down to 5v by using 7805 IC.
Water Level Indicator
How the circuit works: When the tank is empty all NOT gate inputs (1-4) are high through the 1M resistance and all AND gates one input is low. Hence all LEDs go off. After starting to fill the tank, water touches the second sensor. In this condition water is grounded with first sensor and because of the resistance of water is lower than 1M , the input of first NOT gate goes low and output goes high. This makes one input of first AND high. Another input of this AND gate is already high as it is connected to sensor 3 using two (1 & 5) NOT gates. This two high input makes AND output high the Red LED turned on.
When water touches third sensor the Yellow LED goes on, in the same way of Red LED. At the same time one input of the first AND gate goes low via fifth NOT gate and Red LED goes off. Similarly when water touches fourth sensor the Green LED goes on and Yellow goes off. When water reaches at the top sensor the buzzer turned on. Using the AC switch we can turn it off.