CSE 2341                                         LABORATORY ASSIGNMENT 2                                     Spring 1999
 
AN INTRODUCTION TO BASIC LOGIC GATES
(100 Points)

 
                PURPOSE: This lab will allow you to gain familiarity with the use of basic laboratory equipment, and with basic logic gates (AND, OR, NAND, NOR).

                EQUIPMENT NEEDED: IDL-800 Digital Lab trainer (IDL-800), DVM leads

                PARTS NEEDED: 7400, 7402, 7408, 7432, wire.

                Note how an integrated circuit's (IC's) pins are numbered. One end of the IC is marked with a small indentation in its plastic case. The indentation is indicated by a small rectangle in the drawing above. The pins are numbered in the counter-clockwise direction starting in the corner next to indentation. An alternate marking for ICs is a small circular dot right next to pin 1. You may encounter either type of markings on the ICs used in this lab.

                The numbers given to the ICs (7400, 7402, 7408 & 7432) are generic numbers. For the real ICs you will be using in these labs the part numbers have additional letters which vary from one manufacturer to another. A typical IC might be marked SN7400, or SN74LS00, or DM7400N. Many combinations exist, and often indicate special properties of an IC, but for these labs you should be concerned only with the generic type of the ICs you use.
 

                PROCEDURE: Complete each of the exercises detailed below, and record your results on your laboratory report. Have the lab instructor check your report and sign your compliance form after part 4. Turn in your signed compliance form with your laboratory report before leaving the laboratory.

                Part 1 (25 points):

                (a)    Install a 7400 (quad 2-input NAND gate) on the breadboard, connecting the pins to the IDL-800 as follows:

                        Pin 8 to display LED "LED0" Pin 7 to GND (Ground)

                        Pin 9 to data switch "SW0" Pin 14 to +5 volts

                        Pin 10 to data switch "SW1"

                (b) Complete the voltage table below. Measure both the input voltages and the corresponding output voltages with the digital voltmeter (DVM) built into the LT.
 
SW1 SW0 LED0
Off State Volts Off State Volts Output Volts
Off State Volts On State Volts Output Volts
On State Volts Off State Volts Output Volts
On State Volts On State Volts Output Volts
 

                (c) Assuming positive logic, construct a truth table from the voltage table. What logic function is realized?

 

 

 

 

 

 

                (d) Repeat (c) but, assume negative logic. For negative logic assume that the higher voltage state is a logic 0 and the lower voltage state is a logic 1 (both inputs and outputs).

 

 

 

 

 

 

                Part 2 (25 points):

                Repeat 1(a), (b), (c), and (d) for a 7402 instead of a 7400, connect the new IC as follows:

                        Pin 10 to display LED "LED0" Pin 7 to GND (Ground)

                        Pin 8 to data switch "SW0" Pin 14 to +5 volts

                        Pin 9 to data switch "SW1"

 

 

 

                Part 3 (25 points):

                (a) Install a 7408 on the breadboard and make the following connections to the IDL-800.

                        "SW0" -- Pins 1, 4, 9, 12 "SW1" -- Pins 2, 5, 10, 13

                        "LED0" -- Pin 3 "LED1" -- Pin 6

                        "LED2" -- Pin 8 "LED3" -- Pin 11

                           GND -- Pin 7 +5V -- Pin 14

                (b) Experimentally determine the truth table for the 7408 and record the results in the table below. Assume positive logic.
 
SW1 SW0 LED3 LED2 LED1 LED0
0 0        
0 1        
1 0        
1 1        
 
 

                (c) How many and what type gates are found in a 7408?

 

 

 

 

                Part 4 (25 points):

                Repeat part 3 (a), (b), and (c) using a 7432 instead of a 7408. Connect the new IC as follows:

                        "SW0" -- Pins 1, 4, 9, 12 "SW1" -- Pins 2, 5, 10, 13

                        "LED0" -- Pin 3 "LED1" -- Pin 6

                        "LED2" -- Pin 8 "LED3" -- Pin 11

                        GND -- Pin 7 +5V -- Pin 14

 

 

                CSE 2341 - Lab Number 2 Compliance Form

 

                ______________________________________________________________

                Student's Name                                                         Student's ID Number
 

                ______________________________________________________________

                Student's Signature
 

                ______________________________________________________________
 
                Lab assistant's approval (Part 5)