Go Down

#### aimmet

##### Dec 04, 2018, 01:39 am
Im currently a little lost in my class, I need to build a 16 bit counter using only flip flops but i honestly dont know where to begin, im experienced with ardunio but the biggest curve ball was i cant use the ardunio for the counter, i can only use it to "source". I believe i need to use 4 flip flops, i understand about latch and clock times but i dont know how to connnect them in a way where it can do 16 bit counting. If anyone can help me maybe with a schematic diagram and an explanation i would greatly appreciate. Thank you for your time

#### dougp

#1
##### Dec 04, 2018, 02:06 am
The internet is awash with search results for "flip flop counter".
Everything we call real is made of things that cannot be regarded as real.  If quantum mechanics hasn't profoundly shocked you, you haven't understood it yet. - Niels Bohr

No private consultations undertaken!

#### Grumpy_Mike

#2
##### Dec 04, 2018, 08:48 am
Quote
I believe i need to use 4 flip flops,
No you need 16 flip flops.

Quote
i understand about latch and clock times
I doubt it, why do you need a latch for a 16 bit counter? Unless there is something you are not telling us.

Simply take an edge triggered D-type flip flop and wire the D input to the Q bar output. Wire that also to the clock input of the next flip flop.

#### dougp

#3
##### Dec 04, 2018, 02:26 pm
Seems the OP may be confused about 16-bit counter vs. count to 16.
Everything we call real is made of things that cannot be regarded as real.  If quantum mechanics hasn't profoundly shocked you, you haven't understood it yet. - Niels Bohr

No private consultations undertaken!

#### Grumpy_Mike

#4
##### Dec 04, 2018, 06:03 pm
Seems the OP may be confused about 16-bit counter vs. count to 16.
Well with only four flip flops he is only going to be able to count to 15.

#### Smajdalf

#5
##### Dec 06, 2018, 06:43 am
Well with only four flip flops he is only going to be able to count to 15.
If he starts at 1 he is able to get to 16 ;-) I believe dougp wanted to say "counter with 16 states". In other words 16-bit vs 16-states counter.
How to insert images: https://forum.arduino.cc/index.php?topic=519037.0

Go Up