Non-Inverting Logic-Level-Shifting Heavy Load Control Unit. 3.3V to 12V, using 2 LEDs for opto-coupling. (For updates scroll to the end)
In this tutorial, I am going to talk about the PC817 Optocoupler which is one of the most common and inexpensive 4-pin optocouplers.