Electronics Forums

Electronics Forums > Electronics Forums > General Electronics Chat > Basic random generator

Reply
Thread Tools Display Modes

Basic random generator

 
 
Junior Member
Join Date: Jan 2012
Posts: 2
 
      01-31-2012, 09:33 PM
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
 
Reply With Quote
 
 
 
 
Senior Member
Join Date: Jan 2010
Location: Worcester, MA
Posts: 2,173
 
      01-31-2012, 10:00 PM
Are you talking about a true random number generator or a pseudo random number generator, they are two entirely different things.

Bob
 
Reply With Quote
 
 
 
 
Senior Member
Raven Luni's Avatar
Join Date: Oct 2011
Location: Scotland
Posts: 652
 
      01-31-2012, 10:35 PM
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.
 

 
0 OK, 0:1
Reply With Quote
 
Junior Member
Join Date: Jan 2012
Posts: 2
 
      01-31-2012, 11:55 PM
Quote:
Originally Posted by BobK View Post
Are you talking about a true random number generator or a pseudo random number generator, they are two entirely different things.

Bob
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]).


Quote:
Originally Posted by Raven Luni View Post
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.
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 by MaxMouseDLL; 02-01-2012 at 12:47 AM..
Reply With Quote
 
Senior Member
Raven Luni's Avatar
Join Date: Oct 2011
Location: Scotland
Posts: 652
 
      02-01-2012, 12:47 AM
So its a coin toss thingy - heres a decent example: http://talkingelectronics.com/projec...TrCcts.html#30
 

 
0 OK, 0:1
Reply With Quote
 
Super Moderator
(*steve*)'s Avatar
Join Date: Jan 2010
Location: Mid way between Beijing and the the Ronne Ice Shelf (mind your projection) ...and don't call me Sir!
Posts: 11,604
 
      02-01-2012, 01:38 AM
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.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Simple random number hardware generator using low voltage 3.3V levels Nicholas Kinar Electronic Design 13 07-16-2009 09:04 PM
suggest basic func/signal generator for basic scope test/setup ? robb Electronic Basics 10 10-24-2007 10:53 AM
suggest basic func/signal generator for basic scope test/setup ? robb Electronic Equipment 10 10-24-2007 10:53 AM
Hardware True Random Number Generator design / concept Yoy G0 Electronic Design 20 06-24-2005 07:48 AM
Can you help with a simple generator for a random series of bits? Colin Howarth Electronic Design 26 11-16-2004 03:52 AM