Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > Electronic Projects Design/Ideas/Reviews


Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution.

Reply
 
LinkBack Thread Tools Display Modes
Old 12th June 2008, 01:08 AM   (permalink)
Default Any suggestions for a digital ready random noise circuit?

Looking for simple circuits that generate randomly variaing width pulses or amplitude waveforms. As simple as possible would be nice, commonly available / inexpensive parts preferred. It's for the next JPUG issue (A PIC newsletter)
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com
blueroomelectronics is offline  
Old 12th June 2008, 01:45 AM   (permalink)
Default

Hi Bill,

The only thing that pops up in my mind is a MM5837 from
National Semiconductor, but that chip is a real dinosaur.
A quick look at the datasheet might give you a clue on
building your own from standard logic chips.

MM5837 datasheet pdf datenblatt - National Semiconductor - Digital Noise Source ::: ALLDATASHEET :::

on1aag.
on1aag is offline  
Old 12th June 2008, 01:48 AM   (permalink)
Default

Thanks for the link, making random noise is an art it seems. I recall something using transistor junctions...

That digital noise chip is similar to the software one in BASIC
Code:
   Seed = Seed * MagicA + MagicB
   result = LongWord(Seed >> 16) Mod RndMax
Wait till audioguru sees the old 741, well I do want noise
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com

Last edited by blueroomelectronics; 12th June 2008 at 01:51 AM.
blueroomelectronics is offline  
Old 12th June 2008, 02:24 AM   (permalink)
Default

I tried XOR'ing a light to voltage chip with the software random generator. Seems about the same as just the software. Kept reading about using a zener diode as a random generator, but didn't actually see how you implement that.

Since this was for a RGB led, a roll of die scenario might have been better. The random generator gives lots of crappy colors and inumerable shades of white. The best case seemed to be just using the random number, and discounting a wide swath of middle values.
nickelflippr is offline  
Old 12th June 2008, 02:39 AM   (permalink)
Default

Well the article is for the Junebug magazine, one project shows a software based pseudo random number generator rolling two dice. Another is a freerunning modulo 6 timer waiting for a user to press a button (truly random unless you're a robot). I'd like to add a true hardware version, but this may be too complex for practical reasons (IE the ones I've seen require about 10V to get going)
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com
blueroomelectronics is offline  
Old 12th June 2008, 02:53 AM   (permalink)
Default

Hi Blue Bill,
It is good that you are powering the lousy old 741 opamp from 18V since it probably will not work from 6V when one 9V battery is old.

The transistor noise generator might not work from only 6V to 9V but will work fine if you feed them from 12v to 18V from both 9V batteries.

The LM386 little power amp will probably oscillate at 300kHz without the RC Zobel network at its output to ground as shown on its datasheet.
__________________
Uncle $crooge
audioguru is online now  
Old 12th June 2008, 03:02 AM   (permalink)
Default

Yea, when using a timer as a seed, which in turn is accessed in software at a more or less predictable time or sequence seemed to be my problem. The light values seemed to take on a repeating color pattern, even tho that pattern may be developed over tens of cycles. No means scientific, but more like a perception thing. Keeping a log of the values, or reading them out on hyperterminal might have proven otherwise?

The human intervention aspect has to be the ticket I would think.
nickelflippr is offline  
Old 12th June 2008, 04:41 AM   (permalink)
Default

Quote:
Originally Posted by audioguru View Post
the lousy old 741
Have you made that a macro key

I guess I'm hoping for the improbable with only a standard USB 5V supply, if it's more than a couple of transistors and an IC or two then I'll pass on it.
One solution might be a pink or white noise program for your PC and feed from the line out to an input pin on the PIC. Just a thought.
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com
blueroomelectronics is offline  
Old 12th June 2008, 04:52 AM   (permalink)
Default

Have you considered the 5V supply itself. If you divide it in half and feed it into the ADC then the bottom bit should be pretty random. Read it eight times and you have a random byte.

Mike.
Pommie is online now  
Old 12th June 2008, 05:04 AM   (permalink)
Default

Interestingly enough the Swordfish random number module suggests leaving an A/D pin floating to seed the generator.
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com
blueroomelectronics is offline  
Old 12th June 2008, 07:09 AM   (permalink)
Default

How about two unstable oscillators driving the D and clk pins of a FF.
Mikebits is offline  
Old 12th June 2008, 06:05 PM   (permalink)
Default

Quote:
Originally Posted by nickelflippr View Post
Kept reading about using a zener diode as a random generator, but didn't actually see how you implement that.
You can generate random noise by amplifiying the noise current from a zener diode. Attached is an old ap note which describes running the zener current into the base of a transitor. It shows a 10V zener and a 26V supply but it should scale for lower voltage zeners and supply voltage.

You can apply the noise to a comparator input if you want a digital signal.

(Sorry about the picture being upside down. You'll have to rotate it in the Acrobat viewer.)
Noise Gen.pdf
__________________
Carl
crutschow is offline  
Old 12th June 2008, 06:29 PM   (permalink)
Default

The emitter-base of a silicon transistor has avalanche breakdown at from 5V to 10V like a noisy zener diode. That is what Blue Bill has in his circuit then the nisey transistor is amplified by the second transistor.
__________________
Uncle $crooge
audioguru is online now  
Old 12th June 2008, 06:30 PM   (permalink)
Default

Bill,
Here is a schematic of a circuit I built several years ago that lights 1 of 8 leds. It seems to be in random fashon. With pull up resistors instead of the LED's and the single resistor it could be a random 8 bit word.
Ned
Attached Images
File Type: jpg RANDOM LED FLASHER.JPG (52.6 KB, 11 views)
__________________
The great thing about electronics is unlimited ways to do the job. The only limit is one\'s imagination. I generally think my way is best.
Show me a different way. I have an open mind.
k7elp60 is offline  
Old 12th June 2008, 06:33 PM   (permalink)
Default

hi,
Maxim have a white noise gen, using zeners.

http://pdfserv.maxim-ic.com/en/an/AN3469.pdf
__________________
Eric
"Good enough is Perfect"

PIC tutorials:
Gramo's: www.digital-diy.net/
Bill's: www.blueroomelectronics.com/
ericgibbs is offline  
Reply

Bookmarks

Thread Tools
Display Modes



Similar Threads
Title Starter Forum Replies Latest
Random Motor Circuit LtEdge General Electronics Chat 13 24th April 2008 09:01 PM
RF digital data receiver 433 Mhz low noise tohu Electronic Projects Design/Ideas/Reviews 10 1st October 2007 08:01 PM
white noise controlled random number generator MSC Electronic Projects Design/Ideas/Reviews 10 2nd May 2007 03:27 PM
what IS this? random circuit or Microcontroller? Halogrunt1234 General Electronics Chat 4 21st July 2005 07:28 PM
digital random generator jovabiot Electronic Projects Design/Ideas/Reviews 1 21st May 2004 03:27 PM



All times are GMT. The time now is 05:43 AM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.

eXTReMe Tracker