Electronics-Lab.com Community

# Digital Counter

## Recommended Posts

Does anyone know how to design a digital counter that produces a specific number of non-sequential number? for example( decimal) : 1,5,3,7,9,12
and then repeat it using flip flops? If you know any good site i would appreciate it

##### Share on other sites

Well take an normal counter.Attach an AND gate to its output such that it selcts the number you require.

##### Share on other sites

Yes i could,but i dont want to.I want to design it from scratch using D or JK flip flops

##### Share on other sites

Dl,
Do you want to build a random number generator?

##### Share on other sites

NO IT IS A SPECIFIC SEQUENCE OF NUMBERS,FOR EXAMPLE : 2,5,8,2,9,1 AND THEN START OVER

##### Share on other sites

where are these numbers going? are they pulses? are they displayed on a LED displayed on a LCD? tones?

MP

##### Share on other sites

I feel its impossible to make the counter from a D flip flop or JK flip flop. These FF increase or decrease by the count of 1. You cannot get the sequence which you need.

##### Share on other sites

It sounds as if you are looking for combinations of modulo counters, which you want to construct. Here is a link that might help you:

My personal method would be to use a microcontroller. One chip would do it all and more.

MP

##### Share on other sites

MP:the outputs are connected to LEDs which i want ot be turned ON using the outputs from the flip flops.

thnx for the .pdf

##### Share on other sites

What do you want to use simple LEDs or a LED display?
Dont mind but i want to ask why do you only want to make it from scratch? ???
Where do you want to apply it?

##### Share on other sites

Ok,i did it using 4 D flip flop and present state-Next state tables.Then with Karno maps i found the logical equation for each output(LED)
Complex but yet doable.

It is easy to do it using a microprossecor.I just want to start programmin PLDs.

##### Share on other sites

TO moderator:PLease move this thread to the appropriate column.I posted it here by mistake

## Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

×   Pasted as rich text.   Paste as plain text instead

Only 75 emoji are allowed.

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.