Use a bidirectional optocoupler for attached any PNP & NPN sensor type

Hi,
I'm not exactly sure what you want.
But if you want a simple circuit to detect an ACTIVE output from an NPN or PNP output sensor, then just a simple opto-coupler circuit will work.
It just depends on how you connect it to the sensor.


If you want to make a PCB that you connect to an NPN or PNP output sensor, then put jumpers on the PCB to switch from NPN to PNP.
Tom.. :grinning: :+1: :coffee: :australia: