2)nand nor prac 2

Upload: ammar-naveed-bajwa

Post on 03-Apr-2018

222 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/28/2019 2)Nand Nor Prac 2

    1/6

    Logic Design & Switching Circuits NAND-NOR GatesInstitute of Industrial Electronics

    Engineering

    Lab Session 02

    NAND NOR Gates

    OBJECTIVE

    To Study the behavior of NAND & NOR gates.

    APPARATUS

    Power Supply

    Resistors

    LEDs

    Jumper wires

    DIP switches

    Dual input NAND Gate (74LS00)

    Dual input NOR Gate (74LS02)

    THEORY:

    NAND Gate:NAND Gate is a gate that has two or more than two input but only a single output.

    Low output is obtained only and only if both the inputs are high. In all the other conditionhigh output is obtained.

    INPUT OUTPUT

    A B X

    0 0 1

    0 1 1

    1 0 1

    1 1 0

    The Internal Structure of NAND Gate is Shown Below.

  • 7/28/2019 2)Nand Nor Prac 2

    2/6

    7400 NAND Gate

    22

  • 7/28/2019 2)Nand Nor Prac 2

    3/6

    Logic Design & Switching Circuits NAND-NOR GatesInstitute of Industrial Electronics

    Engineering

    NOR Gate:

    OR gate is a gate that has two or more than two input but only a single output. LOWoutput is obtained only and only if both the inputs are low. In all the other condition highoutput is obtained.

    INPUT OUTPUT

    A B X

    0 0 1

    0 1 0

    1 0 0

    1 1 0

    The Internal Structure of NOR Gate is Shown Below.

    7402 NOR Gate

    Circuit Diagram:

    For NAND Gate:

    0V1

    5 V

    J1

    2

    0

    R1

    100

    LED1

    34

    0

    0

    U1

    74LS00N

    1A

    1B

    1Y

    2A

    2B

    2Y

    GND 3Y

    3B

    3A

    4Y

    4B

    4A

    VCC

    J2

    0

    1

    5

  • 7/28/2019 2)Nand Nor Prac 2

    4/6

    Logic Design & Switching Circuits NAND-NOR GatesInstitute of Industrial Electronics

    Engineering

    For NOR Gate:

    0

    V1

    5 V

    J1

    2

    0

    R1

    100

    LED1

    34

    0

    0

    J2

    0

    5

    U1

    74LS02N

    1A

    1B

    1Y

    2A

    2B

    2Y

    GND

    3Y

    3B

    3A

    4Y

    4B

    4A

    VCC

    6

    PROCEDURE:

    Construct the circuit as shown below.

    Now close the dip switch and power-on the voltage source.

    Observe the status of the LED.

    Now open the dip switch and placed to ground state one by one and observe the

    status of the LED.

    SIMULATION RESULTS:NAND-Gate:

    NOR-Gate:

  • 7/28/2019 2)Nand Nor Prac 2

    5/6

    22

  • 7/28/2019 2)Nand Nor Prac 2

    6/6

    Logic Design & Switching Circuits NAND-NOR GatesInstitute of Industrial Electronics

    Engineering

    OBSERVATIONS:

    NAND-Gate:From the circuit It is being observed that the results are in accordance with the truth

    table, when we close one or both the dip switches the LED turns off while it is luminescentwhen the both the switches are open. Hence we have the Truth Table as our ObservationTable:

    INPUT OUTPUT

    A B X

    0 0 1

    0 1 1

    1 0 1

    1 1 0

    NOR-Gate:We observed that the results are in accordance with the truth table, when we closes

    both the dip switches the LED turns off while it is luminescent when one or both theswitches are open. Hence we have the Truth Table as our Observation Table:

    INPUT OUTPUT

    A B X

    0 0 1

    0 1 0

    1 0 0

    1 1 0

    CONCLUSION:We conclude that both the gates reacted as predicted by their respective truth table.