GEORGIA INSTITUTE OF TECHNOLOGY School of Electrical and Computer Engineering ECE 2020 Fall 2017 Lab #1: Digital Logic Module

Similar documents
The mystem Project Board Quick Start

Finite State Machine Lab

Standard Logic Chips and National Instruments ELVIS Breadboarding for Combinational Logic Circuits

Overview. Multiplexor. cs281: Introduction to Computer Systems Lab02 Basic Combinational Circuits: The Mux and the Adder

A B A+B

1 Discussion. 2 Pre-Lab

ECE 270 Lab Verification / Evaluation Form. Experiment 1

Experiment 3: Logic Simplification

Dept. of Electrical, Computer and Biomedical Engineering. Instrumentation for the data acquisition laboratory

NAND. Grade (10) Instructor. Logic Design 1 / 13

PART 1. Simplification Using Boolean Algebra

NAME EET 2259 Lab 3 The Boolean Data Type

Drexel University Electrical and Computer Engineering Department ECE 200 Intelligent Systems Spring Lab 1. Pencilbox Logic Designer

TECH 3821 Lab #2 Relay Driver with Computer Control

This Presentation Will

PHYC 500: Introduction to LabView. Exercise 16 (v 1.2) Controlling hardware with DAQ device. M.P. Hasselbeck, University of New Mexico

The data acquisition components, and their relationship to each other, are shown below.

Lab 4: Digital Electronics BMEn 2151 Introductory Medical Device Prototyping Prof. Steven S. Saliterman

COS 116 The Computational Universe Laboratory 7: Digital Logic I

Lab 4: Digital Electronics Innovation Fellows Program Boot Camp Prof. Steven S. Saliterman

Agilent 3630A Triple DC Power Supply. Agilent 34401A Digital Multimeter (DMM)

Experiment 9: Binary Arithmetic Circuits. In-Lab Procedure and Report (30 points)

CURIE Academy, Summer 2014 Lab 1: Computer Engineering Hardware Perspective Sign-Off Sheet

Digital Circuits. Page 1 of 5. I. Before coming to lab. II. Learning Objectives. III. Materials

Where to Start with NI ELVIS

ECE241 Digital Systems Lab 2 Altera Software Tutorial and Use

NI mydaq HANS-PETTER HALVORSEN, Telemark University College Department of Electrical Engineering, Information Technology and Cybernetics

Introduction to MATLABs Data Acquisition Toolbox, the USB DAQ, and accelerometers

LabVIEW Core 1. What You Need To Get Started. File Locations. The course installer places the course files in the following location: ni.

E40M Useless Box, Boolean Logic. M. Horowitz, J. Plummer, R. Howe 1

LAB #1 BASIC DIGITAL CIRCUIT

E40M Useless Box, Boolean Logic. M. Horowitz, J. Plummer, R. Howe 1

Outline for Today. Lab Equipment & Procedures. Teaching Assistants. Announcements

CSC 258 lab notes, Fall 2003

Lab 4: Introduction to ELVIS II+ Introduction to ELVIS II+

Programmable Logic Design Techniques I

ENGR 1000, Introduction to Engineering Design

Computer Interfacing Using LabView

Logic Gates and Boolean Algebra ENT263

EECS 140 Laboratory Exercise 5 Prime Number Recognition

Combinational Digital Design. Laboratory Manual. Experiment #3. Boolean Algebra Continued

User Manual. Printed: 11/6/2013 Filename: NATUM1 - National Instruments I/O Device for V+ User Manual, V1.1 Copyright 2003, SimPhonics Incorporated

REQUIRED MATERIALS Epiphany-DAQ board Wire Jumpers Switch LED Resistors Breadboard Multimeter (if needed)

ENGR 1000, Introduction to Engineering Design

EECE 2411/2211-Introduction to Electrical and Computer Engineering Lab. Lab 3

Basic Concepts. Task One: The Basic Latch. Laboratory Nine Latches, RAM & Android Architecture

EECS 140 Laboratory Exercise 4 3-to-11 Counter Implementation

Physics E-1bxl and PS3 Lab 4: Neuron Model 2016

Lab 16: Data Busses, Tri-State Outputs and Memory

Last Name Student Number. Last Name Student Number

AIO LN-USB. Features. N Series for USB Multifunction DAQ Unit (8ch AI, 2ch AO, 16ch DIO) AIO LN-USB 1. Ver.1.01

A3 A2 A1 A0 Sum4 Sum3 Sum2 Sum1 Sum

ME 224: EXPERIMENTAL ENGINEERING. Lecture 2

Date Performed: Marks Obtained: /10. Group Members (ID):. Experiment # 09 MULTIPLEXERS

ESE 570 Cadence Lab Assignment 2: Introduction to Spectre, Manual Layout Drawing and Post Layout Simulation (PLS)

Lab3: I/O Port Expansion

E85: Digital Design and Computer Engineering Lab 1: Electrical Characteristics of Logic Gates

Basic Electrical Measurements

This presentation will..

Introduction to laboratory exercises in Digital IC Design.

Pre-Laboratory #Boolean Expressions ECE 332

NAND/NOR Logic Gate Equivalent Training Tool Design Document. Team 34 TA: Xinrui Zhu ECE Fall Jeremy Diamond and Matthew LaGreca

ECE 103 In-Class Exercise L1 Guide

IME-100 ECE. Lab 3. Electrical and Computer Engineering Department Kettering University. G. Tewolde, IME100-ECE,

CSCB58 - Lab 0. Intro to The Lab & The DE2 Board. Prelab /4 Part I (in-lab) /1 Part II (in-lab) /1

LabVIEW Experiment 1 Light Sensor Calibration Using Arduino Data Acquisition (Arduino DAQ)

Labview. Masood Ejaz

Experiment # 5 Debugging via Simulation using epd

Digital Logic Design Exercises. Assignment 1

EK307 Lab: Microcontrollers

Lab 5 Nodal and Mesh Analysis

Theme 2: Introduction to Digital systems

Module 3B: Arduino as Power Supply

ENEE245 Digital Circuits and Systems Lab Manual

Hands-on Lab 2: LabVIEW NI-DAQ Basics 2

Discharge by touching: BNC coax shield, outlet metal cover plate, wire connected to GND

University of Florida EEL 3701 Dr. Eric M. Schwartz Department of Electrical & Computer Engineering Revision 0 12-Jun-16

ENEE245 Digital Circuits and Systems Lab Manual

EMBEDDED SYSTEMS COURSE CURRICULUM

Update on logistics ECS 15

Lab3: I/O Port Expansion

Engineering Project-I. Module 1: Familiarization of LabVIEW and the Vernier Toolkit

ECE383: Microprocessors Lab 9 Analog-to-Digital and Digital-to-Analog Conversion with I 2 C Serial EEPROM Data Storage

CHAPTER 5. Voltage Regulator

EXPERIMENT 6. CMOS INVERTERS AND CMOS LOGIC CIRCUITS

8051 Intermidiate Development Board. Product Manual. Contents. 1) Overview 2) Features 3) Using the board 4) Troubleshooting and getting help

INTRODUCTION TO LABVIEW

Lab #12: ArithmeticLogic Unit

EE 1315 DIGITAL LOGIC LAB EE Dept, UMD

PHYS 5061 Lab 1: Introduction to LabVIEW

Large Solderable Breadboard Hookup Guide

BE/EE189 Design and Construction of Biodevices Lecture 5. BE/EE189 Design and Construction of Biodevices - Caltech

3. Implementing Logic in CMOS

FUNCTION. AVDD Port1. I/O Buffer AVDD AK4254

Small rectangles (and sometimes squares like this

Data Acquisition Laboratory

Step-by-Step Data Acquisition Part II Exercise 2: Generating an Analog Output Waveform

AVR Intermediate Development Board. Product Manual. Contents. 1) Overview 2) Features 3) Using the board 4) Troubleshooting and getting help

PRELAB! Read the entire lab, and complete the prelab questions (Q1- Q3) on the answer sheet before coming to the laboratory.

To practice combinational logic on Logisim and Xilinx ISE tools. ...

Transcription:

GEORGIA INSTITUTE OF TECHNOLOGY School of Electrical and Computer Engineering ECE 2020 Fall 2017 Lab #1: Digital Logic Module GOAL To introduce the physical implementation of digital logic circuits including the use of logic gates, Boolean algebra, mixed logic, integrated circuits, and breadboards. CONTENTS Background Page 1 Prelab Assignment/Problems Page 3 Lab Procedures Page 4 Appendix A: Data Sheets for Gates Page 9 EQUIPMENT NEEDED NAND gate (7400) NOR gate (7402) NOT gate (7404) Jumper wires BACKGROUND Breadboard: Breadboards (also known as protoboards) make many connections under the board in order to reduce the number of wires that you have to connect. Typically, groups of 5 holes are connected. The side rails are lines of groups of 5 that are all connected. See Figure 1 below. Each vertical group of 5 holes is connected. Every hole in this horizontal line is connected. Figure 1. Breadboard Layout Integrated Chip: An integrated chip can have several gates (circuits) on it. For example, the MC74HC08AN chip has 4 AND gates wired as shown in Figure 2 below. It has 14 wire pins coming out 1/10

the sides, including a ground (GND) and a high voltage (V cc ). The notch is used to determine the orientation, so that PIN 1 is just to the left of the notch. Figure 2. MC74HC08AN Pin Layout Pin Diagram: A pin diagram helps to wire the circuit. A pin diagram simply puts appropriate pin numbers next to gate inputs and outputs. See Figure 3 below for an example of a pin diagram. Figure 3. Pin Diagram: This is interpreted as wiring the A input line to PIN 2 of the NOR gate IC, and PIN 1 of the NOR gate IC to PIN 1 of the NOT gate IC, etc. National Instruments mydaq: Digital Acquisition Boards (DAQs) are used to measure physical electrical signals and convert them into a form that can be viewed and stored digitally. The National Instruments mydaq also has analog and digital output signals. The digital input/output (DIO) lines are labeled 0 7 in the side view of the mydaq. Also shown below in Figure 4 are the digital ground (DGND) and the high voltage, +5v. The mydaq comes with several software instrument panels including a digital reader and digital writer panels. 2/10

Figure 4. National Instruments mydaq PRELAB ASSIGNMENT 1. Every Student needs to download the NI ELVISmx software, install it on your laptop, and bring your laptop to class. Make sure that the NI ELVIS Instrument Launcher software runs. This process takes about an hour to do. Failure to do this may result in not being able to perform the laboratory exercise. The software can be found on the National Instruments website at: http://www.ni.com/download/ni elvismx 4.5/4316/en For students using a MAC, you will need to install the software on a Windows partition and run it from there. The experiment will be done in pairs, so if you cannot get this software to run on your machine, then make sure that you arrange to have a partner who can run it. 2. View the introduction videos at: https://www.youtube.com/watch?v=psrfagdvyfs https://www.youtube.com/watch?v=kd0rhtmtcoq 3. Read the Background section of this laboratory exercise. 4. Do the pre lab circuit design problems. For each case, use mixed logic to design the circuit to be implement the logic expression with only NAND gates or NOR gates and NOT gates. Show the truth table for the circuit. PRELAB CIRCUIT DESIGN PROBLEMS A. Use mixed logic to design an implementation for F AB C using only NOR and NOT gates. Complete your work on page 7. Draw your final design using only the NOR and NOT gate symbols. Give the truth table for this expression. B. Use mixed logic to design an implementation for F A B CD using only NAND and NOT gates. Complete your work on page 8. Draw your final design using only the NAND and NOT gate symbols. Give the truth table for this expression. 3/10

LAB PROCEDURES A) mydaq Setup a. Connect the mydaq to your USB port. b. Start the NI ELVIS Instrument Launcher software. Click on the DigIn and DigOut icons to open the Digital Writer and Digital Reader. The panels will look like those in Figure 5 below. The digital IO lines can be configured as read lines (outputs from your circuit to be read by the mydaq) or write (outputs from the mydaq to your circuit). Select lines 0 3 as write lines and lines 4 7 as read lines. Figure 5. Digital Writer (left) and Digital Reader (right) c. The Digital Writer panel image shows that Lines 0 and 1 are set to high voltage (+5v). This is a logical value of 1. Lines 2 and 3 are set to low voltage (ground), which is a logical 0. The mouse is used to toggle the input values between 0 and 1. The indicator lights on both panels light with a logical 1 to that line. Click on the Run button when starting your measurements or the Stop button to end the experiment. Not working? Try this: If the available software screens do not give the icons for the digital writer or reader, then you may have started NI LabVIEW instead of NI Elvis Instrument Launcher. Terminate that program and try again. If the software does not seem to be working as expected, did you plug the mydaq into the computer USB port before starting the software? If not, then terminate the program and try to run it again with the hardware connected. 4/10

B) Connecting a NOT Gate This experiment is done with two person groups. Pick one partner to connect the IC and the wires and the other partner to work the software. You may coach each other, but please do not take over for your partner. a. Insert the NOT gate into your protoboard where the gate straddles the center gap. PLEASE REVIEW THE VIDEO FIRST. The pins are very fragile. Connect the digital ground to PIN 7 and high voltage +5v to PIN 14. Review the data sheet information in Figure 6 below on an Inverter IC (SN74LS04N). There are six NOT gates with inputs labeled 1A, 2A,,6A and corresponding outputs labeled 1Y, 2Y,,6Y. b. Connect a digital I/O line (any line 0, 1, 2, or 3) from the mydaq to NOT gate input 1A (PIN 1). Then connect an I/O line from 4 7 to the NOT gate output 1Y. c. Verify that you connected the NOT gate correctly by testing it (using the mydaq software) to make sure that if the input to the NOT gate is a 1, then the output is 0. Toggle the input to make sure that a 0 input yields a 1 output. Figure 6. Inverter IC (SN74LS04N) Pinout (left) and NOT Gate Diagram (right) Chips not working or not working as expected? Troubleshooting: Check the orientation of the chip, by seeing where the notch is in the chip and put the ground and +5V lines to the appropriate pins. Double check your digital input and output lines match the ones you are manipulating in software. If you hooked up to lines 2 and 3, then those are the ones you should be turning on and off. You have double checked all your connections and it still is not working properly. Use the digital output line to measure the power to the chip and the ground to the chip. (Connect line 4 to each of these and see if they have the appropriate levels, 0 or 1). Check for loose wires into the protoboard or out of the mydaq. Use the screw driver to refasten loose wires in the mydaq terminal. C) Connecting a NOR Gate Switch the roles of the partners so that you each have a chance to run the software and to configure the circuit. a. Insert the NOR gate into your protoboard where the gates straddle the center gap. The pins are very fragile. Connect the ground to PIN 7 and +5v to PIN 14. 5/10

b. Review the data sheet information below on a two input NOR gate (SN74LS02N). There are four NOR gates labeled 1 4, each having inputs A and B and output Y. So, inputs 1A and 1B go into the first NOR gate, which has the corresponding output 1Y. Figure 7. NOR Gate Pinout (left) and Logic Symbol (right) c. Connect digital I/O lines from the mydaq to the inputs to two NOR gates. d. Verify that you connected the NOR gate correctly by testing it to make sure that it implements the truth table for a NOR gate 6/10

D) Implement Part A) from the Prelab a. Draw the circuit below showing the final design. Including the pins (see the background section on pin diagrams). b. Give the truth table for the Boolean Algebra expression. TA Initials 7/10

E) Implement Part B) from the Prelab a. Draw the pin diagram showing the final design. b. Give the truth table for the Boolean Algebra expression. TA Initials 8/10

Appendix A: Datasheet information for different gates NAND Gate IC (74HC00) or (SN74LS00N): NOR Gate IC (74HC02) or (SN74LS02N): 9/10

NOT Gate IC (74HC04) or (SN74LS04N): 10/10