Introduction: How to Make a Random Number Generator

This is a random number generator that I created in school last year, I'm putting on instructables to people can share and learn on how I made my project. I will describe to the best I can, as my note was mostly trial and error to get the project working but in the end I got it to work.

Step 1: Components

To make this project you will need:

1 Genie C08 chip 
2 4026b chips
8 0k resistors
2 10k resistors
1 Genie download wire
2 single LED displays
1 push to make switch
1 spst switch
1 3 AA battery holder

Step 2: Building the PCB

The pictures that I have provided are how I got mine looking make to the smallest I could get them but you can change them if you have double sided PCB I only had single so that why I have 0K resistors to be jumpers. I have put on the schematic what I hope gives a better look on how it was put together and connects put where. 

Step 3: The Programme

This is the programme I wrote what is a simple flowchart.

Step 4: Case Design

These are my box size's. My first box I made did not work out due to I changing size every time I used the laser cutter also the ply would was bent. I then chose to use acrylic instead as it was a much better materiel to glue together and cut. The size on the photo is for the acrylic design as it is over all thicker than the ply wood. I cut out rectangles with a line in the middle to create a darker environment when looking at the LED displays. I also engraved text onto the top so people know what buttons are for what as they is to holes on top for a push to make switch to start the device giving out numbers and a on/off switch. That's how I create my number generator it designed it so people would not have to pick numbers my project would do it for them.

Comments

author
rhoaste (author)2011-10-28

So we've had the "cyber scientists" on the job (again), and we have determined that this is not a "true" random number generator. Lets face it, the instructables site is really intended for the home hobbyist, and the cost of a radio active monitor computer interface (such as the Aware RM80) runs in the hundreds of dollars price bracket... unjustifiable for most. Keep it real... this is a great project. Thanks to the author for submitting it, and I'm sure those really interested for the purposes of learning and fun will enjoy. :)

author
rickharris (author)2011-03-22

Take care although random enough for most purposes the microprocessor isn't really producing truly random numbers just a long pattern.

author
itzzakagamer (author)rickharris2011-03-24

I don't know how it randomly pick numbers it was just a flow chart option I could chose but from when you get the number they are pretty as my teacher tested it on the lotto we dint win though lol

author
jensenr30 (author)2011-03-22

in step 1 you say that i need eight "0 K resistors"? is this a typo?

author
itzzakagamer (author)jensenr302011-03-24

No you can just use plain wires but I used 0K resistors because it look much neater and more professional that flying wires.

author
rickharris (author)jensenr302011-03-23

No they are used as links on the PCB you may as well use wire.

author
jensenr30 (author)rickharris2011-03-23

ah. i see.

author
raja681 (author)2011-03-23

im going to uses this for my math homework from now on

author
jam BD (author)2011-03-22

to be truly random a radio active source with a counter can be used. Radioactive decay is one of few things that are truly random.

About This Instructable

4,525views

9favorites

License:

More by itzzakagamer:How to make a random number generator
Add instructable to: