Circuit Lake

Electronic Project and Circuit Collection

USB Hourglass Sand Timer

3:49 am


Arduino Random Number Generator

If you’re looking random number generator project check out this Arduino Based USB Hourglass. The project combines a sand timer with a rotating mechanism and an optical beam through the center of the timer to observe the falling sand. The amount of light reaching a detector is digitized at frequent intervals and processed by a microcontroller to determine when to rotate the hourglass. The digitized light levels are also sent by USB to a host PC where they can be used as a source of random entropy.

Peter Allan, project designer, explains that the USB Hourglass outputs the raw analog-to-digital converter readings as 10-bit non-negative integers (0-1023) in text form at 100 samples per second. The hardware is capable of a higher data rate, but there’s not much higher frequency information present. Using a conservative estimate of 9 bits of entropy per 10-bit sample, the USB hourglass produces 900 bits/second of true randomness. For most applications the raw data should be run through a good whitening algorithm

Here is USB Hourglass in Action

USB Hourglass
Project Documentation and Schematic
comcast.net



Related Electronics Project:
Sand Blast Controller
The project built to solve product tracking problem for the Sand Silo, which holds 50,000 Pounds of Sand. It...
USB 8 Bit Interface Board
This USB interface board project is used to connect 8 (parallel) data lines to the USB. Main component of...
Personal Swimming Timer
The AVR ATmega8 based swimming timer project help the swimmer to counts the lengths of the pool swum and...



Tags: , , , , ,
arduino rng, arduino timer, arduino random led, random number generator arduino, random generator in microcontroller