Professional Documents
Culture Documents
Digital Design I
Laboratory Experiments
Experiment II
BCD Counting
2010 Fall
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)
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
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
____________________________________________________________________________ 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
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
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
Implement the designed circuit in Preliminary Work Question 2. Check You have your laboratory assistant to check your records.
____________________________________________________________________________ 7
Check
____________________________________________________________________________ 8
2.4 Appendix
Pin configurations of the eight SSI gate ICs needed for the experiments
____________________________________________________________________________ 9