Sei sulla pagina 1di 3

Lucky Customer Counter

Bryan C. Guiterrez1, Jasier E. Sahagun2,


Yutaka D. Yamada3
Computer Engineering Department
College of Engineering
Adamson University, Philippines
1
bry082487@gmail.com
2
jasier.sahagun@gmail.com
3
mahesvaragodsuya@gmail.com

I. PROBLEM DEFINITION
Counters look underwhelming but they have many useful IV.BLOCK DIAGRAM
applications. They may only count things but the numbers they
gather can be used to do an operation. For example, the number The sensor system must receive an input from each
of amusement park visitors that the management records for a sensor by sensing someone near it. It will send a clock
period of time can be used to generate a sales report. pulse to the ones decade counter then it will be displayed.
Counters work by running through states in flip-flops based Once the ones decade counter counts up to 9, it will reset
on their inputs or a trigger to start counting. For this project, the back to 0 and the tens decade counter starts to count until
counter to be designed is modified to give every 30 th customer a the ones finish their cycle again.
special prize for just being there specifically passing the sensor
placed somewhere in their establishment

II. OBJECTIVES

1. To design an asynchronous sequential circuit that


enables to count 2 digit numbers
2. To integrate IR sensor that serves as an input to the
counter

III. SYSTEM REQUIREMENTS


To start the project, a few requirements are to be met based from
the problem.
1) Number Display. Two seven-segment light emitting
diodes (LEDs) will display digits 0 to 9 that will
represent ones and tens digits.
2) Decade Counter. A synchronous counter that can count
0-9. In this scenario, 2 decade counters are to be used
for the same reason as the number display. As the ones
decade counter finishes its cycle, the tens will start to
count V. PHYSICAL DESIGN
3) IR Sensors. The infrared LEDs are to be placed
anywhere near the counter. It will give the signal to
when to count by both sensors getting inputs from each
side.
4) Reset Button. The button will served as a reset from
the flip flop of the counting numbers.
There are 2 LEDs displaying numbers from 0 to 30. It Circuit Diagram: Ones Display
counts up when both sensors sense both sides of a certain person
or object. The buzzer will sound when the count reaches 30, its
maximum limit then resets to 0.

VI. LOGIC DESIGN

Decade Counters D Flip-flop from 0 to 3


Count QA QB QC QD
0(start) 0 0 0 0 D D
PS NS
1 0 0 0 1 A B
2 0 0 1 0 00 01 0 1
3 0 0 1 1 01 10 1 0
4 0 1 0 0 10 11 1 1
5 0 1 0 1
11 00 0 0
6 0 1 1 0
State Table
7 0 1 1 1
8 1 0 0 0
9 1 0 0 1
10(new
0 0 0 0
cycle)

Table: Decade Counter from 0 to 9

State Diagram

State Diagram: Ones Display

Number Displays
The people that IR detects will send an input signal to the
7476 circuit to start counting. There will be two synchronous DA = A’B + AB’ DB = B’
counters that are connected asynchronously to serve as ones and K-mapping
tens digit
Circuit Diagram: Tens Display

Potrebbero piacerti anche