Difference between these optocoupler schematics

HW-nut

Joined May 12, 2016
97
I prefer the second circuit because the bias resistor R2 can be selected such that the output transistor is off when the leakage of IC1 is excessive.
 

crutschow

Joined Mar 14, 2008
34,470
The first is not a proper circuit.
It can zap the opto output transistor since there's no resistance to limit its collector current from the PNP's base-emitter junction to the power supply.

The second is okay, since it has a limiting resistor.
 

MaxHeadRoom

Joined Jul 18, 2013
28,702
The opto output can also be in the emitter if the reverse logic is required and a NPN used, but I prefer to use a mosfet if possible, starting with the 2n7000.
Max.
 
Top