Home > Embedded Systems, Projects > Arduino: True Random Number Generator.

Arduino: True Random Number Generator.

This project refers to an Arduino sketch that implements a true random number generator with the help of an audio sensor. The sensor measures the sound volume in the nearby environment. The Arduino acts as a network device with an appropriate WEB interface in it from which we can access the random numbers. This technology is not new as it exists in other network devices. For example, routers or network printers have a WEB interface.

The WEB interface is installed in the Arduino itself and is supported with the help of a simple but quite progressive web server (which is also located within the Arduino). The Arduino is connected to the Internet with a special Ethernet card (Ethernet Shield). The Ethernet card is assigned with a static IP (because the Arduino in this case does not work as a client but as a server since the web server is executed there at port 80).

To enable the sound sensor to collect really random values as regards the volume of sound in the environment, it helps to place it in a noisy room or near a radio.

For more information you can get the project itself:

`arduino_true_random_number_generator

Various images of the application.

True Random Number Generator – Figure 1.

True Random Number Generator – Figure 2.

True Random Number Generator – Figure 3.

  1. August 20, 2010 at 02:12

    How about a box that has been sprayed with an overdose of ant pheromones and contains inside a vibration or touch sensor.

    The attraction of insects to the box and their movement inside it will generate random vibrations.

    I think it is quite economical.

    Well, ants will also need food occasionally. This will be offered by spraying substances.

  2. August 15, 2010 at 13:18

    Basically, it works as a WEB application (since it is connected to the internet with an Ethernet card and has integrated web server) and should automatically generate the random numbers. The mouse movement requires a man to cause. As for television, it is interesting enough but it is wasting much power. There are several ways to achieve randomness.

  3. August 14, 2010 at 19:20

    Their combination may provide with some good reliability.

    What you mention consumes much energy.

    However, I think a sound sensor with a radio close is enough.

    If we need peace and quiet, we will have to think about alternatives.

  4. August 14, 2010 at 19:18

    Both light and temperature are changing very slowly and can be easily calculated.

    I’ve tried this before.

  5. Chatzikyriakou George
    August 14, 2010 at 16:33

    Or, in case you want it the most quiet (at night), there can be a combination of different sensors such as sound, light, temperature, humidity…

  6. Chatzikyriakou George
    August 14, 2010 at 15:22

    Very clever… what would you think of a photoresistor at the analog input?

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: