Loading the 3D lab…

    Study of Logic Gates: Class 12 HSC Physics Practical

    Do Class 12 HSC Physics Experiment No. 14 in an interactive 3D lab: mount the ICs 7432, 7408, 7400, 7402 and 7404 on an IC block, give 0 V and 5 V inputs, measure the output with a multimeter and verify each truth table.

    Key relation: Y = A + B, A·B, …

    Aim

    To identify given IC’s and to verify the truth table for each type of logic gate.

    Apparatus

    Apparatus: 5V DC power supply, IC block, probes, digital multimeter. IC 7408 (AND Gate), IC 7432 (OR Gate), IC 7400 (NAND Gate), IC 7402 (NOR Gate), IC 7404 (NOT Gate), etc.

    Theory

    Gate is a logic circuit with one or more input signals, but only one output signal. Gates are digital circuits because the input and output signals are either low (0) or high (1) voltages. A truth table shows all input and output possibilities for a logic circuit. OR, AND and NOT are the basic gates, NAND and NOR are derived gate. The OR gate has a high output if any input is high. The AND gate provides a high output only when all inputs are high. For a NOT gate the output is always opposite the input. It provides high output when its input is low. The NAND gate has a high output when at least one of its inputs is low. The NOR gate has a high output when all inputs are low.

    The ICs 7400, 7402, 7404, 7408, 7432 are from standard TTL family. For TTL devices, any voltage from 0 to 0.8 V is considered low input and any voltage from 2 to 5 V is considered high input. Any voltage from 0 to 0.4 V is low output and any voltage from 2.4 to 3.9 V is high output. For 7400 series supply voltage range is 4.75 to 5.25 V over a temperature range of 0 °C to 70 °C.

    Logic gates can be used to build flip-flops, digital counters etc. which can be used in calculators, computers and other digital systems.

    The parts and what they do

    • Logic gate ICs · Five 14-pin TTL ICs of the 7400 series

      Small black packages with seven pins along each side. A notch at one end marks pin 1, at the bottom left; the pins are numbered round anticlockwise.

      Each contains four two-input gates of one kind (six inverters in the 7404). All the gates share one supply: pin 14 is and pin 7 is ground.

    • IC block · Holds the IC and brings out its pins

      A board with a 14-pin socket, a terminal beside every pin, two input switches and an output lamp.

      The IC is pushed into the socket with its notch to the left, and leads are joined to the terminals instead of to the fragile pins.

    • 5 V DC power supply · Powers the IC

      A regulated supply that gives a steady 5 volts.

      Its positive terminal goes to pin 14 and its negative terminal to pin 7. It also provides the +5 V for logic 1 at the inputs.

    • Input switches A and B · Give logic 0 or logic 1

      Two slide switches on the IC block.

      Each connects its input either to ground (0 V, logic 0) or to the supply (+5 V, logic 1).

    • Digital multimeter · Measures the output voltage

      A multimeter set to DC volts, with a red and a black probe.

      The red probe touches the output pin of the gate and the black probe the ground terminal, pin 7.

    • Output lamp · Shows the output at a glance

      A small lamp on the IC block, joined to the output of the selected gate.

      It lights when the output is high.

    • Patch cords · Join the supply, switches, lamp and meter to the pins

      Short insulated leads with a plug at each end. Each plug fits the socket beside a pin of the IC block.

      They carry the supply to pins 14 and 7, the two inputs to the gate you have chosen, and its output to the lamp and to the multimeter.

    Procedure

    1. Mount the IC to be tested on the IC block.
    2. Connect the positive of the supply to pin 14 and negative to the 7th pin of the IC.
    3. Select any one of its gate out of four gates.
    4. Give different combinations of input from 0 to 1. Here 0 indicates zero voltage and 1 indicate +5V.
    5. Connect a voltmeter across the output terminal of IC and the ground terminal to pin no.7.
    6. Measure the output voltage, which will be zero for 0 and around +5V for 1 state.
    7. Repeat the same procedure to test the other gates.
    8. Verify the truth table and observation table for different input combinations.
    9. Repeat the above procedure to test the other IC’s i.e. 7408, 7404, 7400, 7432 etc.

    Precautions

    • Input voltage must be 5 volts.
    • Connections should be made correctly.
    • Grounding should be proper for input, zero volt.
    • Connections must be tight.

    Questions and answers

    Explain what are the basic logic elements.
    The basic logic elements are the OR, AND and NOT gates. The OR gate gives a high output if any input is high (); the AND gate gives a high output only when all inputs are high (); the NOT gate, or inverter, gives an output opposite to its input (). Every other logic circuit can be built from these three.
    What are the applications of logic gates?
    Logic gates are used to build flip-flops, counters, registers, adders, multiplexers and memories, and so they are the building blocks of calculators, computers, microcontrollers, digital watches and all other digital systems. They are also used in control and safety circuits such as burglar alarms and automatic switches.
    NAND gate is a combination of which two basic Gates?
    The NAND gate is an AND gate followed by a NOT gate: .
    NOR gate is a combination of which two basic Gates?
    The NOR gate is an OR gate followed by a NOT gate: .

    More in Class 12 Physics HSC Board Practicals