Hello,
I recently created a simple project (electronic dice) which required a random function using the Arduino development platform. In this project I opted to use the random function with an analog Read as the seed.
Previously I had discovered that using this function I would consistently get higher numbers on the output of the function (once I created a box plot of the data).
To counter this I created a PCB based Antenna which in theory would amplify random noise and in turn provide a more random output.
Once I tested the results and created a histogram the results, did indeed seem to level out with no statistical outlier.
My question is, am I insane or did I get lucky?
The more I think about this the more confused I get. The floating pin is an antenna, it will naturally change its voltage in relation to the background noise. My thought process seems too simple, the bigger pin means bigger variation. Whilst it seemed to work and indeed created a more even histogram, I'm not entirely sure as to why.
To create a PCB antenna, is simply lengthening the trace enough to create a greater variation of noise on the pin?
Is there a more dare I say, "professional" / mature way to approach this using the Arduino platform?
Wouldn't the length of the PCB antenna translate to the frequency being amplified?
Given the frequency of Australian AC, would it make sense to "tune" the antenna to match the 50Hz frequency?
Kind regards,
Unordung