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.



    • Pocket Sized Contest

      Pocket Sized Contest
    • Trash to Treasure

      Trash to Treasure
    • Weaving Challenge

      Weaving Challenge

    7 Discussions


    7 years ago on Introduction

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


    8 years ago on Introduction

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

    2 replies

    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


    Reply 7 years ago on Introduction

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


    Reply 8 years ago on Introduction

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

    jam BD

    8 years ago on Introduction

    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.