Digital Counter

dlkosmas1

Nov 13, 2003
32
Joined
Nov 13, 2003
Messages
32
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

 
G

Guest

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

 

dlkosmas1

Nov 13, 2003
32
Joined
Nov 13, 2003
Messages
32
Yes i could,but i dont want to.I want to design it from scratch using D or JK flip flops

 

dlkosmas1

Nov 13, 2003
32
Joined
Nov 13, 2003
Messages
32
NO IT IS A SPECIFIC SEQUENCE OF NUMBERS,FOR EXAMPLE : 2,5,8,2,9,1 AND THEN START OVER

 

MP1

Dec 7, 2003
3,399
Joined
Dec 7, 2003
Messages
3,399
where are these numbers going? are they pulses? are they displayed on a LED displayed on a LCD? tones?

MP

 
G

Guest

Jan 1, 1970
0
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.

 

MP1

Dec 7, 2003
3,399
Joined
Dec 7, 2003
Messages
3,399
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:
http://www.colorado.edu/physics/phys3330/PDF/Experiment10.pdf

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

MP

 

dlkosmas1

Nov 13, 2003
32
Joined
Nov 13, 2003
Messages
32
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

 
G

Guest

Jan 1, 1970
0
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?

 

dlkosmas1

Nov 13, 2003
32
Joined
Nov 13, 2003
Messages
32
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.

 

dlkosmas1

Nov 13, 2003
32
Joined
Nov 13, 2003
Messages
32
TO moderator:pLease move this thread to the appropriate column.I posted it here by mistake

 
Top