Optocoupler separated ground problem (solved)

ericgibbs

Joined Jan 29, 2010
21,442
hi haman,
I guess you have tried a number of PC817's with the same bad result?

Is it possible that you could post a photo, so that we can see the interconnections?

E
 

Thread Starter

haman tamimi

Joined Jul 15, 2025
35
hi haman,
I guess you have tried a number of PC817's with the same bad result?

Is it possible that you could post a photo, so that we can see the interconnections?

E
yes, I did and I have tried h11l1, a3120 and 4n35 all with the same result
about the connection it's a bit messy because it's on a breadboard but let me try to arrange
it (it may take some time)
 

MrChips

Joined Oct 2, 2009
34,817
One thing to try is to test the operation of the optocoupler alone with DC signals.
Drive the opto-emitter with DC voltage via a series resistor.
Test the voltage across the voltage source, resistor, and emitter with a DMM.

Then do the same on the photo-transistor side, with signal and without signal in.
 

Thread Starter

haman tamimi

Joined Jul 15, 2025
35
One thing to try is to test the operation of the optocoupler alone with DC signals.
Drive the opto-emitter with DC voltage via a series resistor.
Test the voltage across the voltage source, resistor, and emitter with a DMM.

Then do the same on the photo-transistor side, with signal and without signal in.
yes, I have done this with two separated sources, and it works as expected when a voltage is applied on the input side I get an output on the resistor on the output side and vise versa
 

MrChips

Joined Oct 2, 2009
34,817
yes, I have done this with two separated sources, and it works as expected when a voltage is applied on the input side I get an output on the resistor on the output side and vise versa
Therefore, your optocoupler is working.
In order to see it work with the oscilloscope, you must ground the output side to the oscilloscope.
 
Top