Connect with us

Basic random generator

Discussion in 'General Electronics Discussion' started by MaxMouseDLL, Jan 31, 2012.

Scroll to continue with content
  1. MaxMouseDLL

    MaxMouseDLL

    2
    0
    Jan 31, 2012
    Hi all,

    I was wondering if it was possible to create a (very) basic random number generator without the use of any IC (Display could be something as simple as some LEDs, an IC controller for the display is fine), and if anyone has a link to a circuit diagram for one?

    Regards
    Max
     
  2. BobK

    BobK

    7,682
    1,688
    Jan 5, 2010
    Are you talking about a true random number generator or a pseudo random number generator, they are two entirely different things.

    Bob
     
  3. Raven Luni

    Raven Luni

    798
    8
    Oct 15, 2011
    If you only need a low number you can use an astable multivibrator or transistor chaser circuit that you can interrupt.

    For more than that you would need more complex counters (ICs) or a way to quantise a thermal noise source.
     
  4. MaxMouseDLL

    MaxMouseDLL

    2
    0
    Jan 31, 2012
    Doesn't have to be "true" random (Is there such a thing? ... no, just "very good random" I don't want that, I want pretty lights that look random lol.) just an extremely basic random "number" generator, let's say... 50/50 (on/off)... can it be done and display it in some way (LEDs?) without any kind of IC.

    I know I could easily build one with an IC, I just want to build a small veroboard example with NO ic, that has a red and green light, with no discernible pattern, 50/50 is ideal, but, anywhere near that (40/60, 30/70) is acceptable.

    EG: a red led and a green led, 50/50... pseudo random is fine, as long as there isn't a predefined set (Although I doubt a defined set would be possible without an IC anyway, and if it is... a very long set would do too.. say a predefined set of reds/greens 500 long [but again.. I can't see that without an IC being involved]).


    Low number... 1 and 0... do you have an example?

    Edit: Raven, thermodynamics kinda sucks, although I've been reading about oddities in various experiments which seem to at least in part, defy the second law...
    Edit2: It's an interesting one, it's to win a (non monetary) bet, I will post results if successful, including a shot of the build and a gutted engineer....
    Edit3: something like this: http://www.qrp.pops.net/LEDs.asp (Sequentially Off LED Pulser) 3 leds, somehow keeping the power on (so it runs) and showing ONE led when a button is pressed..... lol I don't know, I'm clutching at straws...
     
    Last edited: Feb 1, 2012
  5. Raven Luni

    Raven Luni

    798
    8
    Oct 15, 2011
  6. (*steve*)

    (*steve*) ¡sǝpodᴉʇuɐ ǝɥʇ ɹɐǝɥd Moderator

    25,500
    2,840
    Jan 21, 2010
    For a heads/tail type of circuit, the easiest way is to toggle your output at high frequency and manually interrupt the signal which causes the toggling.

    If the signal to generate the random state itself comes from a process which generates it automatically, then your source of randomness almost certainly needs to be better than a simple high frequency oscillator (which will provide regular timing, so a regular sampling may yield predictable results). In this case a noise source (e.g. a reverse biased diode junction) may be preferable.
     
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day

-