Instructables

How to make a random number generator

Picture of 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.
 
Remove these adsRemove these ads by Signing Up

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

Picture of Building the PCB
Untitled-1.jpg
Untitled-2.jpg
Untitlexd-2.jpg
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

Picture of The programme
This is the programme I wrote what is a simple flowchart.

Step 4: Case Design

Picture of Case Design
4.jpg
Untitled-5.jpg
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.
rhoaste2 years ago
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. :)
rickharris3 years ago
Take care although random enough for most purposes the microprocessor isn't really producing truly random numbers just a long pattern.
itzzakagamer (author)  rickharris3 years ago
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
jensenr303 years ago
in step 1 you say that i need eight "0 K resistors"? is this a typo?
itzzakagamer (author)  jensenr303 years ago
No you can just use plain wires but I used 0K resistors because it look much neater and more professional that flying wires.
No they are used as links on the PCB you may as well use wire.
ah. i see.
raja6813 years ago
im going to uses this for my math homework from now on
jam BD3 years ago
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.