Click here to Skip to main content
15,887,027 members
Articles / Internet of Things / Arduino

A True Random Number Generator in Arduino (AVR ATmega in that case)

Rate me:
Please Sign up or sign in to vote.
5.00/5 (9 votes)
23 Aug 2021CPOL5 min read 15.6K   10  
A hardware-based random number generator that exploits the line capacitance and natural frequency of the circuitry of a micro controller to generate a truly random number.
In this article, you will see a hardware-based random number generator that exploits line capacitance and natural frequency of circuitry of a micro controller for generating a truly random number. The method presented in this article is so light that it actually saves 300 bytes on the flash to replace the existing arduino rand().

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Engineer techCREATIONS
Pakistan Pakistan
Developer, Programmer, Beta Tester; technically, i'm none of these. I'm a mechanical engineer, programming is my passion, my hobby and my amateur non profit profession. I program when ii need and innovate whenever, wherever i want.

Learned:
C#

Mixed:
C#+Applied Mathematicss-Robotics+C++

Developed:
C# OMR Reader
Monopoly (Urdu language)
HybridAutomation Framework
SMS Bomber (Windows Mobile 6 Professional)
Hard disk watch tower
Farmville Super Clicker
Games Profile selector
Windows mobile salat reminder
Windows mobile SMS Pole Host
and alot of other small apps

Comments and Discussions