Digital Fundamentals. Lab 8 Asynchronous Counter Applications



Similar documents
Asynchronous counters, except for the first block, work independently from a system clock.

Counters and Decoders

DIGITAL ELECTRONICS. Counters. By: Electrical Engineering Department

EXPERIMENT 8. Flip-Flops and Sequential Circuits

To design digital counter circuits using JK-Flip-Flop. To implement counter using 74LS193 IC.

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

Lab 17: Building a 4-Digit 7-Segment LED Decoder

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

Design Example: Counters. Design Example: Counters. 3-Bit Binary Counter. 3-Bit Binary Counter. Other useful counters:

DEPARTMENT OF INFORMATION TECHNLOGY

ETEC 2301 Programmable Logic Devices. Chapter 10 Counters. Shawnee State University Department of Industrial and Engineering Technologies

DIGITAL COUNTERS. Q B Q A = 00 initially. Q B Q A = 01 after the first clock pulse.

Upon completion of unit 1.1, students will be able to

Digital Electronics Detailed Outline

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

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

WEEK 8.1 Registers and Counters. ECE124 Digital Circuits and Systems Page 1

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

The components. E3: Digital electronics. Goals:

Module 3: Floyd, Digital Fundamental

Contents COUNTER. Unit III- Counters

ELEC EXPERIMENT 1 Basic Digital Logic Circuits

ENGI 241 Experiment 5 Basic Logic Gates

Take-Home Exercise. z y x. Erik Jonsson School of Engineering and Computer Science. The University of Texas at Dallas

A Digital Timer Implementation using 7 Segment Displays

Counters & Shift Registers Chapter 8 of R.P Jain

Chapter 8. Sequential Circuits for Registers and Counters

Asynchronous Counters. Asynchronous Counters

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

BINARY CODED DECIMAL: B.C.D.

Lecture 8: Synchronous Digital Systems

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

Memory Elements. Combinational logic cannot remember

Counters. Present State Next State A B A B

Digital Logic Design. Basics Combinational Circuits Sequential Circuits. Pu-Jen Cheng

Cascaded Counters. Page 1 BYU

Wiki Lab Book. This week is practice for wiki usage during the project.

CHAPTER 11: Flip Flops

Operating Manual Ver.1.1

Digital Systems Based on Principles and Applications of Electrical Engineering/Rizzoni (McGraw Hill

Flip-Flops and Sequential Circuit Design. ECE 152A Winter 2012

Flip-Flops and Sequential Circuit Design

Gates, Circuits, and Boolean Algebra

6-BIT UNIVERSAL UP/DOWN COUNTER

Copyright Peter R. Rony All rights reserved.

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

COMBINATIONAL and SEQUENTIAL LOGIC CIRCUITS Hardware implementation and software design

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.

PLL frequency synthesizer

ECE380 Digital Logic

Gray Code Generator and Decoder by Carsten Kristiansen Napier University. November 2004

Two's Complement Adder/Subtractor Lab L03

Chapter 4 Register Transfer and Microoperations. Section 4.1 Register Transfer Language


Lab 1: Study of Gates & Flip-flops

A Lesson on Digital Clocks, One Shots and Counters

Lab 1: Full Adder 0.0

Figure 8-1 Four Possible Results of Adding Two Bits

CS311 Lecture: Sequential Circuits

CHAPTER IX REGISTER BLOCKS COUNTERS, SHIFT, AND ROTATE REGISTERS

DM54161 DM74161 DM74163 Synchronous 4-Bit Counters

Fundamentals of Digital Electronics

Digital Logic Design Sequential circuits

NTE2053 Integrated Circuit 8 Bit MPU Compatible A/D Converter

Systems I: Computer Organization and Architecture

Sequential Logic: Clocks, Registers, etc.

DM74LS169A Synchronous 4-Bit Up/Down Binary Counter

CHAPTER 11 LATCHES AND FLIP-FLOPS

3-Digit Counter and Display

COMBINATIONAL CIRCUITS

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.

A Lesson on Digital Clocks, One Shots and Counters

Digital Electronics Part I Combinational and Sequential Logic. Dr. I. J. Wassell

Napier University. School of Engineering. Electronic Engineering A Module: SE42205 Digital Design

Fig1-1 2-bit asynchronous counter

Lab #5: Design Example: Keypad Scanner and Encoder - Part 1 (120 pts)

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

DIGITAL TECHNICS II. Dr. Bálint Pődör. Óbuda University, Microelectronics and Technology Institute. 2nd (Spring) term 2012/2013

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

Conversion Between Analog and Digital Signals

DATA SHEETS DE COMPONENTES DA FAMÍLIA LÓGICA TTL GATES AND INVERTERS POSITIVES NAND GATES AND INVERTERS DESCRIÇÃO

Gates, Plexers, Decoders, Registers, Addition and Comparison

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

Chapter 9 Latches, Flip-Flops, and Timers

Lecture-3 MEMORY: Development of Memory:

Digital Systems Laboratory

Counters are sequential circuits which "count" through a specific state sequence.

74LS193 Synchronous 4-Bit Binary Counter with Dual Clock

LOGICOS SERIE Precios sujetos a variación. Ref. Part # Descripción Precio Foto Ref. Quad 2-Input NOR Buffered B Series Gate / PDIP-14

Design: a mod-8 Counter

Set-Reset (SR) Latch

Chapter 2 Logic Gates and Introduction to Computer Architecture

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

ASYNCHRONOUS COUNTERS

NOTE: The Flatpak version has the same pinouts (Connection Diagram) as the Dual In-Line Package.

RETRIEVING DATA FROM THE DDC112

DATA SHEET. HEF40193B MSI 4-bit up/down binary counter. For a complete data sheet, please also download: INTEGRATED CIRCUITS

Transcription:

Richland College Engineering Technology Rev. 0 B. Donham Rev. 1 (7/2003). Horne Rev. 2 (1/2008). Bradbury Digital Fundamentals CETT 1425 Lab 8 Asynchronous Counter Applications Name: Date: Objectives: To construct and evaluate a 1 counter built from a 74LS293 IC Decade and 4-Bit Binary Counters To develop a block diagram for a 24-hour digital clock. To design, construct, and evaluate a 24-hour clock. Suggested Reading Chapter 7, Digital Systems, Principals and Applications; Tocci Equipment: Circuit simulator (MultiSIM or an equivalent) Introduction: 74LS293 is an asynchronous ripple counter. Each device provides circuitry for a 3-bit counter, 4-bit counter, or divide by 2 circuit. The block and logic diagrams are shown in the following figures. CB VCC CA RO1 RO2 D (MSB) C B A (LSB) 74LS293 Block Diagram Page 1 of

CA RO1 RO2 CB, inputs tied to VCC internally A (LSB) B C D (MSB) Logic Diagram for 74LS293 The 74LS293 has four - flip-flops with outputs A, B, C, and D, where A is the LSB and D is the MSB. Each flip-flop has an asynchronous active-low CLEAR line that is connected to the output of a 2-input NAND gate. The NAND gate is used to create counters with a number less than the maximum (2 N ). Flip-flops B, C, and D are connected as a 3-bit ripple counter. Flip-flop A is not connected to the other flip-flops and can be used as a single divide-by-two circuit. There are clock inputs for both A and the 3-bit counter circuit. If a counter with a number greater than 8 is required, the output A can be connected externally to CB input to create a 4-bit ripple counter circuit. In this case, only the CA input is the clock for the circuit. If a counter requires more than 2 of the outputs to be connected to the NAND gate, an external AND gate must be added to one of the NAND gate inputs. Counters with a number larger than 1 can be created by cascading 74LS293 counters. The number is equal to the product of the individual numbers. For example, a 80 counter can be implemented as shown in the following figure (general block diagram, all of the wiring is not shown). 8 D Page 2 of

Procedure: 1. Construct the following 1 counter in MultiSIM. Note that the output A is tied to the CB clock input through an inverter to implement a 4-bit ripple counter. [The inverter is required due to a model error in the Multisim simulation. The CB model input is not NGT as the schematic symbol implies. The inverter must be used in your subsequent counter designs.] U3 DCD_HEX VCC 5V 4 3 2 1 U1 9 A A 5 11 B B 4 8 C R0(1) 13 D R0(2) 74LS293N 1 ey = Space 2. Record the display value for each clock (falling edge) in the following table. Clock Display Value 0 0 1 2 3 4 5 7 8 9 11 13 14 15 Page 3 of

3. What outputs must be connected to the NAND gate inputs (R01 & R02) to create a counter? R01 = R02 = 4. Modify the circuit and simulate to verify the circuit operates as a counter. 5. Add a counter by copying the and changing its R01/R02 connections. You can skip the isolated first stage of the 74LS293 and build the counter from the three upper bit flipflops. An inverter will still be necessary on the CB input. Input 4 of the hex display must be grounded for stage. Simulate to verify the circuit operates as a counter. 74LS293N for CA RO1 RO2 CB A (LSB) B C D (MSB) TO R02 TO R01. The following is a general block diagram for a digital clock. A 24-hour clock is to be designed using 5 counters plus a single flip-flop. Label the # for each of the counter blocks shown to produce a 24 hour clock. AM/PM Hours Section Minutes Section Seconds Section 2 7. Implement the 24-hour clock in MultiSIM or an equivalent circuit simulator using 74LS293 ICs. Use 7-segment displays (demonstrated in procedure 1 & 3) to display the time. Use a LED probe to indicate AM and PM. Use a 5V, 1kHz output clock generator from the AC source menu box (upper right). 8. The counter should display counts of 1 to (hex C). The counter you build will count from 0 to 11 (hex B). Run the counter output bits through a 74HC283N-4V full adder with the B inputs grounded and the carry-in set to Vcc. The sum bits will attach to the hex display. This will add 1 so that the display works correctly. 9. The AM/PM flip-flop (PGT generic type-d wired to toggle) should be clocked when the display changes from 11 to since AM begins at midnight and PM begins at noon. Since the Page 4 of

counter 11 (11) corresponds to the display due to the adder, use an AND gate to decode the 11 to provide the rising edge to trigger the AM/PM flip-flop.. It is quicker to run two identical 0 counters from the same clock instead of waiting for the seconds to trigger the minutes. Also run the + AM/PM directly from the clock to save time. Label the schematic so that each section (seconds, minutes, hours, etc.) and number of each counter can be clearly identified. Demonstrate the operation of the circuit to your instructor, when approved print a copy of the schematic. ATTACH A COPY OF THE MULTISIM SCHEMATIC TO THE LAB. AM/PM Hours Section Minutes Section Seconds Section 2 1 Hz CLOC Page 5 of

Review uestions: Answer the following questions after the lab is completed. 1. What is the advantage of using a 74LS293 component versus constructing a 1 counter out of discrete - flip-flops? 2. What is the largest counter that can be implemented by cascading two 74LS293 components together? 3. What is the number of the 74LS293 circuit shown below? VCC 5V U1 9 A A 5 11 B B 4 8 C R0(1) 13 D R0(2) 74LS293N 1 ey = Space Page of