!gwVkCNuyEZrsmYmuvi:matrix.org

Electronics For All (EFA)

336 Members
About EFA Community: For People around the world, who are interested in Embedded SW/HW, Electronics, Industrial Automation, Robotics, OSH, OSS, Beacons, 3D Fab,Professional N/W'ing, knowledge sharing & discussions on these technologies & engineering.40 Servers

Load older messages


SenderMessageTime
2 Oct 2023
@krishnamaithreya:matrix.org@krishnamaithreya:matrix.org left the room.08:08:01
@temp4096:matrix.org@temp4096:matrix.org joined the room.11:31:31
3 Oct 2023
@temp4096:matrix.org@temp4096:matrix.org left the room.10:11:30
8 Oct 2023
@lndn:matrix.orglndn joined the room.05:30:08
10 Oct 2023
@partime:matrix.org@partime:matrix.org joined the room.20:55:02
@partime:matrix.org@partime:matrix.org left the room.21:04:09
@partime:matrix.org@partime:matrix.org joined the room.21:04:35
@partime:matrix.org@partime:matrix.org left the room.21:06:10
23 Oct 2023
@surfingturtle:matrix.orgsurfingturtle joined the room.09:28:51
2 Nov 2023
@falk:zeh.eu.com@falk:zeh.eu.com joined the room.13:33:25
3 Nov 2023
@blaster1920:matrix.org@blaster1920:matrix.org left the room.02:41:45
@ycdmdj:filik.euZdeněk joined the room.07:29:09
5 Nov 2023
@wastl:matrix.binary-kitchen.deDO5RSW - Sebastian changed their display name from do5rsw to Sebastian - do5rsw.10:10:27
@wastl:matrix.binary-kitchen.deDO5RSW - Sebastian changed their display name from Sebastian - do5rsw to DO5RSW - Sebastian.10:11:36
6 Nov 2023
@purplelady:matrix.orgPurpleLady joined the room.08:12:00
@purplelady:matrix.orgPurpleLadyI'm more into homebrew computing and digital electronics at the moment, and more of the older stuff of that.08:13:58
@purplelady:matrix.orgPurpleLadyI've been trying to work out a TRNG (true random number generator) using digital components. I know you can drive a transistor "backward" to the breakdown voltage and then amplify the noise this gives. From there, you can use things such as Schmitt triggers, ADCs, voltage levelers, etc. Of course, you'd need to have 9-12 volts to reverse bias the transistor so that shot noise can occur. If you were building a music synthesizer, that would be fine (assuming you want to be Eurorack compliant). But if you want to build something that a phone charger can power, that would be out.08:18:05
@purplelady:matrix.orgPurpleLadyThere are other things you can do if you want a TRNG. One would be to use ring oscillators. So get hex or octal inverter IC and wire an odd number of inverter channels through each other and back around in a "ring" formation. And since the IC in question would have an even number of channels, you can use the last channel as a buffer. It would remain outside of the ring. You can only use an odd number in the ring. Otherwise, you'd be creating a latch, not an oscillator. So if you use the remaining channel outside the "ring," yes, it would invert the output, but if that is the only load outside of the oscillation placed upon the circuit, it should be able to still sustain oscillation. So then, you can XOR the outputs of 2+ ring oscillators (of different lengths, such as 5 and 7 channels). You'd have both the pseudorandom effect of beating 2 frequencies together and the drift/aliasment of that, but also the drift and skew of using unregulated oscillators.08:28:19
@purplelady:matrix.orgPurpleLadyIf you were making a Pierce oscillator for a system clock (instead of using an oscillator "can" of the frequency you need), you'd only use a single channel (only good at maybe up to 30-35 MHz if using DIP packages), but you'd use loading capacitors, resistors, and a crystal. This tank/loading circuitry is to slow the oscillator.08:32:22
@purplelady:matrix.orgPurpleLadyThen once you get your random bits, you'd need a way to make them useful. So use a shift register to build bytes (or whatever size you need). After that, you could use a whitener of sorts. You could use the VN algorithm (10 = 1, 01 = 0, and skip 00 and 11, and make the comparisons non-overlapping). That is somewhat inefficient as it wastes some of your entropy, but it is a way to make a more balanced set. But you don't need to do that. You could get another shift register (at least 1 more bit than you need) and XNOR the top 2 bits, feeding that back into the "serial-in" input. So that is a linear feedback shift register algorithm. Then you can XOR/XNOR/ADD the parallel lines of the true random and the pseudo-random shift registers.08:39:19
@purplelady:matrix.orgPurpleLadyThen you'd have a random unsigned or signed integer based on however you interpret the result.08:41:14
@falk:zeh.eu.com@falk:zeh.eu.com left the room.08:42:32
@purplelady:matrix.orgPurpleLadyOf course, instead of and LFSR, one could use a ROM and a counter. Put an even, scrambled table in the ROM with balanced periods. That would not be truly random, but it would be no worse than LFSR. That is just combinational logic generating the same table each time. So the counter chips drive the address lines and point to a different "random" number. Now, what if you want to use a seed? Just add a number to it for the entire period. thus the spacings are the same, but using different number. Now, to make that seem more random, have a way to back up the state of your counters between powerings. So if you use NVRAM, the last address counter value and the addition offset can be backed up and restored for the next boot. So the user's behavior can add to the randomness.08:49:34
@purplelady:matrix.orgPurpleLadyI'm sorry if I ran someone off. That was not my intent.08:49:51
@purplelady:matrix.orgPurpleLady * Of course, instead of an LFSR, one could use a ROM and a counter. Put an even, scrambled table in the ROM with balanced periods. That would not be truly random, but it would be no worse than LFSR. That's just combinational logic generating the same table each time. So the counter chips drive the address lines and point to a different "random" number. Now, what if you want to use a seed? Just add a number to it for the entire period. thus the spacings are the same, but using different numbers. To make that seem more random, have a way to back up the state of your counters between powerings. So if you use NVRAM, the last address counter value and the addition offset can be backed up and restored for the next boot. So the user's behavior can add to the randomness.22:16:03
10 Nov 2023
@purplelady:matrix.orgPurpleLady

What would be good to cover? I think it may be time to consolidate.

10:00:53
@purplelady:matrix.orgPurpleLadyThere are various electronics rooms and several are just the admin and maybe just me.16:52:03
11 Nov 2023
@protocall7:matrix.orgprotocall7I've noticed the same, ##analog is also dead. I don't think you did anything to run anyone off btw. TRNG idea sounds cool, but it's a bit over my head so I don't have any feedback haha. Consolidation might not be a horrible idea. I certainly miss the amount of people and interaction in #sparkfun and ##electronics on freenode IRC years ago 17:45:29
@purplelady:matrix.orgPurpleLadyAnd this room has no mods/admins.19:11:25
14 Nov 2023
@KhazAkar:matrix.orgKhazAkar joined the room.06:05:42

Show newer messages


Back to Room ListRoom Version: