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.
- Arduino: Security Alarm System.
- 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.
- Articles (75)
- Compilers & Interpreters (15)
- Data Structures & Algorithms (26)
- Desktop Applications (4)
- Electronic Games (6)
- Embedded Systems (53)
- Events (19)
- Hobbies (4)
- Internet Applications (17)
- Libraries & Frameworks (12)
- Machine Learning (16)
- News (4)
- Numerical Methods (7)
- Operating Systems (10)
- Projects (77)
- Security Systems & Access Control (10)
- Tools & Filters (8)
- Writings (1)
- 143,665 clicks
- The FSF's statement on Windows 10
- FSF invites the free software community to its 30th birthday party on October 3rd, 2015
- Statement on Canonical's updated licensing terms for Ubuntu GNU/Linux
- FSF endorses embedded GNU/Linux distro ProteanOS as fully free
- The FSF is hiring: Seeking a full-time outreach and communication coordinator
- Free Software Foundation announces deputy director search