Professional Documents
Culture Documents
CHAPTER 1 INTRODUCTION:
Most water-level indicators 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. 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. 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.
Dept.ece
Page 1
Fig(i).circuit diagram
The Numeric Water Level Indicator employs a simple mechanism to detect and indicate the water level in a tank or any other container. The level sensing is done by a set of nine probes which are placed at nine different levels on the tank walls (with probe9 to probe1 placed in decreasing order of height; COM probe is placed on the base of the tank).Basically, level9 represents the tank full condition while COM represents the tank empty condition. When the tank is empty, all the inputs to the priority encoder 74HC147 (IC1) remain high, as a result its output also remains high. Since these outputs are inverted and fed as inputs to the decoder driver CD4511 (IC2), all inputs to IC2 are low.
Dept.ece
Page 2
The seven segment display correspondingly shows a 0, indicating that the tank is empty. For example, when the water reaches level1 (but is below level2), pin11 (A0) of IC1 is pulled to ground and the output generated at pin9 (Y0) of IC1 also becomes low. After inversion, the bits fed to the input pins of IC2 are 0001 (DCBA). Hence, the corresponding digit displayed by the seven segment display is a 1. The same mechanism applies to the detection of all the other levels. When the tank is full, all inputs to IC1 become low and all its outputs also go low. This causes all the inputs to IC2 to go high and hence the display shows a 9, thereby indicating a tank full condition.
Dept.ece
Page 3
Semiconductors:
IC1 IC2 T1 to T4
- Priority Encoder IC74HC147 - BCD to Seven Segment Decoder IC CD4511 - NPN Transistor BC547
R1 to R9
- 560 kilo-ohm
R10 to R13 - 12 kilo-ohm R14 to R17 - 33 kilo-ohm R18 to R24 - 470 ohm
Miscellaneous:
DIS1 - Common Cathode Seven Segment Display(LTS543) Printed Circuit Board (PCB)
Dept.ece
Page 4
Circuit symbol:
Fig(ii): Resistor
Function:
Resistors restrict the flow of electric current, for example a resistor is placed in series with a light-emitting diode (LED) to limit the current passing through the LED.
Dept.ece
Page 5
gates) are available on logic ICs but since only one logic inversion is required at each of the four outputs of the priority encoder, the simple arrangement shown in fig5 can be used. With these connections, the following input output sequence is achieved: When the input is high (+Vs) the output is low (0V) When the input is low (0V) the output is high (+Vs).
Function:
Transistors amplify current, for example they can be used to amplify the small output current from a logic IC so that it can operate a lamp, relay or other high current device. In many circuits a resistor is used to convert the changing current to a changing voltage, so the transistor is being used to amplify voltage. A transistor may be used as a switch (either fully on with maximum current, or fully off with no current) and as an amplifier (always partly on). The amount of current amplification is called the current gain, symbol hFE. Connection of a NPN transistor to implement NOT gate is show in figure.
Dept.ece
Page 6
Properties of a transistor:
Most projects will specify a particular transistor, but if necessary you can usually substitute an equivalent transistor from the wide range available. The most important properties to look for are The maximum collector current IC and the current gain hFE. To make selection easier most suppliers group their transistors in categories determined either by their typical use or maximum power rating.
Fig(iv): Segments of the common-cathode LTS543 A seven segment display is the most basic electronic display device that can display digits from 0-9.they find wide applications in devices that display numeric information like digital clocks, radio, microwave ovens , electronic meters etc. The most common configuration has an array of eight LEDs arranged in a special pattern to display these digits. They are laid out as a squared-off figure 8. Every LED is assigned a name
Dept.ece Page 7
A seven segment is generally available in ten pin package. While eight pins correspond to the eight LEDs, the remaining two pins (at middle) are common and internally shorted. These segments come in two configurations, namely, common cathode (CC) and common anode (CA). In CC configuration, the negative terminals of all LEDs are connected to common pins. The common is connected to ground and a particular LED glows when its corresponding pin is given high. In CA arrangement, the common pin is given a high logic and the LED pins are given low to display a number
Integrated Circuits are usually called ICs or chips. The ICs are shown in figure. They are complex circuits which have been etched onto tiny chips of semiconductor (silicon). The chip is packaged in a plastic holder with pins spaced on a 0.1" (2.54mm) grid which will fit the holes on strip board and breadboards. Very fine wires inside the package link the chip to the pins.
This IC encodes nine data lines to four line (8-4-2-1) BCD. The implied decimal zero condition does not require an input condition because zero is encoded when all nine data lines are at a high logic level .
Dept.ece
Page 9
FEATURES:
Encodes 10-line decimal to 4-line BCD Useful for 10-position switch encoding Used in code converters and generators Output capability: standard ICC category: MSI
Dept.ece
Page 10
General Description:
The CD4511BM/CD4511BC BCD-to-seven segment latch/ decoder/driver is constructed with complementary MOS (CMOS) enhancement mode devices and NPN bipolar output drivers in a single monolithic structure. The circuit provides the functions of a 4-bit storage latch, an 8421 BCD-to seven segment decoder, and an output drive capability. Lamp test (LT), blanking (BI), and latch enable (LE) inputs are used to test the display, to turn-off or pulse modulate the brightness of the display, and to store a BCD code, respectively. It can be used with seven-segment light emitting diodes (LED), incandescent, fluorescent, gas discharge, or liquid crystal readouts either directly or indirectly. Applications include instrument (e.g., counter, DVM, etc.) display driver, computer/calculator display driver, cockpit display driver, and various clock, watch, and timer uses.
Dept.ece
Page 11
Features:
Low logic circuit power dissipation High current sourcing outputs (up to 25mA) Latch storage of code Blanking input. Lamp test provision. Readout blanking on all illegal input combinations. Lamp intensity modulation capability. Time share (multiplexing) facility. Equivalent to Motorola MC14511.
Dept.ece
Page 12
4.2. APPLICATIONS:
Water level indicator is widely used in following applications Houses ,multi stored apartments Factories Hospitals Commercial centres Schools and colleges
Dept.ece
Page 13
CHAPTER 5
Dept.ece
Page 14
[1] www.electronicsforu.com
edition).
Dept.ece
Page 15
APPENDIX:
Dept.ece
Page 16
Dept.ece
Page 17
Dept.ece
Page 18
Dept.ece
Page 19
Dept.ece
Page 20