PC817 Optocoupler pinout, working and Example with Arduino
The diagram represents the pin configuration diagram and explains the functionality of each pin. In this pinout diagram of PC817, pin1 and pin2 are parts of the input side and pin3 – pin4 are output pins.