# what is ring counter and how does it work?

## what is ring counter?

do you know what is ring counter register? How does ring counter work? actually a ring counter counter register is a SIPO register (serial input parallel output) modified by connecting the last flip-flop output with the initial input of the flip-flop

In the ring counter because of the output data is connected to the input so the input data will continue to spin during the clock

The faster the clock frequency the faster the data rotation on the flip-flop

Each clock on the ring counter will shift the input to the next flip-flop

## how does ring counter work?

shift register type ring can be made using D flip-flop or JK flip-flop. For an article about what flip-flop please read what is flip-flop and how does it work?

to understand how ring counter works you can look at the following ring counter scheme

In the ring counter image above shows that the last flip-flop output is connected to the first flip-flop input

If the previous Flip-flop has been filled with data then the data will shift and spin when given a clock

Ring counter will work If previously flip-flop has been filled with data. If the flip-flop is not filled with data then you will not see changes in the output

Another example is if one of the flip-flop outputs is logic 1 then when clocked logic outputs one will shift to all the flip-flop