You are on page 1of 9

CSE 310

Digital Design I

Laboratory Experiments

Experiment II
BCD Counting

2010 Fall

CSE 310 Digital Design I Laboratory

CSE 310 Digital Design I

EXPERIMENT 2
2 BCD Counting and Frequency Divider
2.1 Preliminary Work
1) An Example of the Logic Diagram
Introductory Information The logic diagram of the circuit needed to implement the function f=A+BC can be shown below:

Figure 1. The logic diagram of the circuit needed to implement the function, f=A+BC Preliminary Work Question 1: Draw the logic diagram of the circuit needed to implement the function F=(A+B)(C+D)

2) An Example of the Connection Diagram


Introductory Information Connection Diagram: A logic diagram illustrates the logical operation of the desired system but it does not indicate which pins of the integrated circuits etc. get connected together. A Connection Diagram is based on a logic diagram but includes the following additional information: Pin numbers (it is only necessary to show ground and +5V on one gate for each IC) Device numbers Portion of an IC used by each gate e.g. there are 6 NOT's in a package so one gate would be 1/6 ____________________________________________________________________________ 2

CSE 310 Digital Design I Laboratory Any resistor s, capacitors, LED's, etc. to be incorporated into the circuit. The values for resistance and capacitance must be specified

Example: Connection Diagram for the function F = ( A + B) + A

Figure 2. Connection Diagram for the function F = ( A + B) + A

Figure 3. Pin configurations of the ICs needed for the experiment Preliminary Work Question 2: Draw the Connection Diagram of the circuit needed to implement the function F=(A+B)(C+D) using ICs; 7408 -2-input AND gate and 7432 -2-input OR gate. The internal connection diagrams and the phsical layouts of the ICs are shown in Figure 4.

____________________________________________________________________________ 3

CSE 310 Digital Design I Laboratory

Figure 4. Pin configurations of the ICs needed for the experiment

3) Counting from 0000 to 1001 using 7493 IC

Introductory Information An Example of the Schematic Diagram

Figure 3. 7493 Binary Counter Schematic Diagram

____________________________________________________________________________ 4

CSE 310 Digital Design I Laboratory When inputs R1 or R2 or both are equal to logic 0 (ground), all asynchronous clears are equal to 1 and are disabled. Thus the counter operates normally as a binary counter. To reset the counter to 0, both inputs R1 and R2 must be at logic-1 (about 5 V). Note that output QA is not connected to input B internally. The BCD representation uses the binary numbers from 0000 to 1001 to represent the coded decimal digits from 0 to 9. IC type 7493 can be operated as a BCD counter by making the external connections shown in Figure 5.

Figure 5. 7493 BCD Counter Schematic Diagram Outputs QB and QD are connected to the two reset inputs, R1 and R2. When both R1 and R2 are equal to 1, all four cells in the counter clear to 0 irrespective of the input pulse. The counter starts from 0, and every input pulse increments it by 1 until it reaches the count of 1001. The next pulse changes the ouput to 1010, making QB and QD equal to 1. In conclusion, both QB and QD are equal to 1 thus R1 and R2 are equal to 1 and the counter outputs are cleared. Thus, the pulse after the count of 1001 changes the output to 0000, producing a BCD count. IC type 7493 can be connected to count from 0 to a variety of final counts. This is done by connecting one or two outputs to the reset inputs, R1 and R2. Thus, if R1 is connected to QA instead of QB in Figure 5, the resulting count will be from 0000 to 1000, which is 1 less than 1001 (QD = 1 and QA = 1). ____________________________________________________________________________ 5

CSE 310 Digital Design I Laboratory

Preliminary Work Question 3: Design a circuit which counts from 0000 to 0101 using 7493 IC and draw the Schematic Diagram of the circuit. 4) Counting from 0000 to 0111 using 7493 Preliminary Work Question 4: Design a circuit which counts from 0000 to 0111 using 7493 IC and draw the Schematic Diagram of the circuit. 5) Counting from 0000 to 1011 using 7493 Preliminary Work Question 5: Design a circuit which counts from 0000 to 1011 using 7493 IC and draw the Schematic Diagram of the circuit.

____________________________________________________________________________ 6

CSE 310 Digital Design I Laboratory

2.2 Experimental Work


2.2.a Requirements:
Quantity

7493 Four bit binary COUNTER

2.2.b BCD Counting 1. Connect the IC type 7493 to operate as a BCD counter by wiring the external terminals, as shown in Fig.5. 2.2.c From 0000 to 0101 Counting 2. Connect the IC type 7493 to operate as a counter from 0000 to 0101 as in your Preliminary Work Question 3 solutions. Check You have your laboratory assistant to check your records. 2.2.d From 0000 to 0111 Counting 3. Connect the IC type 7493 to operate as a counter from 0000 to 0111 as in your Preliminary Work Question 4 solutions. Check You have your laboratory assistant to check your records. 2.2.e From 0000 to 1011 Counting 4. Connect the IC type 7493 to operate as a counter from 0000 to 1011 as in your Preliminary Work Question 5 solutions. Check You have your laboratory assistant to check your records.

2.2.f

Logic Circuit Design

Implement the designed circuit in Preliminary Work Question 2. Check You have your laboratory assistant to check your records.

____________________________________________________________________________ 7

CSE 310 Digital Design I Laboratory

Name Section Surname Group Signature

Name Surname Signature

2.3 Laboratory Experimental Work Sheets

2.3.a From 0000 to 0101 Counting Check

2.3.b From 0000 to 0111 Counting Check

2.3.c From 0000 to 1011 Counting Check

2.3.d Logic Circuit Design

Check

____________________________________________________________________________ 8

CSE 310 Digital Design I Laboratory

2.4 Appendix

Pin configurations of the eight SSI gate ICs needed for the experiments

____________________________________________________________________________ 9

You might also like