piclist 2001\08\21\114426a >
Thread: Generating a "truly" random number on the applicationof power
www.piclist.com/techref/microchip/math/index.htm?key=random
flavicon
face BY : Mike Maiorana email (remove spam text)



Perhaps you could put a low frequency oscillator on each board, triangle
wave at let's say 20 Hz. The oscillators can be analog, free running and
start when power is applied to the board. When the micro comes up,
sample the instantaneous voltage with one of the a/d channels (assuming
you have one). The tolerance in the oscillator parts should give enough
randomness to the frequencies that your initial reading numbers should
be quite random.
Just a thought...
Regards,
Mike M.



> Maybe you could buy good resistors of varying values and mix your own random
> selection by dumping them in a barrel and shaking them up.

--
http://www.piclist.com hint: The list server can filter out subtopics
(like ads or off topics) for you. See http://www.piclist.com/#topics


<3B828113.62A03F15@attglobal.net> 7bit

See also: www.piclist.com/techref/microchip/math/index.htm?key=random
Reply You must be a member of the piclist mailing list (not only a www.piclist.com member) to post to the piclist. This form requires JavaScript and a browser/email client that can handle form mailto: posts.
Subject (change) Generating a "truly" random number on the applicationof power

month overview.

new search...