Once again Kerry Wong has delved into the lower-level of our most powerful Arduino - the Due, and has explained the native true random number generator in the Due's Atmel SAM3X8E ARM Cortex-M3 CPU. The Arduino code required to enable the TRNG is quite simple, and the output can be signed or unsigned numbers centred around zero.
At first one would think that the generator isn't truly random, however Kerry's demonstration has shown that it works quite well and can be relied on, for example the following is a histogram of one million samples, that shows the even distribution:
All very interesting, and another reason to consider upgrading to a Due. For more information on the TRNG and other interesting articles, check out Kerry's detailed website. And for more, we're on facebook, Google+, and twitter - so follow us for news and product updates as well.
Looking for an Arduino Due-compatible board but with more connectivity possibilities and options than the original? Then check out our new EtherDue board:
It's the Arduino Due-compatible board with the Freetronics additions including Ethernet network connectivity, MAC address chip, microSD storage, optional PoE, upgraded power supply and more - while retaining the simplicity and ease of the Arduino IDE (with 100% compatibility). And you still have a full USB interface for uploading sketches and direct programming. For more information on this powerful board, check out the EtherDue product page.