PC817 is an optoisolator consists of an infrared diode and phototransistor pinout, working and Example with Arduino, datasheet, applications and features