Name EGR 2131 Lab #2 Logic Gates and Boolean Algebra Objectives Equipment and Components Part 1: Reading Pin Diagrams 7400 (TOP VIEW)

Similar documents
Name EET 1131 Lab #2 Oscilloscope and Multisim

TECH 3232 Fall 2010 Lab #1 Into To Digital Circuits. To review basic logic gates and digital logic circuit construction and testing.

Lab# 13: Introduction to the Digital Logic

Experiment 5: Basic Digital Logic Circuits

EMT1250 LABORATORY EXPERIMENT. EXPERIMENT # 4: Combinational Logic Circuits. Name: Date:

Gates and Circuits 1

t w = Continue to the next page, where you will draw a diagram of your design.

2 Logic Gates THE INVERTER. A logic gate is an electronic circuit which makes logic decisions. It has one output and one or more inputs.

Name: Class: Date: 1. As more electronic systems have been designed using digital technology, devices have become smaller and less powerful.

This Figure here illustrates the operation for a 2-input OR gate for all four possible input combinations.

Sept 13 Pre-lab due Sept 12; Lab memo due Sept 19 at the START of lab time, 1:10pm

Schmitt Trigger Inputs, Decoders

Lab: Operational Amplifiers

Exercise 1: AND/NAND Logic Functions

3.1 There are three basic logic functions from which all circuits can be designed: NOT (invert), OR, and

Lecture #1. Course Overview

Gates and and Circuits

Digital Fundamentals. Logic gates

Exercise 2: OR/NOR Logic Functions

Lab Project #2: Small-Scale Integration Logic Circuits

Digital Fundamentals. Lab 4 EX-OR Circuits & Combinational Circuit Design

Exercise 1: Circuit Block Familiarization

Exercise 1: AC Waveform Generator Familiarization

2 A Simple Logic Gate

EK307 Lab 3 Spring Lab Assignment 3 Logic Gates

EENG-201 Experiment # 4: Function Generator, Oscilloscope

EGR Laboratory 3 - Operational Amplifiers (Op Amps)

Breadboard Primer. Experience. Objective. No previous electronics experience is required.

EXPERIMENT 1 PRELIMINARY MATERIAL

User Manual and Test Procedure

E85: Digital Design and Computer Architecture

ENG 100 Electric Circuits and Systems Lab 6: Introduction to Logic Circuits

Subject: Analog and Digital Electronics Code:15CS32

Experiment # 1 Introduction to Lab Equipment

PMOS Digital Testing at Rochester Institute of Technology

Digital Applications (CETT 1415) Credit: 4 semester credit hours (3 hours lecture, 4 hours lab) Prerequisite: CETT 1403 & CETT 1405

DIGITAL ELECTRONICS. Methods & diagrams : 1 Graph plotting : - Tables & analysis : - Questions & discussion : 6 Performance : 3

UNIVERSITI MALAYSIA PERLIS

Digital Fundamentals 8/29/2016. Summary. Summary. Floyd. Chapter 3 A X. The Inverter

Digital Systems Principles and Applications TWELFTH EDITION. 3-3 OR Operation With OR Gates. 3-4 AND Operations with AND gates

Combinational logic: Breadboard adders

Lab 7 (Hands-On Experiment): CMOS Inverter, NAND Gate, and NOR Gate

EXPERIMENT 12: DIGITAL LOGIC CIRCUITS

Digital Fundamentals 9/4/2017. Summary. Summary. Floyd. Chapter 3. The Inverter

Physics 335 Lab 1 Intro to Digital Logic

Lecture 15 Analysis of Combinational Circuits

Lab 0: Introduction to basic laboratory instruments. Revised by Dan Hoang & Tai-Chang Chen 03/30/2009

EXPERIMENT 5 Basic Digital Logic Circuits

Faculty of Engineering, Thammasat University

Lab 1 - Analogue and Digital Signals

Digital Fundamentals

EE 210 Lab Exercise #4 D/A & A/D Converters

Digital Electronics 1 (ET181) Laboratory Manual

DIGITAL ELECTRONICS: LOGIC AND CLOCKS

EGR Laboratory 9 - Operational Amplifiers (Op Amps) Team Names

16 Multiplexers and De-multiplexers using gates and ICs. (74150, 74154)

Oct 10 & 17 EGR 220: Engineering Circuit Theory Due Oct 17 & 24 Lab 4: Op Amp Circuits

Physics 323. Experiment # 1 - Oscilloscope and Breadboard

Digital Fundamentals

Lab Exercise 6: Digital/Analog conversion

Sequential Logic Circuits

DEPARTMENT OF ELECTRICAL ENGINEERING LAB WORK EE301 ELECTRONIC CIRCUITS

*X025/11/01* X025/11/01 ELECTRONIC AND ELECTRICAL FUNDAMENTALS INTERMEDIATE 2 NATIONAL QUALIFICATIONS 2015 WEDNESDAY, 3 JUNE 9.00 AM 11.

Digital Applications (CETT 1415) Credit: 4 semester credit hours (3 hours lecture, 4 hours lab) Prerequisite: CETT 1403 & CETT 1405

EE2210 Laboratory Project 1 Fall 2013 Function Generator and Oscilloscope

ECE 3160 DIGITAL SYSTEMS LABORATORY

Lecture 2: Digital Logic Basis

UNIVERSITY OF CALIFORNIA, DAVIS Department of Electrical and Computer Engineering. EEC 180A DIGITAL SYSTEMS I Winter 2015

Digital Logic Circuits

INTRODUCTION TO DIGITAL CONCEPT

Sequential Logic Circuits

ENGR 210 Lab 12: Analog to Digital Conversion

Experiment # 2 Characteristics of TTL Gates

Digital Fundamentals 8/25/2016. Summary. Summary. Floyd. Chapter 1. Analog Quantities

PHYSICS 536 Experiment 14: Basic Logic Circuits

Intro To Engineering II for ECE: Lab 7 The Op Amp Erin Webster and Dr. Jay Weitzen, c 2014 All rights reserved.

Exercise 1: EXCLUSIVE OR/NOR Gate Functions

OBJECTIVE TYPE QUESTIONS FOR PRACTICAL EXAMINATION Subject : Electronics-I ( EC 112)

EGRE 101 DC Motor II

LSN 3 Logic Gates. ECT 224 Digital Computer Fundamentals. Department of Engineering Technology

ECE Digital Logic Lecture 2. Digital Design Circuit Types: Combinational vs. Sequential

Lab #6: Op Amps, Part 1

Lab Manual Rev 2. General Information: Lab Report Format: EE360, Fall03, Kolk

CMOS Inverter & Ring Oscillator

EXPERIMENT 3 Circuit Construction and Operational Amplifier Circuits

Digital-to-Analog Converter. Lab 3 Final Report

Logic diagram: a graphical representation of a circuit

Department of Electronics and Communication Engineering

Experiment # 2 The Voting Machine

Computer-Based Project on VLSI Design Co 3/8

PS 12b Lab 1c IV Curves

ENGR 1110: Introduction to Engineering Lab 7 Pulse Width Modulation (PWM)

). The THRESHOLD works in exactly the opposite way; whenever the THRESHOLD input is above 2/3V CC

Lab: INTRODUCTION TO THE WAVEFORM GENERATOR AND THE OSCILLOSCOPE

LogicBlocks & Digital Logic Introduction

Verification of competency for ELTR courses

Electrical Engineering 40 Introduction to Microelectronic Circuits

EGCP 1010 Digital Logic Design (DLD) Laboratory #1

ENGINEERING TRIPOS PART II A ELECTRICAL AND INFORMATION ENGINEERING TEACHING LABORATORY EXPERIMENT 3B2-B DIGITAL INTEGRATED CIRCUITS

Government of Karnataka Department of Technical Education Board of Technical Examinations, Bengaluru

Transcription:

Name EGR 23 Lab #2 Logic Gates and Boolean Algebra Objectives ) Become familiar with common logic-gate chips and their pin numbers. 2) Using breadboarded chips, investigate the behavior of NOT (Inverter), OR, AND, NOR, NAND logic gates. 3) Understand how various gates can be used for Enable/Disable purposes. 4) Use logic gates to demonstrate some rules of Boolean algebra. Equipment and Components Safety glasses ETS-7 Digital-Analog Training System Tektronix TDS24 Digital Storage Oscilloscope ICs: 74, 742, 744, 748, 7432 Part : Reading Pin Diagrams To make connections in a circuit using ICs, you must be able to identify pin numbers, and identify each IC s power and ground pins. An example using the 74 chip is shown below. This IC has four 2-input NAND gates inside it. For one of these NAND gates, pins and 2 are the inputs and pin 3 is the output. 74 (TOP VIEW) No matter who the manufacturer is, pin numbers are standard. The 74 shown above is in a 4-pin Dual-in-Line package (DIP). The pin numbers are read -to-7 on one side (with pin on the left), as shown above. Pin 8 is right across from pin 7 and you read pins 8-to-4 on the other side, from right to left. Notice that the notch (or sometimes a dot) on one end of the DIP helps you orient it, as shown above. Sometimes pin may be identified by a printed on the package. EGR 23 Lab #2 - Page Revised 2/2/28

. Using Texas Instruments website (www.ti.com), draw gate symbols inside the IC outlines given below. Also label each pin with its pin number, as on the previous page. 742 744 748 7432 Part 2: Testing Gates on the Breadboard [A] Inverter.. Place an inverter chip (744) on the breadboard and provide it with power and ground. 2. Connect the first inverter s input (labeled x below) to one of the trainer s data switches. Connect the same inverter s output (labeled f) to one of the trainer s LEDs. 3. Test the inverter by observing the LED as you use the data switch to apply a HIGH () or a LOW () to the inverter s input. Record your observations in Truth Table. Truth Table 4. Ask me to check your work. Safety glasses? Circuit works? DIP inserted correctly? Using power/ground busses? Wire colors? 5. You re finished with this circuit and can take it apart. Input x EGR 23 Lab #2 - Page 2 Revised 2/2/28 Output f

[B] AND Gate.. Place a 2-input AND chip (748) on the breadboard and provide it with power and ground. Connect pins and 2 to two of the trainer s data switches, and connect pin 3 to an LED. Then complete Truth Table 2. Truth Table 2 x y f 748 2. Does your truth table seem correct for a 2-input AND gate? If so, take the circuit apart. [C] NAND Gate.. Label the gate shown below with its chip number and pin numbers. 2. Breadboard the gate, test it, and draw a complete truth table for it (Truth Table 3). 3. Ask me to check your work. Safety glasses? Circuit works? DIPs inserted correctly? Using power/ground busses? Wire colors? 4. Take the circuit apart. EGR 23 Lab #2 - Page 3 Revised 2/2/28

[D] OR Gate.. In the diagram shown below, label each gate with its chip number and pin numbers. 2. Breadboard the circuit, then test it using switches and an LED. Draw a complete truth table for it (Truth Table 4). 3. Ask me to check your work. Safety glasses? Circuit works? DIPs inserted correctly? Using power/ground busses? Wire colors? 4. You re finished with this circuit and can take it apart. [E] A More Complex Circuit. In the diagram below, label each gate with its chip number and pin numbers. 2. Breadboard the circuit, test it, and complete Truth Table 5. Truth Table 5 x y f 3. Ask me to check your work. Safety glasses? Circuit works? DIPs inserted correctly? Using power/ground busses? Wire colors? 5. You re finished with this circuit and can take it apart. EGR 23 Lab #2 - Page 4 Revised 2/2/28

Part 3: Using Gates for Enable/Disable. With the trainer s power turned off, connect an AND gate as shown below. Set the trainer s function generator to produce a 2 khz square wave at the TTL MODE terminal. To set your frequency accurately to 2 khz, use the Fluke 45 to measure the frequency. Don t rely on the labels next to the trainer s Frequency knob. Display the TTL MODE signal on the oscilloscope s Channel, and display output f on Channel 2. Don t display Channels 3 and 4. Set each channel s VOLTS/DIV setting to 5 V, and adjust the SEC/DIV control so that about four or five cycles of the waveforms are displayed. Below, use a straight-edge to draw the output f, first with the data switch set High, and then with the data switch set Low. If either output waveform is a flat line, label it as LOW or HIGH. TTL Mode Output f when Switch is High Output f when Switch is Low 2. Ask me to check your work. 3. Next, modify your circuit in the following way: Replace the AND gate with an OR gate. Set the trainer s function generator to produce a 7 Hz square wave at the TTL MODE terminal. To set your frequency accurately, use the Fluke 45 to measure the frequency. Don t rely on the labels next to the trainer s Frequency knob. On the next page, use a straight-edge to draw the output f, first with the data switch set High, and then with the data switch set Low. If either output waveform is a flat line, label it as LOW or HIGH. EGR 23 Lab #2 - Page 5 Revised 2/2/28

TTL Mode Output f when Switch is High Output f when Switch is Low 5. Ask me to check your work.. Then take the circuit apart. Part 4: Demonstrating Some Rules of Boolean Algebra Let s see how we can use breadboarded logic circuits to demonstrate three rules of Boolean algebra. The other rules of Boolean algebra could be demonstrated in a similar way. [A] Input x (from TTL Mode) Output f. Label the drawing above with chip number and pin numbers. 2. On the breadboard, connect two inverters as shown in the drawing. 3. For the circuit s input, use a 75 Hz square wave from the trainer s TTL MODE terminal. To set your frequency accurately, use the Fluke 45 to measure the frequency. Don t rely on the labels next to the trainer s Frequency knob. 4. Use your oscilloscope s Channel to display the input waveform x, and use Channel 2 to display the output waveform f. Turn off Channels 3 and 4. 5. Set each channel s VOLTS/DIV setting to 5 V, and adjust the SEC/DIV control so that about four or five cycles of the waveforms are displayed. 6. Arrange the waveforms with x in the screen s top half and f in the bottom half. 7. Use the MEASURE button to display the frequencies of both channels. 8. Ask me to check your work. 9. Question: Which rule of Boolean algebra does this circuit demonstrate? Give the rule s number and the actual statement of the rule. (Example: Rule 6b, x + = x. ) EGR 23 Lab #2 - Page 6 Revised 2/2/28

[B] Input x (from TTL Mode) Output f. Label the drawing above with chip numbers and pin numbers. 2. On the breadboard, connect two gates as shown in the drawing. 3. Change the TTL mode frequency to 6 Hz. 4. Display input x on your oscilloscope s Channel, and output f on Channel 2. Don t display Channels 3 or 4. 5. Adjust the SEC/DIV control so that about four or five cycles of the input waveform are displayed. 6. Use the MEASURE button to display the frequencies of Channels and 2. 7. Ask me to check your work. 8. Question: Which rule of Boolean algebra does this circuit demonstrate? [C]. In the space above, draw a logic circuit that demonstrates Rule 7a, x x = x. Label your drawing with chip number and pin numbers.. On the breadboard, build your circuit, using the trainer s TTL terminal for your input. 2. Display your circuit s input and output waveforms on the oscilloscope. 3. Ask me to check your work. EGR 23 Lab #2 - Page 7 Revised 2/2/28

Part 5: Review Questions.. How many NAND gates are there in one 74 chip? 2. How many NOT gates (inverters) are there in one 744 chip? 3. Of the following four chips--74, 742, 748, and 7432--which one is different from the other three in how the gates are laid out on the chip? Describe this difference. 4. Suppose you didn t have any 742 chips, but you needed to build a circuit equivalent to one of the gates on a 742. Which two chip numbers would you use? Draw a gate diagram showing how you would connect the gates from these two other chips. 5. Based on your observations in the first half of Part 3, explain the enable/disable function of an AND gate. In other words, explain how an AND gate can be used to pass or stop data applied to one of its inputs. Use complete sentences. 6. OR gates can also be used to perform an enable/disable function. Based on your observations in the second half of Part 3, how is an OR gate s behavior similar to an AND gate s behavior when both are used to perform the enable/disable function? How are they different? Use complete sentences. EGR 23 Lab #2 - Page 8 Revised 2/2/28