Shop OBEX P1 Docs P2 Docs Learn Events
getting true randomness and intro — Parallax Forums

getting true randomness and intro

ArchiverArchiver Posts: 46,084
edited 2002-04-28 03:41 in General Discussion
http://positron.mit.edu/hw-rng.html

Hi this is Paul[noparse]:)[/noparse]

My first post and thought I would be helpful. I remeber seeing
these plans a long time ago, when I was into cryptogrphy. Basicly,
it looks at the nosie in a diode. If you just want random numbers,
this is great, no memory required, just look at a pin. If you want
TRUE numbers, you probery have to use a more complcated circut,
either that or make a md5 algorithm in Pbasic:P

Honstly, I don't know much about electronics, I am one of
those "Download a scmatic and see if it works" kind of guys:P What
I was wondering is if somone had tried to hook a ide hard drive up
to a basic stamp?

Now, DON'T LAUGH[noparse]:)[/noparse]
http://www.piclist.com/techref/drives.htm
Most noteably.
http://www.piclist.com/techref/io/ide/8255-ide.txt

Now you might ask yourself, "Why?". Well, just because[noparse]:)[/noparse] Honstly,
I am intrested in building a project that downloads the info on what
the drive is, and output it to a display. It dosn't look hard.
Basicly, you access a hard drive, just by setting regesters in the
drive and retreving data. You can even just use 8-bit, and get one
byte at a time.

Now the problem? Well, as I said I am not sure how it really
works. Is there better chips than a 8255? (He said he had to use an
inverter because when you change the dirrection of the ports, it
sets the said ports to 0), or can you drive the hard drive DIRECTLY
of the pic? No really, can you?

Humm. the more I think of it the more the idea gets me excited[noparse];)[/noparse]

Honstly, I just wanted to see if I could do a floppy, ironicly its
easyer to work with a hard drive:P

--- In basicstamps@y..., Ken Ambrose <kenzo@u...> wrote:
> Hi,
> You don't say how many you need. If you don't need too many or
> they can be reused how about storing in memory a sequence of
> pre-generated random numbers and referencing them as needed?
>
> Ken
>
>
> "Place your hand on a hot stove for a minute, and it seems like
> an hour. Sit with a pretty girl for an hour, and it seems like
> a minute.
> That's relativity." - Albert Einstein
>
>
>
>
> ---- On Fri, 26 Apr 2002, Ned Schwartz
> (neddothekiddo@h...) wrote:
>
> > Hi there, I am new here...
> >
> > I need a way to generate truly random word values for a
> project I am working
> > on. I was wondering if anyone could suggest something. I
> tried using the
> > open pins on my stamp as suggested in the PBASIC index, but I
> just get a
> > bunch of zeros. Is there anything I could hook up to these
> pins that would
> > cause them to generate randomness? Or does anyone have a
> better method?
> >
> > thanks,
> >
> > Ned Schwartz,
> > HitMaker
> >
> >
> > To UNSUBSCRIBE, just send mail to:
> > basicstamps-unsubscribe@y...
> > from the same email address that you subscribed. Text in the
> Subject and Body of the message will be
> > ignored.
> >
> >
> > Your use of Yahoo! Groups is subject to
> http://docs.yahoo.com/info/terms/
> >
> >
> >
> >
Sign In or Register to comment.