<div dir="ltr"><div>Hey great project Huan!</div><div><br></div><div>I am into restoring or refinishing old antique radios and cabinets, and have implemented more than one "fake vintage" radio using a microcontroller - in the recent half-decade using SDR radio.</div><div><br></div><div>Over the years I had to implement a true random number generator on a microcontroller or small computer many times.  My go-to circuit ever since my freshman year of college has used a germanium transistor plus an op-amp filter to provide the random seed. I have also the math overrun digits of a multiplication of two values sequenced from a small table of truly random numbers, though this worked better in older chipsets.  More recently I have used the value from a RTC or values read from a GPS chip or NTP value as the seed value.  But the pink noise generated by a germanium transistor has the fastest solution and is more evenly and flatter spread <br>statistically than any other solution I have measured.  And great for generating the signal required to create the sound signal for a parametric autotune of the filter path for a flat response to room acoustics, amp and speaker response, and microphone pickup of a sound system.</div><div><br></div><div>- sgh</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jun 29, 2020 at 8:47 PM Huan Truong via TriEmbed <<a href="mailto:triembed@triembed.org">triembed@triembed.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Thanks, I sent it to the HAD staff via their "submit a hack" link on<br>
their homepage and they are very kind. This is not the first time I've<br>
done that and I really like the HAD staff. I hope it will wake up the<br>
creativity of someone. In real life, this whole system looks actually<br>
pretty attractive (and sounds nice, as I usually connect an external<br>
amp to the faux radio whenever I don't feel nostalgic).<br>
<br>
<a href="https://youtu.be/QgBCnwq8A4g" rel="noreferrer" target="_blank">https://youtu.be/QgBCnwq8A4g</a><br>
<br>
<br>
<br>
As a side note, getting random numbers out of a (deterministic)<br>
computer is really hard. Getting nice, uniform numbers out of any<br>
system is even harder, that's why cryptography is so hard. There is a<br>
friend of mine, a significant and proud part of his work at Google is<br>
to create a library that makes it easy to call cryptographic<br>
functions. Specifically, part of it is to make it hard for programmers<br>
to mess up/misuse the RNG.<br>
<br>
On Sun, Jun 28, 2020 at 7:41 AM Kevin McClaning via TriEmbed<br>
<<a href="mailto:triembed@triembed.org" target="_blank">triembed@triembed.org</a>> wrote:<br>
><br>
> Excellent write up, Huan.<br>
><br>
> Speaking of "silly" and "No one cares about," I once bought a scrolling<br>
> LED sign at<br>
> a ham fest but couldn't find documentation. I reverse-engineered the<br>
> hardware so<br>
> I could directly access the LED matrix with an Arduino, then set it<br>
> about displaying<br>
> humorous/motivational messages (of the kind you see at the bottom of<br>
> slashdot),<br>
> along with some random numbers and graphics.<br>
><br>
> No, it doesn't stop there. I used the Arduino random number generator to<br>
> select the individual<br>
> messages to display but, I noticed that it always produced the same<br>
> "random" order of messages.<br>
> This annoyed me, so I added a temperature sensor and used its output to<br>
> increase the entropy<br>
> of the Arduino. Since I was in the "increase the entropy" neighborhood,<br>
> I build two audio oscillators,<br>
> with crappy stability and ran them into the AD converters of the<br>
> Arduino. I sampled the waveforms<br>
> every now and then and fed that into the Arduino's random seed as well.<br>
><br>
> Yeah, "silly" but it was a fun diversion. Did all this in the<br>
> before-the-pandemic timeframe.<br>
><br>
> Kevin<br>
><br>
> On 6/24/20 12:43 PM, Huan Truong via TriEmbed wrote:<br>
> > This has taken me way more time than I thought, but finishing this<br>
> > retrofit is a big achievement for me. It's really silly and serves<br>
> > exactly no purpose other than RE'ing something no one cares about.  So<br>
> > I just want to share for some shits and giggles.<br>
> ><br>
> > <a href="http://www.tnhh.net/posts/adventures-hacking-fake-vivitar-vintage-radio.html" rel="noreferrer" target="_blank">http://www.tnhh.net/posts/adventures-hacking-fake-vivitar-vintage-radio.html</a><br>
> ><br>
> ><br>
> ><br>
> ><br>
> ><br>
><br>
><br>
> _______________________________________________<br>
> Triangle, NC Embedded Computing mailing list<br>
><br>
> To post message: <a href="mailto:TriEmbed@triembed.org" target="_blank">TriEmbed@triembed.org</a><br>
> List info: <a href="http://mail.triembed.org/mailman/listinfo/triembed_triembed.org" rel="noreferrer" target="_blank">http://mail.triembed.org/mailman/listinfo/triembed_triembed.org</a><br>
> TriEmbed web site: <a href="http://TriEmbed.org" rel="noreferrer" target="_blank">http://TriEmbed.org</a><br>
> To unsubscribe, click link and send a blank message: mailto:<a href="mailto:unsubscribe-TriEmbed@bitser.net" target="_blank">unsubscribe-TriEmbed@bitser.net</a>?subject=unsubscribe<br>
><br>
<br>
<br>
-- <br>
<br>
Huan Truong<br>
www <a href="http://tnhh.net" rel="noreferrer" target="_blank">tnhh.net</a> / twitter @huant<br>
<br>
_______________________________________________<br>
Triangle, NC Embedded Computing mailing list<br>
<br>
To post message: <a href="mailto:TriEmbed@triembed.org" target="_blank">TriEmbed@triembed.org</a><br>
List info: <a href="http://mail.triembed.org/mailman/listinfo/triembed_triembed.org" rel="noreferrer" target="_blank">http://mail.triembed.org/mailman/listinfo/triembed_triembed.org</a><br>
TriEmbed web site: <a href="http://TriEmbed.org" rel="noreferrer" target="_blank">http://TriEmbed.org</a><br>
To unsubscribe, click link and send a blank message: mailto:<a href="mailto:unsubscribe-TriEmbed@bitser.net" target="_blank">unsubscribe-TriEmbed@bitser.net</a>?subject=unsubscribe<br>
<br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>Scott G. Hall<br>Raleigh, NC, USA<br><a href="mailto:scottghall1@gmail.com" target="_blank">scottghall1@gmail.com</a></div><i>Although kindness is rarely a job, no matter what you do it's always an option.</i><br></div></div></div></div></div></div>