Dear Arduino community,
for a simple MIDI controller application I successfully managed to set up a MIDI input and output circuit with an Arduino Micro like this:
Now I would like to migrate to an Arduino Nano ESP32, which has I/O voltage of 3.3V. My question is: What is the correct circuit for this setup?
In this Forum I already saw several answers circulating, which seem to differ from the MMA description. Few observations:
- MMA recommendation for 3,3V: INPUT is given with PC900V optocoupler. 6N138 is mentioned but not further described. OUTPUT has quite low resistor values of 33 (R7) and 10Ω (R8)
- (Which is why) it may be recommended to use different values and different optokoppler 4N35. Connections not further explained (MIDI 3.3V circuit - #3 by mirasderbissalin)
- PJRC published a circuit for their 3.3V boards: Different Diode at MIDI IN, different resistor values… Would this also work with Arduino ESP32?
I am wondering what may be the best solution. Any advice highly appreciated.
Thanks and best wishes
Philip