I’ve made a couple of MIDI interfaces in the past on arduino pro micros and nanos and had great success with adding traditional 5 pin midi jacks. In the past, for wiring up a jack, I did something like in this tutorial: Arduino MIDI Note Player. It’s a nice easy and cheap way to add MIDI when you only need some wire and resistors.
But then I came across other tutorials where they put optocouplers into the circuit like in this article: Midi To Arduino. This seems to be more like a genuine MIDI experience since MIDI supposedly uses flashing LEDS to communicate.
My assumption here is that using the optocoupler effectively turns the communication line from electrical to an optical connection.
Is the optocoupler method better/safer/more compatible with standard controllers and MIDI devices?
Am I risking anything if I just use a 3v3 serial connection on the 5 pin MIDI connections?
Haven’t posted before but I’m hoping to understand this a little better. Thanks in advance for any answers.