The main purpose of an optocoupler interface is to completely isolate the input circuit from the output circuit, which normally means there will be two completely separate power supplies, one for the input circuit and one for the output. Opto-isolators prevent high voltages from affecting the system receiving the signal. It typically consists of an LED (light-emitting diode) and a photodetector, such as a phototransistor, housed within a single package. In this guide, you'll learn how they work and how you can use one in your own projects. Optocouplers are very useful when you need to isolate different sections of a circuit, for example in power. An optocoupler, also known as photocoupler or opto-isolator, is a device which can transfer an electrical signal across two galvanically-isolated circuits by way of optical coupling.
[PDF Version]