ENGI 241 Experiment 5 Basic Logic Gates



Similar documents
MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

1. True or False? A voltage level in the range 0 to 2 volts is interpreted as a binary 1.

Gates, Circuits, and Boolean Algebra

Having read this workbook you should be able to: recognise the arrangement of NAND gates used to form an S-R flip-flop.

Digital circuits make up all computers and computer systems. The operation of digital circuits is based on

CHAPTER 11: Flip Flops

ELEC EXPERIMENT 1 Basic Digital Logic Circuits

Basic Logic Gates Richard E. Haskell

FORDHAM UNIVERSITY CISC Dept. of Computer and Info. Science Spring, Lab 2. The Full-Adder

Gates & Boolean Algebra. Boolean Operators. Combinational Logic. Introduction

Digital Fundamentals. Lab 8 Asynchronous Counter Applications

CHAPTER 11 LATCHES AND FLIP-FLOPS

Lecture 8: Synchronous Digital Systems

The components. E3: Digital electronics. Goals:

3 The TTL NAND Gate. Fig. 3.1 Multiple Input Emitter Structure of TTL

Digital Electronics Detailed Outline

BOOLEAN ALGEBRA & LOGIC GATES

Upon completion of unit 1.1, students will be able to

Decimal Number (base 10) Binary Number (base 2)

DM74LS05 Hex Inverters with Open-Collector Outputs

SEQUENTIAL CIRCUITS. Block diagram. Flip Flop. S-R Flip Flop. Block Diagram. Circuit Diagram

Lab 11 Digital Dice. Figure Digital Dice Circuit on NI ELVIS II Workstation

Apprentice Telecommunications Technician Test (CTT) Study Guide

Experiment # 9. Clock generator circuits & Counters. Eng. Waleed Y. Mousa

Experiment 8 Series-Parallel Circuits

DM74LS00 Quad 2-Input NAND Gate

Digital Logic Elements, Clock, and Memory Elements

So far we have investigated combinational logic for which the output of the logic devices/circuits depends only on the present state of the inputs.

30. Bode Plots. Introduction

Counters and Decoders

3.Basic Gate Combinations

EGR 278 Digital Logic Lab File: N278L3A Lab # 3 Open-Collector and Driver Gates

Input, Process and Output

United States Naval Academy Electrical and Computer Engineering Department. EC262 Exam 1

Figure 8-1 Four Possible Results of Adding Two Bits

CD4001BC/CD4011BC Quad 2-Input NOR Buffered B Series Gate Quad 2-Input NAND Buffered B Series Gate

MM74C150 MM82C19 16-Line to 1-Line Multiplexer 3-STATE 16-Line to 1-Line Multiplexer

INTEGRATED CIRCUITS. For a complete data sheet, please also download:

Elementary Logic Gates

Lab 7: Operational Amplifiers Part I

Chapter 6 TRANSISTOR-TRANSISTOR LOGIC. 3-emitter transistor.

Chapter 2 Logic Gates and Introduction to Computer Architecture

RUTGERS UNIVERSITY Department of Electrical and Computer Engineering 14:332:233 DIGITAL LOGIC DESIGN LABORATORY

Chapter 10 Advanced CMOS Circuits

Table 1 Comparison of DC, Uni-Polar and Bi-polar Stepper Motors

MM74C150 MM82C19 16-Line to 1-Line Multiplexer 3-STATE 16-Line to 1-Line Multiplexer

National Quali cations Forename(s) Surname Number of seat. Date of birth Day Month Year Scottish candidate number

Chapter 1. Computation theory

Agilent Technologies 1670G Series (Option 004) Pattern Generator Specifications and Characteristics

Latches, the D Flip-Flop & Counter Design. ECE 152A Winter 2012

Sequential Logic Design Principles.Latches and Flip-Flops

Logic in Computer Science: Logic Gates

Gates. J. Robert Jump Department of Electrical And Computer Engineering Rice University Houston, TX 77251

DEGREE: Bachelor in Biomedical Engineering YEAR: 2 TERM: 2 WEEKLY PLANNING

Series and Parallel Circuits

CD4001BC/CD4011BC Quad 2-Input NOR Buffered B Series Gate Quad 2-Input NAND Buffered B Series Gate

Mixed Logic A B A B. 1. Ignore all bubbles on logic gates and inverters. This means

Electronics Technology

Physics. Cambridge IGCSE. Workbook. David Sang. Second edition Cambers & Sibley: IGCSE Physics Cover. C M Y K

MM74HC14 Hex Inverting Schmitt Trigger

DM Segment Decoder/Driver/Latch with Constant Current Source Outputs

Boolean Algebra Part 1

DM74121 One-Shot with Clear and Complementary Outputs

Diodes have an arrow showing the direction of the flow.

DEPARTMENT OF INFORMATION TECHNLOGY

EXPERIMENT 8. Flip-Flops and Sequential Circuits

Design and Development of Virtual Instrument (VI) Modules for an Introductory Digital Logic Course

CDA 3200 Digital Systems. Instructor: Dr. Janusz Zalewski Developed by: Dr. Dahai Guo Spring 2012

FB-DC3 Electric Circuits: Series and Parallel Circuits

Study Guide for the Electronics Technician Pre-Employment Examination

DM74LS47 BCD to 7-Segment Decoder/Driver with Open-Collector Outputs

COMBINATIONAL CIRCUITS

Karnaugh Maps & Combinational Logic Design. ECE 152A Winter 2012

MM54C150 MM74C Line to 1-Line Multiplexer

Tutorial 12 Solutions

Electronics I - Laboratory 1 Diode I/V Characteristics

School of Engineering Department of Electrical and Computer Engineering

2 : BISTABLES. In this Chapter, you will find out about bistables which are the fundamental building blocks of electronic counting circuits.

EE 42/100 Lecture 24: Latches and Flip Flops. Rev B 4/21/2010 (2:04 PM) Prof. Ali M. Niknejad

Circuits and Boolean Expressions

HCF4001B QUAD 2-INPUT NOR GATE

Module 3: Floyd, Digital Fundamental

BINARY CODED DECIMAL: B.C.D.

Analog & Digital Electronics Course No: PH-218

Lab 1: Study of Gates & Flip-flops

Chapter 2: Boolean Algebra and Logic Gates. Boolean Algebra

Binary Adders: Half Adders and Full Adders

CSE140: Midterm 1 Solution and Rubric

74VHC574 Octal D-Type Flip-Flop with 3-STATE Outputs

COMBINATIONAL and SEQUENTIAL LOGIC CIRCUITS Hardware implementation and software design

List of Experiment. 8. To study and verify the BCD to Seven Segments DECODER.(IC-7447).

Lecture-3 MEMORY: Development of Memory:

Lab #4 Thevenin s Theorem

earlier in the semester: The Full adder above adds two bits and the output is at the end. So if we do this eight times, we would have an 8-bit adder.

Preamble. Kirchoff Voltage Law (KVL) Series Resistors. In this section of my lectures we will be. resistor arrangements; series and

exclusive-or and Binary Adder R eouven Elbaz reouven@uwaterloo.ca Office room: DC3576

Experiment teaching of digital electronic technology using Multisim 12.0

Engr354: Digital Logic Circuits

74AC139 74ACT139 Dual 1-of-4 Decoder/Demultiplexer

EXPERIMENT 3: TTL AND CMOS CHARACTERISTICS

Transcription:

ENGI 24 Experiment 5 Basic Logic Gates OBJECTIVE This experiment will examine the operation of the AND, NAND, OR, and NOR logic gates and compare the expected outputs to the truth tables for these devices. The NOT function will be implemented using NAND and NOR gates. EUIPMENT AND PARTS REUIRED Protoboard DVM Logic Probe 74LS, 74LS2, 74LS8, 74LS32 2 each kω resistors INTRODUCTION The NOT circuit or inverter performs the basic logic function of complementation. It may be identified by the presence of a bubble on the input or the output of the traditional logic symbol or a triangle on the IEEE/IEC logic symbol as seen in Figure. The inverter has one input and one output and the output is the complement of the input. Figure contains the truth table for the NOT function. LOGIC DIAGRAM TRUTH TABLE A FIGURE All logic gates have two or more inputs and one output. These logic gates accept digital logic levels on their inputs and will provide a digital logic level output which is dependent on the type of logic gate and the inputs applied to the gate. For the TTL logic family, any gate input that is not connected will be treated as if a logic is present on that input. The number of different possible combinations of inputs is 2 n where n is the number of inputs. Therefore, four unique combinations of inputs are possible for a two input gate. FIGURE 2 The AND function is similar to the multiplication in mathematics, and provides a logic output only when all the inputs of the gate are at logic, and logic output for all other input combinations. Figure 2 contains the logic symbols and truth table for the AND function. The Boolean Equation for a 2 input AND gate, the Boolean Equation is: = AB <> Page

ENGI 24 Experiment 5 Basic Logic Gates FIGURE 3 The NAND function is the complement of the AND function and the logic symbols have the inversion on the output. The NAND function provides a logic on the output only when both inputs are logic, and a logic output for all other combinations. The logic diagrams and the truth table are in Figure 3. The Boolean Equation for a NAND gate is: = <2> FIGURE 4 The OR function is similar to the mathematical function of addition and the output for the OR gate may be analyzed using the laws of addition. The logic operator for the OR function is a + sign. The output will be logic only if all the inputs are logic, and the output will be logic anytime any input is at logic. The logic symbols and the truth table for the OR gate may be found in Figure 4 and the Boolean Equation for this function is: = A + B <3> FIGURE 5 The complement of the OR function is the NOR function and the logic symbol has the inversion present on the output. Figure 5 contains the logic diagram and the truth table for the NOR function and the Boolean Equation is: = A + B <4> If we take all the inputs of a NAND gate or a NOR gate and connect them together, we will have an inverter or NOT function. This may be useful in logic design when an inverter is required. If we have a NAND gate that is not used for the circuit and we need an inverter, we can construct the inverter by connecting all the inputs together and connecting the gate in the normal manner. The connection of the NAND gate and the NOR gate as an inverter may be found in Figure 6. FIGURE 6 FIGURE 7 Page 2

ENGI 24 Experiment 5 Basic Logic Gates PROCEDURE. Draw the entire logic diagram with pin functions for the 74LS, the 74LS2, the 74LS8, and the 74LS32. Label all pins and note their function. 2. Build the circuit of Figure 6 using the 74LS. Fill in Table with the logic levels using the 3. Build the circuit of Figure 6 using the 74LS2. Fill in Table 2 with the logic levels using the 4. Build the circuit of Figure 7 using the 74LS8. Fill in Table 3 with the logic levels using the 5. Build the circuit of Figure 7 using the 74LS. Fill in Table 4 with the logic levels using the 6. Build the circuit of Figure 7 using the 74LS32. Fill in Table 5 with the logic levels using the 7. Build the circuit of Figure 7 using the 74LS2. Fill in Table 6 with the logic levels using the logic probe, and the output voltage as measured with the DVM. 8. Construct the circuit of Figure 8 using only the 74LS2. Fill in Table 7 with the logic levels and voltages. FIGURE 8 9. Construct the circuit of Figure 9 using only the 74LS. Fill in Table 8 with the logic levels and voltages.. Leave one input of a 74LS8 unconnected and connect the other input to a logic level as indicated by the A input of Table 9. Fill in the table with the logic outputs observed.. Leave one input of a 74LS32 unconnected and connect the other input to a logic level as indicated by the A input of Table. Fill FIGURE 9 in the table with the logic outputs observed. 2. Leave one input of a 74LS unconnected and connect the other input to a logic level as indicated by the A input of Table. Fill in the table with the logic outputs observed. 3. Leave one input of a 74LS2 unconnected and connect the other input to a logic level as indicated by the A input of Table 2. Fill in the table with the logic outputs observed. Page 3

ENGI 24 Experiment 5 Basic Logic Gates DATA TABLES A Voltage A Voltage TABLE TABLE 2 TABLE 3 TABLE 4 TABLE 5 TABLE 6 TABLE 7 TABLE 8 Page 4

ENGI 24 Experiment 5 Basic Logic Gates TABLE 9 TABLE TABLE TABLE 2 UESTIONS. Explain the behavior of a 2 input TTL gate when one input is left open? 2. Draw the logic diagram of a 2 input NAND gate using only a 74LS2. 3. Draw the logic diagram of a 2 input AND gate using only a 74LS2. 4. Draw the logic diagram of a 2 input NOR gate using only a 74LS. 5. Draw the logic diagram of a 2 input OR gate using only a 74LS. 6. Draw the logic diagram and the truth table for a 4 input OR gate using only a 74LS32. 7. Draw the logic diagram and the truth table for a 3 input AND gate using only a 74LS8. Page 5