Hello everyone
So Iam trying to drive an optocoplur (pc817) with a PWM signal generated from comparator that compare triangle wave (single source )with dc analogue signal .
So the PWM is applied on the diode side of the optocoplur.
With a separated source used on the output side when visualising the output signal with oscilloscope it give nothing till connecting the output side ground to the input side ground,when connecting them the signal appears on the oscilloscope
Disconnect the ground from each other the signal is gone .
I have tried to use a capacitor coupling between the two ground but it didn't work (I did that because on Proteus simulation it works when adding the capacitor)
So does anyone know a solution for that as I have used the optocoplur in the first place for isolation it make no sense to reconnect the grounds together again?
So Iam trying to drive an optocoplur (pc817) with a PWM signal generated from comparator that compare triangle wave (single source )with dc analogue signal .
So the PWM is applied on the diode side of the optocoplur.
With a separated source used on the output side when visualising the output signal with oscilloscope it give nothing till connecting the output side ground to the input side ground,when connecting them the signal appears on the oscilloscope
Disconnect the ground from each other the signal is gone .
I have tried to use a capacitor coupling between the two ground but it didn't work (I did that because on Proteus simulation it works when adding the capacitor)
So does anyone know a solution for that as I have used the optocoplur in the first place for isolation it make no sense to reconnect the grounds together again?



