5 Bit Random Number using multiple 555 Timers?

WBahn

Joined Mar 31, 2012
30,052
Sorry for the late reply! I've attached the schematic and I've also included some pictures of the circuit if that helps. I also found out that I'm allowed to use an IC if I do part of the circuit myself. So, I've made a 3-bit counter and a 3-bit BCD to 7-seg decoder for the first 7-seg display. And for the second display, I've used a 4033 IC.
Since it appears that "basic logic gates" include DFFs, it is easy to use your original idea of clocking each DFF with a different 555 output. Then all you have to do is suppress the clock to each using an AND gate (or you could actually do it with an AND, NAND, OR, or NOT gate).

Your present approach will produce a reasonable random number between 00 and 77 in base 8. You can't get, for instance, a value of 29. Is that what you want?
 

Thread Starter

amerfarooq

Joined Apr 28, 2017
9
Since it appears that "basic logic gates" include DFFs, it is easy to use your original idea of clocking each DFF with a different 555 output. Then all you have to do is suppress the clock to each using an AND gate (or you could actually do it with an AND, NAND, OR, or NOT gate).

Your present approach will produce a reasonable random number between 00 and 77 in base 8. You can't get, for instance, a value of 29. Is that what you want?
Actually, I can get 29 because the 4033 IC is a decade counter. So the effective range is 00-79.

However, I didn't understand the part about suppressing the clock. The original idea was to use the clock outputs directly as my decoder inputs. How can I pause all the clock outputs through a gate?
 

WBahn

Joined Mar 31, 2012
30,052
What is the output of an AND gate if one input is a clock and the other is a signal called, say, clock_enable?
 
Top