How to use PC817 ICUsing the PC817 IC is pretty much straight forward, we just have to connect the anode pin of the IR LED (pin 1) to the logic input which has to be isolated and the cathode (pin 2) of the IR led to the ground. Then Pull high the collector pin of the transistor using a resistor (here I have used 1K) and connect the collector pin to...