You are on page 1of 5

Mini Project 2 (section 450)

Sequential Logic Circuit Design


Objective
1. To apply knowledge from the class to design the practical circuit.
2. To have experience about electronics engineering.
3. To do with teamwork.
Number of member
Each group can have only 2~3 members.
Submission date
- At 13:00-15:00 on 24th December 2020
Submission method
Face-to-face presentation with the completed circuit and report.

Project Topic: select one of these given topics.


1. Number Sorter
2. GCD Calculator
3. Number Multiplication Circuit

Assessment
The score of this mini project is 100 points (8% of total class score), where
1. Score of work piece: 60 %
Work correctly (40%) + Neatness&Safety (10%) + Identity (10%)

2. Score of report 25 %
1. Method of circuit design [15%]
2. Bill of material : items list and price list [3%]
3. Problem and solution [5%]
4. Neatness [2%]

3. Score of presentation: 15 %
1. Accuracy and fluency of presentation [7.5%]
2. Answering the question [7.5%]

4. Optional Bonus: 20%

1
01205241 Digital Circuit and Logic Design
Academic Year 2020, First Semester

Mini Project 2
Sequential Logic Circuit Design
Number Sorter
Present to
Asst. Prof. Dusit Thanapatay

Presented by

Option Report (25%)


Neat
Items Prob
Work & Presentation Q&A
Bonus Option Detail(add or Method & & Neat
(50%) Safety (15%)
(20%) reduce) (15%) Prices Soln (2%)
(10%)
(3%) (5%)

Sorting in order
lowest to highest

2
Number Sorter
Usability
Sort the number in order lowest to highest.
Project Detail
1. Main parts
There are 5 main parts of the work piece: input, output, sequential logic circuit, dc power supply and clock generator.
- In the input part, there are 5 pushbuttons of S1, S2, S3, S4 and OK
- In the output part, there are 4 digit seven-segment displays of D1, D2, D3 and D4 as shown in the figure.

 DC power supply

D1 D2 D3 D4
220Vrms 5VDC

Sequential logic circuit S1 S2 S2 S4 OK

 Input  Output ➎ Clock generator


Fig. 1 main components
2. Circuit operation
The circuit operation can be described by its usability as below
1. When turn on the power, the circuit begins with READY MODE. In this mode, all 4 digits of seven-segment display
shows 1 Hz blinking “0000” ( 1 Hz blinking = 0.5 second ON and 0.5 second OFF) 3 times. After that show “0000” without
blinking until there is some asserted input.
2. When there is some asserted input (S1, S2, S3 or S4), the circuit changes into INPUT MODE, where
- For each time when S1 is pressed, the 7-segment D1 shows 1 increment on its place in counting order 0-9.
- For each time when S2 is pressed, the 7-segment D2 shows 1 increment on its place in counting order 0-9.
- For each time when S3 is pressed, the 7-segment D3 shows 1 increment on its place in counting order 0-9.
- For each time when S4 is pressed, the 7-segment D4 shows 1 increment on its place in counting order 0-9.
- When OK is pressed, go to DISPLAY MODE.
3. Display MODE
- The 4 digit seven-segment shows the numbers in original order set in INPUT MODE for 1 second and then show
nothing (OFF) for 1 second. After that the 4 digit seven-segment shows “the sorted number in order lowest to highest” for 1
second and then show nothing for 1 second. And repeat these showing “the original numbers” and “the sorted numbers”
(example: if the original number is “2563”, the sorted number will be “2356”) until the pushbutton OK is continuously pressed
longer than 3 seconds before starts the READY MODE again.

NOTE: 1. The pushbutton switch is ON when pressed and OFF when released.
2. The circuit can be added or reduced some options. However, the score is varied by the performance and creativity
of the option. For example, DISPLAY MODE may be design to show each step of sorting such as “2563”  “2536”  “2356”.

3
GCD Calculator
Usability
Calculate the greatest common divisor of 2 integers.
Project Detail
1. Main parts
There are 5 main parts of the work piece: input, output, sequential logic circuit, dc power supply and clock generator.
- In the input part, there are 3 pushbuttons of N1, N2 and Cal.
- In the output part, there are two set of 2-digit seven-segment displays of Num1 and Num2 as shown in the figure.

 DC power supply
Num1 Num2
220Vrms 5VDC

Sequential logic circuit N1 N2 Cal

 Input  output ➎ Clock generator


Fig. 1 main components
2. Circuit operation
The circuit operation can be described by its usability as below
1. When turn on the power, the circuit begins with READY MODE. In this mode, all 4 digits of seven-segment display
shows 1 Hz blinking “0000” ( 1 Hz blinking = 0.5 second ON and 0.5 second OFF) 3 times. After that show “0000” without
blinking until there is some asserted input.
2. When there is some asserted input (N1 or N2), the circuit changes into INPUT MODE, where
- For each time when N1 is pressed, the 7-segment Num1 shows 1 increment with counting sequence 1-30.
- For each time when N2 is pressed, the 7-segment Num2 shows 1 increment with counting sequence 1-30.
- When Cal is pressed, go to DISPLAY MODE.
3. Display MODE
- The 7-segment Num2 shows “the GCD of Num1 and Num2” with 1 Hz blinking until the pushbutton N1 or N2 is
pressed longer than 3 seconds before starts the READY MODE again.

NOTE: 1. The pushbutton switch is ON when pressed and OFF when released.
2. The circuit can be added or reduced some options. However, the score is varied by the performance and creativity
of the option.

4
Number Multiplication Circuit
Usability
Calculate the multiplication of 2 integers. The multiplicand range is [-9, +9] and the multiplier range is [-99, +99].
Project Detail
1. Main parts
There are 5 main parts of the work piece: input, output, sequential logic circuit, dc power supply and clock generator.
- In the input part, there are 3 pushbuttons of up, dn and x=.
- In the output part, there are 4 digit seven-segment displays of D3, D2, D1 and D0 as shown in the figure.
 DC power supply
D3 D2 D1 D0
220Vrms 5VDC
up
dn
x=

Sequential logic circuit


 Input  Output ➎ Clock generator
Fig. 1 main components
2. Circuit operation
The circuit operation can be described by its usability as below
1. When turn on the power, the circuit begins with READY MODE. In this mode, only D0 of seven-segment display shows
1 Hz blinking “0” (1 Hz blinking = 0.5 second ON and 0.5 second OFF) 3 times. After that D0 shows “0” without blinking.
When the pushbutton “x=” is pressed, go to MULTIPLICAND SETTING MODE.
2. MULTIPLICAND SETTING MODE
- For each time when pushbutton “up” is pressed, the 7-segment D3~D0 show 1 increment, however when the 7-
segment is 9 (maximum), let 7-segment keeps showing the value of 9.
- For each time when pushbutton “dn” is pressed, the 7-segment D3~D0 show 1 decrement, however when the 7-
segment is -9 (minimum), let 7-segment keeps showing the value of -9.
- When the pushbutton “x=” is pressed, go to MULTIPLIER SETTING MODE.
3. MULTIPLIER SETTING MODE
- At the beginning of this mode let the 7-segment D0 shows 0.
- For each time when pushbutton “up” is pressed, the 7-segment D3~D0 show 1 increment with maximum of 99.
- For each time when pushbutton “dn” is pressed, the 7-segment D3~D0 show 1 decrement with minimum of -99.
- When the pushbutton “x=” is pressed, go to Display MODE.
3. Display MODE
- The 7-segment shows the product of multiplication with 1 Hz blinking until the pushbutton x= is continuously pressed
longer than 3 seconds before starts the READY MODE again.

NOTE: 1. The 7-segment should not show 0 as the most significant digit and the minus sign should be adjacent to number, for example, -8 (should
not show -_8 or -08 ).
2. The circuit can be added or reduced some options. However, the score is varied by the performance and creativity of the option. For
example, DISPLAY MODE may be design to show the repeating of “mulitplicand”  “multiplier”  “product”.
5

You might also like