Maker Pro
Maker Pro

Can anybody help me ?

DESIGN A COUNTER THAT COUNTS 0,4,6,8,12,14,0… (MOD6) AND WHEN THE COUNTER SHOWS 14 AND THE COUNTER WILL STOP COUNTING AND WAIT 3 MINUTES. BETWEEN COUNTS IN THE COUNTING PROCESS IS 6,667 SEC.AFTER THREE MINUTES, THE COUNTER WILL BEGIN THE COUNTING LIKE 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,0,… The PROCESS IS INITIATED BY PRESSING JUST A START PUSH BUTTON. YOU HAVE MANY J-K FF’S AND ALSO YOU HAVE THE CLOCK PULSE GENERATORS WITH DESIRED FREQUENCY
 

Harald Kapp

Moderator
Moderator
There are many resources on the net showing how to design counters, e.g. this one.
Here are a few hints:
  • Your counter will have to switch between two state machines: state machine 1 for counting 0,4,6,8,12,14,0… and state machine 2 for counting 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,0.
  • You will have to decide a coding scheme for the numbers, e.g. one-hot or binary, to name 2 common ones. the coding scheme will have an impact on the number of flip-flops you require and possible additional logic gates.
    You can build the counter either by directly using the outputs of the flip-flops to represent directly the expected code output (number) for each state of the state machine.
    Alternatively you may want to minimize the number of flip-flops required to build the state machine and, if required, use additional logic gates to decode the state into a number according to the coding scheme.
  • You will need a means to detect the end of the first count sequence to initiate the 3 minute waiting period.
  • You will need a second counter to count the 180 seconds (or 3 minutes) wait time as required. You can use the same clock as for the first counter as 180 seconds is approx. 27 × 6.667 s. Or use a second clock generator with e.g. a 180 s clock period as the task description states that "you have the pulse generators with desired frequency".
  • You may use a single flip-flop to register the press of the start button. But you can also incorporate the detection of the start button into your state machine.
There is no single correct solution. It is possible to construct different circuits which in the end fulfill the requirements as per the task description.

Show us your efforts an where you are stuck. It is our policy not to provide complete solutions but guide you in finding the solution yourself..

By the way: please do not use all capitals. This is considered impolite:
For this reason, etiquette generally discourages the use of all caps when posting messages online. While all caps can be used as an alternative to rich-text "bolding" for a single word or phrase, to express emphasis, repeated use of all caps can be considered "shouting" or irritating. Such poor netiquette has led to a number of cases involving employees being laid off for this particular reason.[17]
From Wikipedia.
 
Last edited:
Top