# How to Make a Random Number Generator

5,304

9

5

## 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.

### Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

## Step 1: Components

To make this project you will need:

1 Genie C08 chip
2 4026b chips
8 0k resistors
2 10k resistors
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.

Participated in the
MakerBot Challenge

6 1.0K
8 1.9K
114 25K

## 5 Discussions

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. :)

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

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

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.