Keyword: Stop Watch, 555 Timer, logic gate IC, Multisim, PSPICE

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

ANALOG TO DIGITAL CONVERTER

ENGR-4300 Electronic Instrumentation Quiz 3 Spring 2011 Name Section

VCC. Digital 16 Frequency Divider Digital-to-Analog Converter Butterworth Active Filter Sample-and-Hold Amplifier (part 2) Last Update: 03/19/14

Java Bread Board Introductory Digital Electronics Exercise 2, Page 1

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

Electronic Instrumentation

DEPARTMENT OF ELECTRICAL ENGINEERING LAB WORK EE301 ELECTRONIC CIRCUITS

Electric Circuit Fall 2017 Lab8 LABORATORY 8. Audio Synthesizer. Guide

TIL306, TIL307 NUMERIC DISPLAYS WITH LOGIC

Data Logger by Carsten Kristiansen Napier University. November 2004

PHYSICS 536 Experiment 14: Basic Logic Circuits

CONTENTS Sl. No. Experiment Page No

ENGR-4300 Fall 2008 Test 3. Name. Section 1(MR 8:00) 2(TF 2:00) (circle one) Question I (20 points) Question II (15 points) Question III (20 points)

ASTABLE MULTIVIBRATOR

EE283 Electrical Measurement Laboratory Laboratory Exercise #7: Digital Counter

Practical Workbook Logic Design & Switching Theory

Lab 5. Binary Counter

Department of Electronics and Communication Engineering

HIGH LOW Astable multivibrators HIGH LOW 1:1

Process Components. Process component

Lab# 13: Introduction to the Digital Logic

Digital Logic Troubleshooting

EE-110 Introduction to Engineering & Laboratory Experience Saeid Rahimi, Ph.D. Lab Timer: Blinking LED Lights and Pulse Generator

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

FRIDAY, 18 MAY 1.00 PM 4.00 PM. Where appropriate, you may use sketches to illustrate your answer.

Experiment EB2: IC Multivibrator Circuits

ULTRASONIC TRANSMITTER & RECEIVER

Multivibrators. Department of Electrical & Electronics Engineering, Amrita School of Engineering

Assignment /01

Module -18 Flip flops

M74HC690TTR DECADE COUNTER/REGISTER (3-STATE)

Fan in: The number of inputs of a logic gate can handle.

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

Electric Circuit Fall 2016 Pingqiang Zhou LABORATORY 8. Audio Synthesizer. Guide

LOGIC DIAGRAM: HALF ADDER TRUTH TABLE: A B CARRY SUM. 2012/ODD/III/ECE/DE/LM Page No. 1

Lab #10: Finite State Machine Design

Lab 6. Binary Counter

SRV ENGINEERING COLLEGE SEMBODAI RUKMANI VARATHARAJAN ENGINEERING COLLEGE SEMBODAI

2 A Simple Logic Gate

555 Timer and Its Application

Project 3 Build a 555-Timer

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

ENGR-4300 Electronic Instrumentation Quiz 3 Fall 2010 Name Section

Microprocessor & Interfacing Lecture Programmable Interval Timer

Sequential Logic Circuits

Introduction to IC-555. Compiled By: Chanakya Bhatt EE, IT-NU

Linear Integrated Circuits

11 Counters and Oscillators

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

0 0 Q Q Q Q

Draw in the space below a possible arrangement for the resistor and capacitor. encapsulated components

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

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

ELECTROVATE. Electromania Problem Statement Discussion

Controller Implementation--Part I. Cascading Edge-triggered Flip-Flops

Breadboard Traffic Light System

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

Digital Logic Circuits

Lab 8: SWITCHED CAPACITOR CIRCUITS

COMBINATIONAL and SEQUENTIAL LOGIC CIRCUITS Hardware implementation and software design

IES Digital Mock Test

LIST OF EXPERIMENTS. KCTCET/ /Odd/3rd/ETE/CSE/LM

To design/build monostable multivibrators using 555 IC and verify their operation using measurements by observing waveforms.

MODULE TITLE : OPERATIONAL AMPLIFIERS TOPIC TITLE : OSCILLATORS LESSON 2 : RELAXATION OSCILLATORS

Logic 0 Logic To provide an output load (or two) 5 Voltage Measurement Point V CC +5 74LS00 GND

Name EET 1131 Lab #2 Oscilloscope and Multisim

Low Voltage, High Current Time Delay Circuit

Sales: Technical: Fax:

DIGITAL ELECTRONICS: LOGIC AND CLOCKS

HD44102D. (Dot Matrix Liquid Crystal Graphic Display Column Driver) Features. Description. Ordering Information

. HIGH SPEED .LOW POWER DISSIPATION M54/74HC690/691 M54/74HC692/693

Analog-to-Digital Conversion

Police Siren Circuit using NE555 Timer

CHAPTER 4: 555 TIMER. Dr. Wan Mahani Hafizah binti Wan Mahmud

15EI205L-ANALOG AND DIGITAL INTEGRATED CIRCUITS LABORATORY MANUAL

Digital Design and System Implementation. Overview of Physical Implementations

Design and Technology

Experiment 5: Basic Digital Logic Circuits

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

Winter 14 EXAMINATION Subject Code: Model Answer P a g e 1/28

DM74AS169A Synchronous 4-Bit Binary Up/Down Counter

Sr. No. Instrument Specifications. TTL (Transistor-Transistor Logic) based on bipolar junction transistors

Electronic Buzzer for Blind

UNIVERSITY OF BOLTON SCHOOL OF ENGINEERING BENG (HONS) ELECTRICAL & ELECTRONICS ENGINEERING SEMESTER TWO EXAMINATION 2017/2018

6-Bit A/D converter (parallel outputs)

NE556 SA556 - SE556 GENERAL PURPOSE DUAL BIPOLAR TIMERS

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION (Autonomous) (ISO/IEC Certified) SUMMER-16 EXAMINATION Model Answer

PC-OSCILLOSCOPE PCS500. Analog and digital circuit sections. Description of the operation

Lab 8. Stepper Motor Controller

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

EE Laboratory 4 - First Order Circuits *** Due in recitation on the week of June 2-6, 2008 ***

Electronics. RC Filter, DC Supply, and 555

1. LINEAR WAVE SHAPING

TapTation. General Datasheet and Application Note Rev. v1.0. Applications:

M74HC160TTR SYNCHRONOUS PRESETTABLE 4-BIT COUNTER

Obsolete Product(s) - Obsolete Product(s)

MM74C925 MM74C926 MM74C927 MM74C928 4-Digit Counters with Multiplexed 7-Segment Output Drivers

Lab 2 Revisited Exercise

Output format same as L, except that when HP1 or HP2 is active, it will clear CP1. VDD GND OSC. Rx IN HP1 CODE 2 HP2 SC9149AL/ 9149AHN HP3 HP4 SP2

Transcription:

The design and establishment of a multi-function Stop Watch Abstract This report intends to record the conduction process of the stopwatch project. The project requirement was to build a digital clock circuit that can counter 1 minute on a breadboard using at least two counters. The achievement of this project of the group was that a digital clock that included three counters with additional functions such as buzzer, speeding shifting, and preset functions was constructed and simulated successfully. the apparatus used were primarily IC chips such as 74160, 7447 and a big breadboard to build complex and big circuit that was designed. An expected future improvement of conducting this kind of project was that the circuit out-looking was expected to be more clear and beautiful if possible. To achieve this, skillful wiring ability and enough wiring practice are needed. Keyword: Stop Watch, 555 Timer, logic gate IC, Multisim, PSPICE 1. Introduction This project was to design and simulate a circuit for a digital clock that counts from 1 to 59 seconds with switches to control the circuit by pausing, resetting or turning on/off it. The clock should be built on a breadboard using electronic components including IC chips 74160 [1], 7447, 7404, 7408 [2] etc, 7-segment LED [3], switches, buzzer and other logic gates. The accuracy degree of counters is set to 0.1 by adding one more counters (74160). The buzzer rings every half minute (when reaching 29/59 seconds). The LEDs bright each time when the 1 second unit bit changes digit. 2. Theory The whole complete simulation circuit screenshot is presented in Figure 2.1. 1

Figure 2.1: Whole Circuit As can be seen in Figure 2.1, the circuit primarily consists of these modules: timer, three counters, three decoders and their connected 7-segment LED, a buzzer and its connected logic gates, and three switches of pausing/turn-on(off)/reset. A brief summary of how this circuit work can be like this: First, the timer provides a clock signal which is actually a rectangular waveform signal; Then, since the counters in this circuit are designed to be synchronous counters, this clock signal is transported into the CLK pins of each counter (from left to right are respectively 10,1,and 0.1 bit); Subsequently, the counters output their correspondingly generated signals from QA, QB, QC, and QD pins into their connected decoders so as to drive the LED bright as expected to display the digits. Simultaneously, the buzzer rings every half minutes thanks to the decoder system connected with it which ensures that the input signal of buzzer is 1 only when the output of 10-bit counter is 2 or 5 and the output of 1-bit counter is 9; and an extra LED light is connected between the RCO pin of the 0.1 bit counter and the ground so that it can only bright when the RCO is high which means that the digit of the 0.1-bit counter is changing from 9 to 0. 2

3. Method and Result 3.1. Timer System This circuit based on 555 timer IC [4][5] is in the mode which produces never stable output in the form of a rectangular waveform clock signal. It primarily consists of a 555 timer IC chip, two resistors, and two capacitors. Figure 3.1: Timer The input voltages of these two pins are the same and totaled depend on the voltage across the capacitor C 1. The other two inputs of the comparators as pair of those two outside inputs respectively are decided by the voltage level of V CC the upper one in pair of THRES is and the lower one in pair of TRIG is due to the voltage division principle along the vertical line starting from V CC and end at GND through two identical inner resistors. The clear signal relation of all these comparator inputs and outputs, Latch output, and transistor base voltage are listed in Table 3.1 as shown below. Table 3.1: Signal Relation According to a series of calculations based on the 555 timer configuration, we first chose C 1 to be 1µF due to its rich availability in lab, and the frequency f was set to be 0.1 since the 3

least bit is 0.1 bit.then we calculated the corresponding proper resistances of resistors which are R 1 = 7kΩ and R 2 = 70kΩ. The simulation waveform graph in one second (that is ten periods in this case) is presented below in Figure 3.2 where the red wave is the voltage of capacitor and the green one is that of the timer output signal. 3.2. Counter System Figure 3.2: Timer The counter system consists of three counters, that is three 74160 chips. The clock signal generated by timer is input into the three CLK pins of three counters simultaneously. QA, QB, QC and QD are outputs that together form 4-bit BCD number; RCO is 1 only at the moment when the counter reaches 9 and is about to be 0; ENP/T are two inputs that turnon the counter only when both of them are 1; CLK is the input pin that receive the clock signal. CLR is a low-active input pin that can reset the counter back to 0 on it is 0; The rest of pins A, B, C and D and LOAD are pins that are used to set the initial counting digit. The counter at the most right position in Figure 3.1 is the 0.1 bit counter; its simulation graph is presented below in Figure 3.3. Figure 3.3: 0.1 second bit counter 4

For the 0.1 bit counter, the QA, QB, QC and QD are connected to corresponding 7447 decoders so that the output BCD can be converted into displayed digits on LED screen. The 0.1 bit counter and the 1 bit counter have quite similar connection method except the fact that for the 1 bit counter, it has one more input than the 0.1 bit counter - the ENP pin of 1 bit counter receive the signal output by the RCO pin of the 0.1 counter. The RCO is connected to the ENP pin of the left 1 bit counter so that when the 0.1 bit counter reaches 9 and is about to be 0, the signal 1 provided by the RCO will trigger the 1 bit counter as expected. The 1 counter has quite similar working principle with the 0.1 counter. While for the left most counter 10 bit counter, it possesses logic gates to ensure that it clear itself and restart the countering when 6 is about to be displayed on its corresponding LED screen. The logic expression of this logic gate is: QA X QB X VCC = CLR. In this way, the counter can achieve that when the counter is about to display 6 (0110), the counter will clear itself and restart the counting. And when it restarts the counting, the counting principle is again similar with that of the 1 bit counter that it changes digit only when it adjacent lower bit counter reaches 9 causing its RCO to be 1 thus triggers its adjacent higher bit counter to change digit due to the input 1 of ENT pin. 3.3. Function Modules 3.3.1. Switches for turning on/off, reset, and pause Single-pole double-throw switches (SPDT) are used as switches in this project. The working principle of SPDT is like this: The two parallel row of three pins of the six-pin SPDT has the same voltage level. Each side of the switch has the same conceptual structure with the above graph - the middle pin is always connected while the two sides can be switched to decide which side to be connected with the middle pin and its connected pathway. For turning on/off, when the V CC power supply in connected to the ground rather than the other pathways that should be connected with power in the circuit, all the power is cut off in this circuit. For reset switch of the first two-bit counter, the switch is directly connected with their CLR pins. This is easy to understand because the CLR is low-active, in normal condition it should connect high(v CC) but only clear the screen when connected with low(ground). While for the last bit counter in the left, the V CC input of the AND gate is connected with the switch. For pause, a SPDT connects the trigger pin of the 555 timer and the ground serving as the pause switch. This is because the working principle of the TRI pin of 555 timer is that when it is connected to low(ground), the timer will stop working thus cannot generate the clock signal anymore. 3.3.2. Buzzer A buzzer which can ring every half minutes is connected as shown in Figure below. 5

Figure 3.4: Buzzer Due to the decoder which consists of logic gates including inverter, AND gate and NAND gate, the input signal of buzzer is ensured to be high each time when counter reach 29 or 59(ignore the least bit counter here), and ring for one second. 3.3.3. Deceleration and Acceleration A SPDT connects all the other pins that should be connected with the capacitor with either capacitor one or capacitor two serves as the speed-shifting switch as shown in the blue circle in Figure below. Figure 3.5: Speed Shifting 6

As discussed previously, the capacitance of the capacitor that connected with DIS pin of timer can control the frequency of the clock signal, therefore, by changing the capacitor, the counting speed of this circuit will change. In this case, the speed-shifting switch can switch from the two available capacitors with 1µF and 10µF respectively which can result in a counting speed of 1 second or 0.1 second of the fastest counter. 4. Conclusion The common used IC chips such as 74160,7447, AND/NAND/NOT gates were utilized effectively in this experiment. The working principle of these chips were also comprehensively learnt. The circuiting and wiring ability was practiced fully after finish the manual construction of this stopwatch circuit. The simulation software like Multisim and PSPICE were effectively used in this lab to help the design of circuit as well. 5. Reference [1] SN54160 THRU SN54163, SN54LS160A THRU SN54LS163A, SN54S162, SN54S163, SN74160 THRU SN74163, SN74LS160A THRU SN74LS163A, SN74S162, SN74S163 SYNCHRONOUS 4-BIT COUNTERS, SDLS060 OCTOBER 1976 REVISED MARCH 1988, Texas Instrument. [2] HD74LS00 Quadruple 2-Input NAND Gates, REJ03D0387 0200 Rev.2.00 Feb.18.2005, RENESAS. [3] 7-segment Display, [Online]. Available: http://www.electronics-tutorials.ws/blog/7- segment-display-tutorial.html [4] NA555, NE555, SA555, SE555 PRECISION TIMERS, SLFS022F SEPTEMBER 1973 REVISED JUNE 2006, Texas Instrument. [5] 555 timer, [Online]. Available: http://www.kpsec.freeuk.com/555timer.htm 7