View Index by Level
RANDOM PAGE

SITE SEARCH

LOG
IN

SIGN UP

HELP

Modulo N Counter

To gain access to revision questions, please sign up and log in.

Everyone

 a

Frequency Divider

On the rising edge of the clock pulse, D is copied to Q.
Since NOT Q is connected to D, the data is inverted on each rising edge.
This has the effect of dividing the frequency by two.

D Type Flip Flop Counter 1.gif

AS A2

 b

Three Bit Binary Up Counter

This divides the frequency by 8 (or by two three times).

On the rising edge of the clock pulse the counter output increases by one.

D Type Flip Flop Counter 3.gif

The output from the left flip-flop is worth one (least significant bit LSB).
The output from the middle flip-flop is worth two.
The output from the right flip-flop is worth 4 (most significant bit MSB).

Here is a timing diagram for the three bit counter.

D Type Flip Flop Counter 3 TD.gif

 c

Modulo N Up Counter

This is a counter that resets at a chosen number. For example a two digit decimal counter, left to its own devices will count from 00 to 99. This is not much use for a clock unless you have 100 second minutes. To fix the problem, the counter must go from 00 to 59. This is achieved by detecting a 6 in the left hand digit and using it to reset the counter to zero. This would be a Modulo 6 Counter or 60 if you included both digits.

 d

Modulo 6 Counter - Counts from 0 to 5

D Type Flip Flop Counter 6 Det.gif

The circuit above detects a six or 0110 in binary. You could use the fool proof circuit but in fact the simpler circuit works too because the 0110 pattern only occurs once between 0 and 9 in decimal numbers. The output is used to reset the counter.

D Type Flip Flop Counter 6.gif

Here is a timing diagram for the modulo 6 counter. It shows the count going from 0 to 5 in regular time steps. The counter reaches 6 but only for about a microsecond before it resets to zero.

D Type Flip Flop Counter 6 TD.gif

 e

Modulo 10 Counter - Counts from 0 to 9

CTRL+Click for the Falstad Circuit Simulaton: Modulo 10 Counter
In options, check European Resistors and uncheck Conventional Current.

Modulo-10-Counter.gif

 f

Practical Task - Build This

D Type Flip Flop Counter PT.gif

Click the thumbnail for a full-size image. You might want to print this.

The reset circuit has not been connected in this diagram. It is your task to work out how to set it up. Print the image above and use it as a guide. The wiring gets quite crowded so neatness is essential. Try colour coding your wiring. In this diagram red is for the + supply, green is for the counters, blue is for the led wiring and black is for ground connections. Choose your own colour for the reset circuit.

The 7474 D Type Flip Flop differs from the usual one in AQA exam questions. The AQA version has set and reset pins. This real-life chip has set and reset pins. The 4013 CMOS chip is just like the one in the AQA exam questions.

 g

Alpha Kit Counter

This circuit, as expected, completely fails to count correctly. This is due to SWITCH BOUNCE.

To fix the problem, use a debounced switch instead.

Alpha Kit Counter

 

 

 

reviseOmatic V3     Contacts, ©, Cookies, Data Protection and Disclaimers Hosted at linode.com, London