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:
Various images of the application.
- A dynamic string data structure helper implementation.
- A useful function for getting the host name and service of a socket.
- Helper functions for handling the PID file of a background daemon.
- Useful functions for enabling and disabling the non-blocking I/O mode of file descriptors.
- A safe wrapper implemented in C for freeing dynamic allocated memory.
- Macro definitions for handling interruptible POSIX system calls.
- Implementation of functions in C for software signal management in POSIX operating systems – Version 2.
- Articles (75)
- Compilers & Interpreters (15)
- Data Structures & Algorithms (26)
- Desktop Applications (4)
- Electronic Games (6)
- Embedded Systems (52)
- Events (19)
- Hobbies (4)
- Internet Applications (18)
- Libraries & Frameworks (12)
- Machine Learning (16)
- News (5)
- Numerical Methods (7)
- Operating Systems (10)
- Projects (77)
- Security Systems & Access Control (9)
- Tools & Filters (8)
- Writings (1)
- 122,361 clicks
- Committee begins review of High Priority Projects list -- your input is needed
- Software Freedom Conservancy and Free Software Foundation announce copyleft.org
- The Free Software Foundation opens nominations for the 17th annual Free Software Awards
- Matthew Garrett joins Free Software Foundation board of directors
- Free Software Foundation statement on the GNU Bash "shellshock" vulnerability
- LibrePlanet is coming March 21-22, 2015, call for proposals now open for annual free software conference