Counter

A counter IC increments (or decrements) a binary register on each rising or falling edge of a clock or event signal. It offloads frequency measurement, period measurement, or event counting from a microcontroller, and provides the result as a parallel bus or BCD digit outputs.

A chain of T flip-flops, each toggling at half the frequency of the previous stage, forms a binary ripple counter. Synchronous counters use a carry-lookahead network so all bits update simultaneously, avoiding the glitches in ripple counters. A terminal-count output asserts when the count reaches its maximum, optionally resetting to zero (modulo-N behaviour).

In plain terms

An odometer in silicon: each incoming pulse advances the count by one, and you can read out the total at any moment without the CPU spending cycles polling.

Why designers use it

Best for

Key specifications

When not to use it

Common mistakes

Where you will find it

A short history

A counter uses stored logic states to count input clock events. In a synchronous counter, the flip-flops share a clock; in a ripple counter, one stage clocks the next, so changes propagate through successive stages. The distinction matters when reading a count or decoding it, because outputs do not all change instantaneously.

Related