EveryCircuit
Contact
Reviews
Home
nic86us
modified 10 years ago

Fun with 7-segment decoders

5
0
500
03:17:03
Logic trains are timed in sequence. The 7-segment decoders are wired to 48 LED's in sequential order. I was hoping for a more random pattern. Adjust the logic trains to see what you get. ***Updated*** After looking at this monstrosity some more, I realized something. This is an over ally complicated demonstration, of how a random number generator works. The logic trains are timed to fire in a repeating, non-interrupted sequence, like a clock. The input from the trains is translated into the 48 LED's producing several repeating pattern. Consider each LED pattern as a discrete number. At any moment, the pattern of LED's is the "random" number. Hit the pause button, and check the LED pattern. This is analogous to hitting the "generate random number" command. More logical inputs (a clock, segmented into fractions of a second), gives many more numbers. As it is now, this will generate 16 different "numbers." However, by programming only one to fire at a time there exists the possibility of 16! different states (2.09 x 10^13). This would require serious control over timing, delay and widths to achieve this. Not sure if it's possible. Thoughts?
published 10 years ago

EveryCircuit is an easy to use, highly interactive circuit simulator and schematic capture tool. Real-time circuit simulation, interactivity, and dynamic visualization make it a must have application for professionals and academia. EveryCircuit user community has collaboratively created the largest searchable library of circuit designs. EveryCircuit app runs online in popular browsers and on mobile phones and tablets, enabling you to capture design ideas and learn electronics on the go.

Copyright © 2026 by MuseMaze, Inc.     Terms of use     Privacy policy