I watch a video from YoshiMaker called Creating Your Own Quantum Random Number Generator (QRNG)!
and was inspired to make my own USB stick that spits out random numbers.
To do this, i plan to make a prototype board with the basic circuit and add a couple of sub circuits to improve on it and a microcontroller to do the measuring.
The basic circuit is fairly simple; the only problem is that I don't know how to calculate it. See basic circuit attachment. It's a simple circuit with a Zener diode in between two resistors to limit the current flow and a capacitor in parallel.One of the problems is that I don't know the value of the Zener diode in the video. I chose a 2V Zener diode for my circuit.
I know how to calculate a voltage divider, and in this case Vout = Vsource *R2 /(R1 + R2) =0.455V to ground, but the Zener diode does not go to ground. And I don't know if current is flowing through my Zener diode and what the output voltage is.My feeling is that the output voltage is going to be 2 volts, but this is based on feelings and not on calculations.
So my first question is, how do I calculate the output of this circuit?
In the video, the maker gives three ways to improve the circuit.
1. Cascade the basic circuit.
2. Filter out the DC noise.
3. Amplify the output.
I know that cascading a circuit means that you attach the input of the second circuit to the output of the first circuit. But in this case I don't know what the input is.I designed a circuit, but I don't know if I got it right. See "cascaded circuit small.png".
So the second question is, how do you cascade this circuit, and why does it improve the output signal?
The signal coming out of the circuit on the video is around 1V with an amplitude of around 4 millivolts. See "scope shot small.png".
And with filtering out DC noise, I think he means filtering out the thick middle part of the signal; see "signal small.png".
And to be honest, I don't know how to accomplish this.
So my third question is: does anybody know a simple filter circuit to experiment with to filter this out?
Amplification.
I have never worked with op-amps, and I really want some more experience with them. I read a little bit about the basic op-amp building blocks. And I think that a non-inverting amplifier would do the trick. First amplify the signal and then bring it down in range of my ADC with a voltage divider.
questions:
Is this the right strategy, amplification and then voltage divider?
I have one rail, 5V. I don't think that it is handy to make 2 rails because the usb gives me 5v.
How much can you amplify a signal with an op-amp? Is it possible to amplify 5 mV to 500 mV?
Is there a good single-rail op-amp to begin experimenting with? (Personally, I like smd)
Well, a lot of questions. Let me be clear: I don't want you to make my design for me, but it would be great if somebody could push me in the right direction so I can experiment and learn.
Help will be greatly appreciated. greetings Bert