Lab# 13: Introduction to the Digital Logic

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

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

Exercise 1: EXCLUSIVE OR/NOR Gate Functions

Schmitt Trigger Inputs, Decoders

Exercise 1: AND/NAND Logic Functions

+15 V 10k. !15 V Op amp as a simple comparator.

4-bit counter circa bit counter circa 1990

Lab #6: Op Amps, Part 1

Gates and Circuits 1

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

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

CSE208W Lecture #1 Notes Barry E. Mapen

E85: Digital Design and Computer Architecture

National Quali cations Date of birth Scottish candidate number

4-bit counter circa bit counter circa 1990

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

Experiment 5: Basic Digital Logic Circuits

EGR Laboratory 3 - Operational Amplifiers (Op Amps)

UNIVERSITI MALAYSIA PERLIS

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

Lab 8: SWITCHED CAPACITOR CIRCUITS

Exercise 2: OR/NOR Logic Functions

o What happens if S1 and S2 or S3 and S4 are closed simultaneously? o Perform Motor Control, H-Bridges LAB 2 H-Bridges with SPST Switches

Gates and and Circuits

ELEC 2210 EXPERIMENT 12 NMOS Logic

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

University of Portland EE 271 Electrical Circuits Laboratory. Experiment: Op Amps

EXPERIMENT 12: DIGITAL LOGIC CIRCUITS

EK307 Lab 3 Spring Lab Assignment 3 Logic Gates

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

Physics 335 Lab 1 Intro to Digital Logic

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

PS 12b Lab 1c IV Curves

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.

Analog-to-Digital Conversion

Digital Electronics & Chip Design

Autonomous Robot Control Circuit

Logic diagram: a graphical representation of a circuit

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

Department of EECS. University of California, Berkeley. Logic gates. September 1 st 2001

Process Components. Process component

Multiple input gates. The AND gate

Electronics Fundamentals Courseware

Use the fixed 5 volt supplies for your power in digital circuits, rather than the variable outputs.

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

In this experiment you will study the characteristics of a CMOS NAND gate.

CHEM 411L Instrumental Analysis Laboratory Revision 2.0. Amplifiers

OCR Electronics for A2 MOSFETs Variable resistors

Hello, and welcome to the TI Precision Labs video series discussing comparator applications. The comparator s job is to compare two analog input

Chapter 4 Logic Functions and Gates

Experiment # 2 The Voting Machine

UNIT 2. Digital Signals: The basics of digital encoding and the use of binary systems.

BMC040. Dual Logic. Last updated

ET475 Electronic Circuit Design I [Onsite]

University of North Carolina, Charlotte Department of Electrical and Computer Engineering ECGR 3157 EE Design II Fall 2009

ART AND ELECTRICITY ORIGINS

Sequential Logic Circuits

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

1.) If a 3 input NOR gate has eight input possibilities, how many of those possibilities result in a HIGH output? (a.) 1 (b.) 2 (c.) 3 (d.) 7 (e.

Digital Fundamentals

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

Introduction to Electronics. Dr. Lynn Fuller

Lecture 15 Analysis of Combinational Circuits

Sequential Logic Circuits

BME/ISE 3512 Bioelectronics. Laboratory Five - Operational Amplifiers

ECE/CoE 0132: FETs and Gates

Quad Audio Switch REV. B BLOCK DIAGRAM OF ONE SWITCH CHANNEL

USER MANUAL FOR THE LM2901 QUAD VOLTAGE COMPARATOR FUNCTIONAL MODULE

Module for Lab #14: Basic Logic Circuits and Functions

INTRODUCTION. Figure 1 Three-terminal op amp symbol.

BME 3512 Bioelectronics Laboratory Five - Operational Amplifiers

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

Workshop Part Identification Lecture N I A G A R A C O L L E G E T E C H N O L O G Y D E P T.

Mechatronics. Analog and Digital Electronics: Studio Exercises 1 & 2

Electronics Technology and Robotics I Week 5 Resistors and Potentiometers

EXPERIMENT 3 Circuit Construction and Operational Amplifier Circuits

Lecture Week 4. Homework Voltage Divider Equivalent Circuit Observation Exercise

Lab Exercise # 9 Operational Amplifier Circuits

Lecture 0: Introduction

ECE 5670/6670 Project. Brushless DC Motor Control with 6-Step Commutation. Objectives

A B. 1 (a) (i) Fig shows the symbol for a circuit component. Fig Name this component. ... [1]

40106 Hex Oscillator Workshop Instructions. bbob drake, aka fluxmonkey

EE2304 Implementation of a Stepper Motor using CMOS Devices Fall 2004 WEEK -2-

EXPERIMENT 5 Basic Digital Logic Circuits

Experiment A3 Electronics I Procedure

Practice Homework Problems for Module 1

Chapter 6 Digital Circuit 6-6 Department of Mechanical Engineering

Laboratory 8 Operational Amplifiers and Analog Computers

Intro to Electronics. Week 1

EE 210 Lab Exercise #5: OP-AMPS I

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

Quad SPST JFET Analog Switch SW06

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

EE 368 Electronics Lab. Experiment 10 Operational Amplifier Applications (2)

Lab #10: Finite State Machine Design

EXAMPLE. Use this jack for the red test lead when measuring. current from 0 to 200mA. Figure P-1

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

(c) Figure 1.1: Schematic elements. (a) Voltage source. (b) Light bulb. (c) Switch, open (off). (d) Switch, closed (on).

;UsetJand : Llto Record the truth. LAB EXERCISE 6.1 Binary Adders. Materials. Procedure

RC Interface Controller Board Assembly and Operation

Transcription:

Lab# 13: Introduction to the Digital Logic Revision: October 30, 2007 Print Name: Section: In this lab you will become familiar with Physical and Logical Truth tables. As well as asserted high, asserted low, active low, and active high logic. In this exercise, you will implement six simple circuits, each using one of six basic logic chips. Each of the logic gates requires two input signals, and the same two inputs can drive all circuits at the same time. These two inputs arise from two slide switches. The output of each logic gate will be connected to an LED. Note that all of the chips have more than one logic gate for this exercise, you can simply ignore all but one gate. The six logic chips are: 74HC00 74HC02 74HC04 74HC08 74HC32 74HC86 quad two-input NAND gate quad two-input NOR gate hex inverter quad two-input AND gate quad two-input OR gate quad two-input XOR gate. In this lab we will utilize pull-up resistors and pull-down resistors in conjunction with a SPST switch to create the input signals for the logic gate (SPST = single pole single throw). The two examples are shown below. Typically the smaller of the two resistors is simply made ~0Ω (a wire). The schematic on the left is the pull up. The output is pulled up to LHV thorough the R 1 pull-up resistor. You can also think of this as a weak connection to LHV. When the switch is closed, the output is pulled down to LLV. (Think voltage divider with R 1 >>R 2.) The complementary circuit is the pull down (the schematic at the right). You will measure physical truth tables and logical truth tables. The physical truth table is simply the physical behavior of the circuit. The logical truth table depends on the logical meaning attached to the voltages. A logic signal is said to be asserted high or active high when LHV is true (1) and LLV is false (0). The opposite case is logic signal that are asserted low or active low when LLV is true (1) and LHV is false (0). As we will see, the two definitions result in different logical operations from the SAME physical truth table! Exercise #1 Submission Form 6 Pages

Lab # 13 Page 2 Common Buss resistor network SIP package. Pin one is the common buss. Pin 1 is indicated by a dot or a line. In this lab we will make use of SIP resistor networks with a common buss to simplify construction of our circuits. Common buss means that one of the pins of the package connects to one leg of all the other resistors. What is really nice is that they fit into you breadboard and to is a very easy way to make pull ups and pull downs. You will be provided with 22Ω, 100Ω and 10K SIP resistors. The 10K resistors are for the pull ups and pull downs (the weak connections). The 22Ω SIP resistors are used as the small resistor to work against the pull-up and pull-down resistors. Typically these connections would just be wires, but then you d need lots of wires. If we use the 22Ω SIP resistor, we can save time. The 100Ω Sip resistors will be used as the current limiting resistors for your LEDs. Eight independent SPDT switches in a 16-pin DIP package. The SPDT switches make connection between the pins on the opposite rows (see diagram). The switches you will use are also in a DIP package. Insert these into the breadboard straddling the grove as you did with the op amp. The switch is closed when the slide actuator is positioned against the side labeled on. Red LED x10 in a 20-pin DIP package. Pin one is indicated by notch. The LED anodes are on the same side as pin one. The LEDs are also in a DIP package. This package has ten independent LEDs. Insert these into the breadboard straddling the grove as you did with the op amp. The polarity is shown by the notch, which identifies pin 1.

Lab # 13 Page 3 This information is included for reference. Note all the logic chips have VDD (+5V) and GND (common) at diagonally opposite ends of the chip, for 14-pin dips these are pins 14 and 7, respectively. NOTE: Four of the chips have the inputs and outputs mapped to the same pins. The exception is the NOR. The inverter is also different in this regard.

Lab # 13 Page 4 Part 1. Build the circuit above. Construct the physical truth table for each of the gates. To do this, record the output voltages for all four combinations of input voltages. Use you DMM to measure the voltages with respect to the circuit common. In your table enter LHV for ~+5 V and LLV for ~0 V. Also complete the table for the switch and the LED chip SW1 SW2 00 02 04 08 32 86 device Now construct the logical truth table. For the inputs, take switch on (closed) = 1, and the switch off (open) = 0. For the outputs take the LED off = 0 and the LED on =1. In the last line of the table, state the logic operation performed by each gate (use the logical truth table). SW1 SW2 00 02 04 08 32 86 0 0 0 1 1 0 1 1 logic physical LLV/LHV device state LLV LLV switch off (open) LLV LHV output on (closed) LHV LLV LED off (dark) LHV LHV input on (illum)

Lab # 13 Page 5 Part 2. Build the circuit above. Construct the physical truth table for each of the gates. To do this, record the output voltages for all four combinations of input voltages. Use you DMM to measure the voltages with respect to the circuit common. In your table enter LHV for ~+5 V and LLV for ~0 V. Also complete the table for the switch and the LED chip SW1 SW2 00 02 04 08 32 86 device Now construct the logical truth table. For the inputs, take switch on (closed) = 1, and the switch off (open) = 0. For the outputs take the LED off = 0 and the LED on =1. In the last line of the table, state the logic operation performed by each gate (use the logical truth table). SW1 SW2 00 02 04 08 32 86 0 0 0 1 1 0 1 1 logic physical LLV/LHV device state LLV LLV switch off (open) LLV LHV output on (closed) LHV LLV LED off (dark) LHV LHV input on (illum)

Lab # 13 Page 6 Questions (60 homework points) Give short answers to the following questions. 1. (5 points) What is a signal in a digital circuit? 2. (6 points) How is pin 1 of an IC located (give two methods) 3. (12 points) An LED requires 20mA of current to show the presence of a LHV output in a 3.3 V system. The LED requires a 1.3V drop in order to emit light. What size of current-limiting resistor should be used? Sketch the circuit. 4. (5 points) How much power is dissipated in the resistor in the problem above? 5. (12 points) In you circuit, a 100Ω resistor was used with the LED and 5 V as the power supply. Assuming that V f =1.3 V for the diode. Find the current through the diode and the power dissipated in the resistor. 6. (10 points) In part 1, is the assertion level high or low? In part 2? 7. (10 points) The chips you used have standard logic labels, for example the 00 is a NAND. (See the figure in this lab.) Do these logic operations correspond to a high or low assertion level?