Friday, April 19, 2024

Numeric Water Level Indicator

Most water level indicator for water tanks are based upon the number of LEDs that glow to indicate the corresponding level of water in the container. Here we present a digital version of the water-level indicator. It uses a 7-segment display to show the water level in numeric form from’0′ to ‘9’.

Water level indicator circuit diagram

water level indicator circuit
Water level indicator circuit

The circuit works off 5V regulated power supply. It is built around priority encoder IC 74HC147 (IC1), BCD-to-7-segment decoder IC CD4511 (IC2), 7-segment display LTS543 (DIS1) and a few discrete components. Due to high input impedance, IC1 senses water in the container from its nine input terminals. The inputs are connected to +5V via 560-kilo-ohm resistors. The ground terminal of the sensor must be kept at the bottom of the container (tank). IC 74HC147 has nine active-low inputs and converts the active input into active-low BCD output. The input L-9 has the highest priority.

The outputs of IC1 (A, B, C and D) are fed to IC2 via transistors T1 through T4. This logic inverter is used to convert the active-low output of IC1 into active-high for IC2. The BCD code received by IC2 is shown on 7-segment display LTS543. Resistors R18 through R24 limit the current through the display.

Operation & working

When the tank is empty, all the inputs of IC1 remain high. As a result, its output also remains high, making all the inputs of IC2 low. Display LTS543 at this stage shows ‘ 0, ‘ which means the tank is empty. Similarly, when the water level reaches L-1 position, the display shows ‘1, ‘and when the water level reaches L-8 position, the display shows ‘8.’ Finally, when the tank is full, all the inputs of IC1 become low and its output goes low to make all the inputs of IC2 high. Display LTS543 now shows ‘9,’ which means the tank is full.

Assemble the circuit on a general-purpose PCB and enclose in a box. Mount 7-segment LTS543 on the front panel of the box. For sensors L-1 though L-9 and ground, use corrosion-free conductive-metal (stainless-steel) strips.

- Advertisement -


More interesting projects available here.

9 COMMENTS

  1. Resistors are mostly using for resist current flow, Here in 74HC147 is a Cmos logic ic and its input pins has current limitations of micro ampere. That’s why maximum resistance 560k has used here. 12 K resistance are base resistance which limits the current flow to the base because if it is more then CE current flow will be much bigger and will cause braking of transistor. BC547 need only .7 v and .05mA current at base to turn the transistor on . that’s why 12k is using at base. generally this transistor has a high base resistance . The resistance 33K used because the next IC CD4511 is another CMOS IC and having limitation in the input signal current . thats why CE region of BC547 has 33k . 470 ohm resistance has connected before 7 segment display. we know that 7 segment has 7 led inside and we also know the power have to give to light up so 470 has used to limit the current flow. all these resistance has chooses with respect of ohms law equation and electrical parameter of components

  2. Here’s the reply from author Daniyal Syed :
    To use a common anode display, please remove the inverting transistors between the IC 74147 and BCD to 7-Seg decoder. Change the 7 Seg decoder to IC 7447 or equivalent and use a common anode display. The circuit should work fine.

SHARE YOUR THOUGHTS & COMMENTS

Unique DIY Projects

Electronics News

Truly Innovative Tech

MOst Popular Videos

Electronics Components

Calculators