Water level indicator circuit or liquid level sensor displays the current level of water in any water tank reservoir. Here we use a simple real time encoding circuit with 7 segment display. It can also be used as a water level meter or water level detector. Combining this project with our previous post ‘Automatic water tank level controller’ will give a complete automated control system for home and industries. This water level sensor consist of 8 to 3 encoder (74148- 8 line to 3 line priority encoder) with some water sensor arrangement. The encoded level is displayed on a 7 segment digital display. This circuit uses one 'Hex display', it does't require driver IC to encode. It makes the implementation simple. You can use '7 segment display' with appropriate driver IC 7447.
Circuit Diagram
Components required
- Power supply
- Resistors (10kΩ x8, 100Ω x3)
- IC 74148
- IC 7404 NOT gate x3
- Hex display
Working of the circuit
- Water level in the tank or any reservoir is sensed using simple pull up resistor arrangement.
- Here we define 7 levels in the reservoir. The sensed values are connected to an encoder circuit. The encoder circuit consist of a 74148 IC, which is a 8 line to 3 line encoder.
- A connection from ground is dipped in water reservoier. When water level rises, the ground comes in contact with the particular pin of encoder input.
- Without the ground contact, the encoder input is Vcc through the pull up resistors.
- See the simulation window shown below. Here switch ON indicates water touching the point A.
- While water touches the point A, D1 of encoder IC=0, so the input patern becomes 1111110 which is encoded to 110 binary value.
- The inverted output become 001 using not gate. Thus for each and every level the encoder produces corresponding binary digits.
- Next section is the ‘HEX Display’ which is a special type of 7 segment display. It is easier to use than the regular seven-segment display because it is already decoded. Each hexadecimal digit is displayed when its 4 bit binary equivalent is received as input, as shown in the truth table below.
- If it is difficulty to get a ‘HEX Display’ you can use ordinary 7 segment display with decoder driver IC 7447. Hence the encoded values are displayed. This circuit will be really helpful for your project.
Circuit using 7447 driver IC
(Click on the image for enlarged view)
You can neglect the 4th input (D) of 7447 because we are using this circuit to code up to 7 level, that is upto binary 111. Hence there is no need of the 4th input of 7447.
(Circuit using 7447 is posted as per the request from one of our readers Mr. Nagarajan M)
Truth table
Simulation of this project
Click on the image for enlarged view of animation
Components pin outs
Ads
I have tried this project in breadboard but its not working, if the inputs of IC 74148 is connected directly to negative supply it works, but if it is connected to negative supply through wires immersed in water it doesn't.
ReplyDeleteany suggestion sir?
Hi,
DeletePlease use a 1A transformer for power supply.
Your problem is due to insufficient current supply from power source
can i use AA batteries to give power supply?
ReplyDeleteif yes then what about the required voltage and current?(how many batteries?)
Hi, Please use your name while commenting for better response from us. You can use 3 AA batteries for power supply.
Deletethanq for the reply,
Deletei need to add a buzzer to this circuit to control the overflow of the water. So i need your help regarding the circuit(what are the changes to be done).
You can refer our UM66 based Water tank over flow musical alarm circuit or Water tank overflow liquid level sensor alarm circuit.
Deletehello sir,
ReplyDeletei need to know about the power supply. Can i give 3x1.5 volts AA batteries for this circuit?
please give me the reply...
Hi,
DeleteIC 74148 requires 5V minimum, According to your doubt 3x1.5=4.5V. 4.5 is not enough to drive the IC.
Sir, How can we combine your AUTOMATIC WATER TANK LEVEL CONTROLLER with this......
ReplyDeleteas This circuit is positive driven and the latter is negative driven........
Kindly revert ASAP
In AUTOMATIC WATER TANK LEVEL CONTROLLER:
Delete1). Replace BC 548 with BC 557.
2). Connect the 2nd pin through a BC557 inverter.
Sir, Can you please gave me the complete circuit for combining your AUTOMATIC WATER TANK LEVEL CONTROLLER with this NUMERIC WATER LEVEL INDICATOR......
ReplyDelete