News for hackers. Stuff that matters.
Re:Audio Optocouplers by aidos on Saturday September 24, 2022 @05:41PM (#32966773)
I had a brief foray into electronics a few years ago hacking about with making a really crummy arduino synth. Part of that involved wiring it up to the midi output of a controller.

The concept of an optocoupler is just beautiful - isolate the circuits from each other by transferring your signal using light!

Looking at the diagrams here of how to increase the bandwidth through the device, electronics is all still total voodoo to me.

Re:Audio Optocouplers by klodolph on Saturday September 24, 2022 @06:34PM (#32967157)
The second circuit is actually really boring once you recognize the parts. From left-to-right, it's:

1. A voltage to current converter

2. An optocoupler

3. A buffer

4. An amplifier

Stage #1 drives the optocoupler, since current is what gets turned into light inside the optocoupler.

The output is high-impedance, so you add a buffer, which is #3.

The output has a low-level, so you amplify it, which is #4.

If you work through a chapter of an EE book that explains op amps, and you're not afraid of algebra, you'll find this stuff becomes approachable very quickly. Designing circuits like this is a bit more challenging, but reading them is very approachable.