LAB #1 Introduction to Logic Gates

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

Objectives: Part 1: Build a simple power supply. CS99S Laboratory 1

ELEC EXPERIMENT 1 Basic Digital Logic Circuits

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

Gates, Circuits, and Boolean Algebra

Cornerstone Electronics Technology and Robotics I Week 15 Voltage Comparators Tutorial

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

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

ENGI 241 Experiment 5 Basic Logic Gates

Digital Fundamentals. Lab 8 Asynchronous Counter Applications

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

Digital Electronics Detailed Outline

WHO ANSWERED FIRST? FIND OUT WITH THIS QUIZ BUZZER KIT

GLOLAB Universal Telephone Hold

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

Introduction to Digital Logic with Laboratory Exercises

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

FREQUENCY RESPONSE OF AN AUDIO AMPLIFIER

LAB2 Resistors, Simple Resistive Circuits in Series and Parallel Objective:

ECEN 1400, Introduction to Analog and Digital Electronics

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

Controlling a Dot Matrix LED Display with a Microcontroller

Department of Electrical and Computer Engineering LED DISPLAY PROJECT

The components. E3: Digital electronics. Goals:

Lab 5 Operational Amplifiers

Figure 8-1 Four Possible Results of Adding Two Bits

CHAPTER 11: Flip Flops

Multiplexers Two Types + Verilog

Upon completion of unit 1.1, students will be able to

Karnaugh Maps (K-map) Alternate representation of a truth table

Massachusetts Institute of Technology Department of Electrical Engineering and Computer Science Microprocessor Project Laboratory

Lab 3 Rectifier Circuits

BOOLEAN ALGEBRA & LOGIC GATES

Basic Logic Gates Richard E. Haskell

Pulse Width Modulation (PWM) LED Dimmer Circuit. Using a 555 Timer Chip

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

Capacitive Touch Sensor Project:

Digital Logic Elements, Clock, and Memory Elements

Active Learning in the Introduction to Digital Logic Design Laboratory Course

Glolab Talking Phone Dial Monitor

Your Multimeter. The Arduino Uno 10/1/2012. Using Your Arduino, Breadboard and Multimeter. EAS 199A Fall Work in teams of two!

Experiment #5, Series and Parallel Circuits, Kirchhoff s Laws

1.1 The 7493 consists of 4 flip-flops with J-K inputs unconnected. In a TTL chip, unconnected inputs

DEPARTMENT OF INFORMATION TECHNLOGY

Lab 1: Full Adder 0.0

Robot Board Sub-System Testing. Abstract. Introduction and Theory. Equipment. Procedures. EE 101 Spring 2006 Date: Lab Section # Lab #6

8 coil stator 11 coil stator

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

A Digital Timer Implementation using 7 Segment Displays

Creating a Project with PSoC Designer

Ocean Controls RC Servo Motor Controller

PURDUE UNIVERSITY NORTH CENTRAL

Talon VFD / Inverter Meter

Building the AMP Amplifier

Lecture 12: More on Registers, Multiplexers, Decoders, Comparators and Wot- Nots

OPERATIONAL AMPLIFIERS

Measuring Electric Phenomena: the Ammeter and Voltmeter

Lab 7: Operational Amplifiers Part I

UMM AL-QURA UNIVERSITY

Electronic Circuit Construction:

Simplifying Logic Circuits with Karnaugh Maps

EXPERIMENT 2 TRAFFIC LIGHT CONTROL SYSTEM FOR AN INTERSECTION USING S7-300 PLC

Analog & Digital Electronics Course No: PH-218

CS311 Lecture: Sequential Circuits

COMBINATIONAL and SEQUENTIAL LOGIC CIRCUITS Hardware implementation and software design

GRADE 11A: Physics 5. UNIT 11AP.5 6 hours. Electronic devices. Resources. About this unit. Previous learning. Expectations

Lecture 8: Synchronous Digital Systems

AXE114S BINARY CLOCK. revolution Revolution Education Ltd. Web: Version /09/08 AXE114.PMD.

!Operation:!1. Connect an external power source to J1 (+ and - IN terminals). The

How to connect to a Class II router using a mobile-phone data cable specifically for Solwise & Safecom routers

Basic voltmeter use. Resources and methods for learning about these subjects (list a few here, in preparation for your research):

Welcome to this presentation on Switch Mode Drivers, part of OSRAM Opto Semiconductors LED Fundamentals series. In this presentation we will look at:

3.Basic Gate Combinations

Using Ohm s Law to Build a Voltage Divider

MC14001B Series. B Suffix Series CMOS Gates MC14001B, MC14011B, MC14023B, MC14025B, MC14071B, MC14073B, MC14081B, MC14082B

Accurate Measurement of the Mains Electricity Frequency

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

3-Digit Counter and Display

Counters and Decoders

Transistor Characteristics and Single Transistor Amplifier Sept. 8, 1997

Permanent Magnet Motor Kit, Magnetic Reed Type. (SKY-ReedMotorKit) Instructions

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

Lab 1 Diode Characteristics

SUPER SNOOPER BIG EAR

Lab 1: Study of Gates & Flip-flops

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

Using Ohm s Law to Build a Voltage Divider

EXPERIMENT 8. Flip-Flops and Sequential Circuits

SEMICONDUCTOR TECHNICAL DATA

Scaling and Biasing Analog Signals

Conversion Between Analog and Digital Signals

Wires & Connections Component Circuit Symbol Function of Component. Power Supplies Component Circuit Symbol Function of Component

OPERATIONAL AMPLIFIER

Design Project: Power inverter

Lecture 5: Gate Logic Logic Optimization

Chapter 2 Logic Gates and Introduction to Computer Architecture

Operating Manual Ver.1.1

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.

Transcription:

LAB #1 Introduction to Logic Gates LAB OBJECTIVES 1. Familiarization with the breadboard 2. Use of switches as inputs and light emitting diodes (LEDs) or LCD (liquid crystal display) as outputs 3. Acquiring design experience in using a truth table to implement a logic circuit 4. Experience in designing a circuit using the 7400 series logic gates 5. Using Boolean algebra to reduce a logic equation (and hardware) 6. Using K-maps as a reduction method for logic equations 7. Learning to create schematics and logic diagrams LAB PROCEDURE Lab 1 Part 1 Examine the breadboard. The breadboard can be set up with both switches (for inputs) and Light Emitting Diodes, LEDs (for outputs). This board is used when for testing circuit designs. The circuit designs and programs should be created prior to coming to lab. Investigate the breadboard and determine where the lines of continuity are (what lines of holes are connected to other lines of holes). Lab 1 Part 2 Identify the 7400 Series TTL gates and look up their data sheets; 7400, 7404, 7408 and 7432 find the gate pin outs for each chip. Describe in your lab report each of their functions. Also show their logic symbol, use the function in an equation and show the Truth Table for one gate in each of the integrated circuits. This needs to be done for each of the four integrated circuits (ICs) (chips). Lab 1 Part 3 Gate testing: Test each gate in the simulator (MultiSim). Verify the truth table of each gate. Create a truth table base on the information gathered in part 2, have a columns for both inputs (count in binary), a column for the output based on gate specification, another for the simulator results, and the last output column for the lab results. After testing each gate in the simulator, build up each gate on the breadboard. Use the components from the lab kit. Select the 7404 (a package of six INVERTERs usually called a hex INVERTER package). Place the 7404 chip across the center line (horizontal line) of your white breadboard and seat the device firmly (push down) on the breadboard. Find the dot that marks Pin 1 (most device have a notch at one end if so, Pin 1 is to the left of the notch and on the corner of the device.) Viewed from the top, pin numbers always go counter-clockwise. Using RED wire, connect Pin 14 to +5 volts. Using BLACK wire, connect Pin 7 to GROUND. One of the six INVERTERS has its input pin on Pin 1, and its corresponding output on Pin 2. Connect the INVERTER s input to a switch and the output to an LED. Test to see if the function works properly. Compare this output data to the truth table for this device. Go on and test to the other five gates as we call them. When you complete the 7404 IC, continue testing the other three Integrated Circuits (ICs). The 7400 is a quad NAND gate, the 7408 is a quad AND gate, and the 7432 is a quad OR gate. Test each gate of each Integrated Circuit (IC). Record your results for your lab report. Since each gate had two inputs, you must use two switches for each gate. You still only need one LED for the one output of each gate. Lab1 Part 4 Test all four chips together, there should be two inputs and four outputs, there should be an output for each function or gate type. Before building the circuit on the breadboard test the circuit in the simulator (MultiSim). Wire up one LED to each of the gate function s output. ALL the LEDs are connected at the same time. There should be 4 LEDs used: one for the NAND (7400), one for the NOT or Inverter (7404), one for the AND (7408), and one for the OR (7432). That takes care of the outputs. For the inputs you only need two switches that will connect to each gate. {note: the 7404 (inverter) only needs one switch connected to the input}. Your complete the circuit; it will have a total of 4 LEDS, and 2 switches (along with 4 ICs). Test and record the functions by observing the 4 outputs when you place the 4 possible input patterns 00, 01, 10, 11 on the switches. Create a schematic for this Part and put it in your lab report.

Breadboard example 7400 IC Chip Circuit Diagram 7400 package and pins showing pin outs

Here is some information about the 7400 Series TTL Integrated Circuits: Dot near pin 1 or Notch at top center PIN 1 PIN 2 PIN 3 PIN 4 PIN 5 PIN 6 Ground, PIN 7 PIN 14, +5 volts PIN 13 PIN 12 PIN 11 PIN 10 PIN 9 PIN 8 Top View of a 14 pin 74xx device Dual In-Line Package (DIP)

1. The transistor and inverter Exhibit 1.2: Breadboard Exhibit 1.3: Common connections The breadboard In order to build the circuit, a digital design kit that contains a power supply, switches for input, light emitting diodes (LEDs), and a breadboard will be used. Make sure to follow your instructor's safety instructions when assembling, debugging, and observing your circuit. You may also need other items for your lab such as: logic chips, wire, wire cutters, a transistor, etc. Exhibit 1.2 shows a common breadboard, while Exhibit 1.3 shows how each set of pins are tied together electronically. Exhibit 1.4 shows a fairly complex circuit built on a breadboard. For these labs, the highest voltage used in your designs will be five volts or +5V and the lowest will be 0V or ground. A few words of caution regarding the use of the breadboard: Keep the power off when wiring the circuit. Make sure to keep things neat, as you can tell from Exhibit 1.4, it is easy for designs to get complex and as a result become difficult to debug. Do not strip more insulation off of the wires used than is necessary. This can cause wires that are logically at different levels to accidentally touch each other. This creates a short circuit. Do not push the wires too far into each hole in the breadboard as this can cause two different problems. The wire can be pushed so far that only the insulation of the wire comes into contact with the breadboard, causing an open circuit. Too much wire is pushed into the hole; it curls under and ends up touching another component at a different logical level. This causes a short circuit. Use the longer outer rows for +5V on one side and ground on the other side. Wire power to the circuit first using a common color (say red) for +5V and another (black) for ground. Always make sure to have a clearly documented circuit diagram before you start wiring the circuit. 10

Lab 1 Introduction to Logic Gates Demo List Part Number Requirements Completed Part 1 Breadboard Continuity Figure describing lines of continuity on breadboard Part 2 Identify the 7400 series TTL gates Gate symbol for each chip Truth table for each chip Pin out diagram for each chip Part 3 Gate Testing Boolean operator for each gate Truth table containing Multisim results, and bread board results for each chip Part 4 Four chips on one breadboard Multisim with same LED order that is on expected truth table Boards with all four chip placed and wired with the same LED configuration as Multisim Truth table containing all the values found in lab Note 1: When saying Breadboard referring to building the device physically on the breadboard with all components