Optocoupler

Hi!

I assume the SFH6319 optocoupler from siemens will work as well as the 6N138. Am I right?

It’s a darlington type, too.

The 6N138 is not avaiable as SO8 package…

Additional question:

For what is the 1N4148 on the input of the optocoupler?

Its a standard way to connect optocoupler that way. The diode is there to prevent damage to the IC if the MIDI is connected false… I think.

I would reeeeaaally built it in.

But when the MIDI is connected false the LED inside the optocoupler should prevent itself…doesn’t it?

For false connected MIDI the diode outside is a shortcut. I cannot see any sens at the moment.

Please enlight me!