My favorite PIC method is to enable the WDT, then increment a counter in an infinite loop. incf magic goto $-1 When the WDT trips, the number in the counter is random, because the WDT is subject to thermal effects. I have used the resulting number for the frequency of a beep routine, and found that a nice hiss results, which is good enough evidence of randomness for free. You will need a WDT detector routine, watching the _TO bit of STATUS, to route around the loop and finish up whatever else the program does. Alice > Vasile Surducan wrote: > >[about generating random noise] > > Why with a PIC ? There are many simplest methods to generate white or > >pink ( zenner based) noises which are randomly. > > Could you please elaborate, Vasile? (Details or links to details, > whatever you want). I was recently reading something by some > nuts who have set up a network of random number generators around > the world to detect "tremors in The Force", or something. They > use random bit generators based on physical (not numerical) noise, > like thermal resistor (Johnson) noise. I looked on their website > (which I'll provide if anyone is interested, I don't have it handy > right now), but although there was lots of pseudo-scientific > mish-mash, there was nothing as concrete as a schematic. So, to > broaden the question a bit, can anyone provide details for a > simple random-bit generator that works from a physical (not > computational) source? I'm interested in playing around with > such a thing (I have a lot of experience with stochastic time- > series analysis). Thanks! > > Michael > > Thank you for reading my little posting. > > > _________________________________________________________________ > Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp > > -- > http://www.piclist.com#nomail Going offline? Don't AutoReply us! > email listserv@mitvma.mit.edu with SET PICList DIGEST in the body > > > -- _______________________________________________ Sign-up for your own FREE Personalized E-mail at Mail.com http://www.mail.com/?sr=signup Have you downloaded the latest calling software from Net2Phone? Click here to get it now! http://www.net2phone.com/cgi-bin/link.cgi?157 -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body