Counting, produce a random count.?

Thread Starter

bigabbs

Joined Nov 2, 2012
10
I am looking to produce a random count, when the count ends, I want to remember the count number, reset the system to zero, count again, when I reach to first counts total, I need to receive a signal that tells me I have reached the first count total.
I can build a circuit with CD4017, but have no way of holding the count after reset.
 
Last edited by a moderator:

Papabravo

Joined Feb 24, 2006
21,228
You can build a circuit that loads the counter and a latch with the identical value, then resets the counter, and compares the value in the counter to the value in the latch. Rinse, wash, repeat.
 

Thread Starter

bigabbs

Joined Nov 2, 2012
10
No mate the count is 4 Digits, I have yet to build the circuit, as I have just ordered the ICs, my question was a passing thought, that possible someone had been there and worn the T shirs
 

dl324

Joined Mar 30, 2015
16,943
Limited on space im afraid
I meant on the components that can be used. What is your area constraint?

If you're going to use a CD4017, you're going to need 10 flip flops to store the highest count. You could reduce that to 4, but you'd need encoders and decoders and your area constraint could be a limiter.

No mate the count is 4 Digits
4 digits or 4 bits?
I have yet to build the circuit, as I have just ordered the ICs
What components did you order? That could further limit solution space.
 
Top