12 best optocouplers
Optocouplers, also known as optoisolators or photocouplers, are electronic components used in various applications, particularly in industrial and electrical circuits. They provide electrical isolation between two circuits while allowing the transfer of signals or data through light. Here's what you need to know about optocouplers:
Basic Structure: An optocoupler consists of an LED (Light Emitting Diode) on one side and a photosensitive semiconductor device (usually a phototransistor or photodarlington) on the other side. These two components are housed in a single package but are electrically isolated from each other.
Isolation: The primary purpose of an optocoupler is to provide electrical isolation between the input and output sides. This isolation prevents electrical interference, such as voltage spikes or noise, from propagating from one circuit to another. It's particularly crucial in applications where safety and data integrity are paramount.
Working Principle: When current flows through the LED on the input side, it emits light. This light strikes the photosensitive semiconductor on the output side, causing it to conduct electricity.Thus, an electrical signal or data is transmitted from the input side to the output side, but there is no direct electrical connection between the two sides.
Applications:
- Voltage Level Shifting: Optocouplers can be used to shift voltage levels between two circuits with different voltage levels, ensuring compatibility.
- Signal Isolation: They are commonly used in control systems to isolate low-voltage control signals from high-voltage power circuits, reducing the risk of electrical damage or shock.
- Noise Immunity: Optocouplers help improve noise immunity by preventing electromagnetic interference from affecting sensitive circuits.
- Safety Interlocks: In industrial machines and equipment, optocouplers are often employed in safety interlock systems to ensure that certain conditions are met before allowing a process to continue.
Types of Optocouplers: There are various types of optocouplers, including:
- Phototransistor Optocouplers: These use a phototransistor on the output side to provide electrical isolation.
- Photodarlington Optocouplers: They employ a photodarlington transistor for enhanced sensitivity and current gain.
- Solid-State Relays (SSRs): SSRs are a type of optocoupler that can switch high-voltage loads using an optically isolated control input.
Advantages:
- High electrical isolation.
- Fast response time.
- Low power consumption.
- Long operational life.
Limitations:
- Limited bandwidth compared to direct electrical connections.
- Temperature and aging can affect performance over time.
In summary, optocouplers play a crucial role in providing electrical isolation and noise immunity in various industrial and electrical applications. They are essential components in systems where safety, data integrity, and protection against electrical interference are priorities.
Below you can find our editor's choice of the best optocouplers on the marketProduct description
NOYITO PC817 4-Channel Optocoupler Isolation Board User Manual Download Link (including schematic):
https://www.amazon.com/clouddrive/share/E3rlYMWee1xOvEvMUZ97bbRyQyGLYmWttshtUOb6qz0
Parameter
Drive terminal signal voltage: 3.6-24V.
Output terminal voltage range: 3.6-30V (output current depends on the specific situation but the maximum does not exceed 10MA, the total power is constant, the voltage and current are inversely proportional)
Whether the output is a high potential output or a low potential can be realized by a jumper cap.
The 4 channels 817 are separated., can achieve simultaneous control of different voltages, etc.
Board size: 48mm x 38mm (length and width); long side hole distance: 42mm; wide side hole distance: 32mm
Package Inluded:
1pcs NOYITO PC817 4-Channel Optocoupler Isolation Board
- This module is used when it comes to the need for isolation control and voltage conversion.
- Drive terminal signal voltage: 3.6-24V. Output terminal voltage range: 3.6-30V (output current depends on the specific situation but the maximum does not exceed 10MA, the total power is constant, the voltage and current are inversely proportional)
- It can realize 3.3V or 5V to control the interface of 3.6-30V voltage . After the control terminal is turned on, the controlled terminal will also be turned on.
- Photoelectric isolation has strong anti-interference ability. It can drive high-power triodes, MOS tubes and other applications that require high-voltage driving, and can also directly drive low-power 24V relays.If it is a pulse signal, please note that the limit of 817 is 4KHZ or less. If the control signal is greater than 4KHZ, please do not use this module, it will not work properly.
- NOYITO PC817 4-Channel Optocoupler Isolation Board User Manual Download Link (including schematic): https://www.amazon.com/clouddrive/share/E3rlYMWee1xOvEvMUZ97bbRyQyGLYmWttshtUOb6qz0
User questions & answers
Question: | Is there a schematic? what is the jumper for? does this have built in pull-up or pull-capability to prevent a gpio from floating |
Answer: | The schematic for one channel is on the Amazon website. It is a standard PC827X photo transistor. The jumper is for separating the 3.5v ground from the output ground. You are on your own for GPIO pull-up or pull-down resistors. |
Question: | Can I have 1 12 volt input and if input polarity changes, 2 different 5 volt output triggers? 1 for each polarity |
Answer: | It doesn't seem to meet your requirements. It can realize 3.3V or 5V to control the 3.6--24V voltage level interface. After the control terminal is turned on, the controlled terminal will also be turned on. |
Question: | In and out voltages to activate relay. I need to use a 12v input and have this supply a 12v output to control a 12 v relay. Is this possible |
Answer: | It can realize the interface of 3.3V or 5V controlling 3.6-24V voltage level. After the control terminal is turned on, the controlled terminal will also be turned on. It can drive high-power transistors, MOS tubes and other occasions that require high-voltage driving, and can also directly drive low-power 24V relays. it should be work. You can try it. |
Question: | How do you get the optocoupler to work? i am using it for a grbl cnc machine. do i have to program the grbl to recognize the optocoupler |
Answer: | PC817 is a commonly used linear photocoupler. It is often used as a coupling device in various functional circuits that require more precision. It has the function of completely isolating upper and lower circuits without affecting each other. Ordinary photocouplers can only transmit digital signals (switching signals) and are not suitable for transmitting analog signals. A linear photocoupler is a new type of optical isolation device that can transmit continuously changing analog voltage or current signals. In this way, as the input signal changes, a corresponding optical signal will be generated, which will cause the phototransistor to have different conduction levels. , The output voltage or current will be different accordingly. PC817 optocoupler can not only play a feedback role but also play an isolation role. |
Product description
Description:
With high quality optocoupler
With LED patch indicator.
The power supply has anti-connection protection.
The limit conversion frequency is 20Khz.
PCB size: 45x72mm.
Module size: 48x86x40mm (LxWxH).
Widely used, it can be used for signal isolation, level conversion between signals such as single chip microcomputer and PLC. NP,NPN signal to NPN signal, signal level conversion and other uses.
Choose the right product for your needs.
Input and Output Parameters:
NPN / PNP Input
NPN Output
3.3V to 3.3V
3.3V to 5V
3.3V to 12V
3.3V to 24V
5V to 3.3V
5V to 5V
5V to 12V
5V to 24V
12V to 3.3V
12V to 5V
12V to 12V
12V to 24V
24V to 3.3V
24V to 5V
24V to 12V
24V to 24V
Package Included:
1pcs NOYITO 4-Channel Optocoupler Photoelectric Isolator Module Level Voltage Converter Module
- NOYITO 4-Channel Optocoupler Photoelectric Isolator Module Level Voltage Converter Module with high quality optocoupler and LED patch indicator.
- The power supply has anti-connection protection. The limit conversion frequency is 20Khz.
- PCB size: 45x72mm. Module size: 48x86x40mm (LxWxH).
- Widely used, it can be used for signal isolation, level conversion between signals such as single chip microcomputer and PLC. PNP,NPN signal to NPN signal, signal level conversion and other uses.
- NOYITO 4-Channel Optocoupler Photoelectric Isolator Module Module User Manual Schematic Wiring diagram Download Link: https://www.amazon.com/clouddrive/share/3AVzCKmGbXp4LuKMK0mtfz4mHKpK3NXVd7f3yMdpfLM
User questions & answers
Question: | Is there an npn manual? the link is to the pnp version. are there pictures and truth tables for the npn version |
Answer: | You can download from this link NOYITO 4-Channel Optocoupler Photoelectric Isolator Module User Manual Download Link : https://www.amazon.com/clouddrive/share/ZajJMKi3AkPAmlZHXV5Zfnc0sTl6jxyQ8NBbSasuxXI |
Product description
Specification:
Material: Circuit board
Control signal: TTL
Rated load: AC 250V/10A, DC 30V/10A
Max. switch voltage: 250VAC, 30V
Operating Voltage:12V
Trigger Current: 5mA
Max. Current: 190mA
Size: 50mm * 26mm (1.96 inch *1.0 inch )
Module interface:
1. DC+: positive power supply (VCC)
2. DC-: negative power supply (GND)
3. IN: can be high or low level control relay
Relay outputs:
1. NO: normally open relay interface
2. COM: Common Interface Relays
3. NC: normally closed relay interface
High and low level trigger options:
It is low level trigger when jumper connect to LOW pin
It is high level trigger when jumper connect to HIGH pin
- 【12V 1 Channel Relay Module】These Relay Board use photocoupler isolation that has strong driving ability and stable performance.
- 【Humanized setting】 Fault tolerant design, even if the control line is broken, the relay will not operate; And interface design humanized, all the interface can be directly connected through the terminal lead, so convenient.
- 【Main Specification】 Peak Load of NO Connector: AC 250V/10A, DC 30V/10A; Trigger Current: 5mA; The Module Operating Voltage:12V.
- 【Adopted SMD Optocoupler Isolation& jumper Set】 The isolation circuit prevent damages to I / O port by relay switch current.The module has a jumper so you can set rather the unit state changes with high or low signal. Has screw terminals for relay (NC,C,NO) and for input; Coil +, coil - and trigger.
- 【Wide Application】-These 12v relay board works well with ARM /PIC /AVR /MCU/Raspberry/CNC machine/ PS4 etc.
User questions & answers
Question: | How to wire for simple spdt relay? i supplied 3.5 vsc to +vcc & gnd. how do i trigger the relay to activate i.e. switch to n.o. closed |
Answer: | There's three pins on either side. Connect vcc and gnd to your voltage source and gnd to ground. The In pin is what makes it trigger. |
Question: | Is this a package of 10 as shown or single units for $12.99 ? Thanks |
Answer: | Package of 10 |
Question: | For the 12V model, what should be the minimum trigger voltage(IN) to control the relay open/close |
Answer: | 12 volts is the minimum voltage to trigger these units |
Product description
Gikfun Packing 20pcs OPTOCOUPLER DIP-4 PC817C PC817 for Arduino Diy
- Gikfun Packing 20pcs OPTOCOUPLER DIP-4 PC817C PC817
- Number of Pin: 4
- Pin Pitch: 2.54mm
- Optocoupler Output Type: optical transistor
- We’d like to receive your valuable suggestions for our products and make your idea come true.
User questions & answers
Question: | Would these be able to handle cutting/allowing signal to a speaker from a stereo (using 4 for the 2 pos and 2 neg wires |
Answer: | You would be far better off using an Omron G3VM-61A1, as long as the load current to the speakers DOES NOT EXCEED 0.5 Amps; otherwise, you're best bet is to control a mechanical relay for speaker switching, since you can wire a 4PDT relay to switch a load resistor in place of the speakers. (Amplifiers should never be operated unloaded, otherwise you risk damage to the amplifier output drivers.) |
Question: | I am confused about this, could the optocoupler be used as a relay |
Answer: | Optocoupler is being used to isolate two parts of the design to pass the signal from one end to other. Mainly the signal is used to trigger/drive the relays. Yes, in some case, if the current is very low, within the limits of the optocoupler's output current capacity, then it can be used as DC switch, but need to know what will be driving or switching. |
Question: | Do I need to use a resistor with these if I power from an arduino uno pin? (5V, 50millamp |
Answer: | Yes, a resistor is required to limit the current sink and to maintain recommended voltage across the LED. Please see that data sheet for this component and chose the right resistance value ; As you know: (Uno pin valtage - LED voltage)% (current limit for the LED) is the resistance value. |
Question: | Where is the datasheet |
Answer: | www.sharp-world.com/products/device/lineup/data/pdf/datasheet/pc817xnnsz_e.pdf and/or www.farnell.com/datasheets/73758.pdf and https://www.google.com/search?q=PC817 will show these and more. |
Product description
Photocoupler
Current transmission ratio: 50% (min)
High isolation voltage: 5000V (effective value)
UL standard
The limit parameter
Forward current (ICEO) : 50mA
Peak forward current (ICE Max) : 1A
Reverse voltage: 6V
Power: 70 mw
Collector emitter voltage: 35V
Emitter collector voltage: 6V
Collector current: 50mA
Collector power: 150mW
Total power: 200mW
Working temperature: - 30 ℃ ~ + 100 ℃
Collector emitter saturation voltage: 0.1 V (typical value)
Cut-off frequency: 80kHz
Current transmission ratio: 50% ~ 600%
Package include:
50pcs*PC817C
- Supply Voltage:international standard
- Type:Integrated Circuits
- 4 pins, dual row, 2.54mm pitch.Used widely in computer terminals
- Size : 8 x 4 x 7mm/0.3" x 0.2" x 0.3" (L*W*H)
- Material : Plastic, Metal
Product description
Parameters:
Forward current (ICEO): 50mA
Peak forward current (ICE Max): 1A
Reverse voltage: 6V
Power dissipation: 70 mw
The maximum collector / emitter voltage: 35V
The maximum collector / emitter voltage: 6V
Isolation voltage: 5000V (RMS)
Current transfer ratio: 50% (minimum)
Collector current: 50mA
Collector power dissipation: 150mW
Total power dissipation: 200mW
Operating temperature: -30 ~ +100 Degrees Celsius
Collector emitter saturation voltage: 0.1V (typical value)
Cut-off frequency: 80kHz
Number of Pin: 4
Package includes:
10pcs DIP-4 PC817C PC817 Optocoupler
- 5V 8-Channel Relay interface board, each one needs 70mA Driver Current; Equiped with high-current relay, AC250V 10A ; DC30V 10A
- Each relay has normally open and normally closed contact. Can be selected by jumper relay and TTL or ground.
- With power indicator,8-way road has a status indicator. With a relay coil to absorb the diode protection.
- Standard interface that can be controlled directly by microcontroller (Arduino , 8051, AVR, PIC, DSP, ARM, ARM, MSP430, TTL logic)
- The 8 channels are optically isolated, safe, reliable, anti-interference. Widely used for all MCU control, industrial sector, PLC control, smart home control。For a complete data sheet for this relay board, please download it from: http://dwz.win/UhW
User questions & answers
Question: | I know these are 10 amp relays but what would happen if I put a 15 amp device on them? Like a table saw. Would it shorten the life or just not work |
Answer: | There is another board that looks identical to this one that is rated the same except it specifically calls out the 120V rating... And it's rated at 15A for 120V and 10A for 250V. Looks identical... I'd either just buy that one or use this one to run a larger relay. That said what is 15A? Because the max continuous load on a 15A AC circuit is 12A. I wouldn't worry about hitting this thing with 15A if start up. |
Question: | Why is it active on low and how do i close it on arduino |
Answer: | Active low, energized when the control pin is set to 0v, is because semi-conductors can absorb (or sink) more power than they can push out (or supply). This means that the common side of the relays is connected to the supply, in this case +5vdc, and circuit completes by setting the other pin to 0v. The other side then acts as a switch closing the contact and completing the external high voltage/current circuit. |
Question: | Is there a datasheet for this |
Answer: | Pls. download it from this link: http://www.elegoo.com/tutorial/Elegoo%208%20Channel%20DC%205V%20Relay%20Module%20with%20Optocoupler%20for%20Arduino%20UNO%20R3%20MEGA%202560.pdf |
Question: | why can the relay handle such a high AC power but a low DC power |
Answer: | When it comes to switches or relays, the big difference between AC and DC is that AC naturally has "current zeros" twice a cycle. As you open the contacts, you'll draw an arc until there's a current zero which obviously means it extinquishes. Assuming the current and voltage are somewhat in phase, the voltage across the contacts at the time will also be relatively low. This gives the ionized air formed by the arc some time to dissapate before the voltage rises to a maximum, and so the air gap should hold. With DC, there are no current zeros. You have to break the current by separating the contacts across so much air that the voltage isn't enough to maintain the ionized path. This means that the AC rating of a switch or relay should be higher than its DC rating. |
Product features
Product discription:
Product Name : 8-Channel Relay Module; Output Channel : 8
Power Supply : 5V;Load Voltage : AC 250V 10A,DC 30V 10A
Total Size : 134mm x 52mm x 17mm/ 5.3" x 2.0" x 0.7" (L*W*H);
Mounted Hole Size : 3mm/ 0.12"
Upper Mounted Hole Center Distance : 129.2 x 46.7mm/5.1" x 1.8"(L*W);
Lower Mounted Hole Center Distance : 128.5 x 46.7mm/5.1" x 1.8"(L*W);
Material : Electric Part
Weight : 122g;
Package Content : 1 x 8-Channel Relay Module
- Driver Current:15-20mA each
- Indication LED's for Relay output status
- IN: can be high or low level control relay
- Equiped with high-current relay, AC250V 10A ; DC30V 10A
- Standard interface that can be controlled directly by microcontroller (Compatible with , 8051, AVR, PIC, DSP, ARM, ARM, MSP430, TTL logic)
User questions & answers
Question: | Will these trigger directly from a raspberry pi 3.3 volt i/o output? others that look identical actually state that they will |
Answer: | They need 5 volts on the power pin to operate, but can be triggered from 3.3 volt logic. Look for my review for more details. |
Question: | Has anyone used this to control a 36vdc 3.5a motor |
Answer: | Have not used it specifically for that but it should easily handle on/off power for your motor. The relay is good for 10A |
Question: | How do you configure it for a 3.3 volt logic level input and do you supply a schematic |
Answer: | There's no way to set the module for 3.3 volts. It will work on a 3.3v microcontroller because it is a logic low that turns on the relay. In other words you turn it on by grounding the input pin. But you will still need 5 volts to power the relay module. You can find some more details about this in my review. |
Question: | Hello, can I use a 5 volts 7 amps power supply, with this module? Thanks |
Answer: | Yes |
Product features
Specification:
1. Dimensions: 50.5mm * 38.5mm * 18.5mm
2. Weight: 31g
3. PCB color: black
4. board around with four fixed screw holes, hole diameter 3.1mm, easy to install and fixed
5. Relay selection of high-quality loose relay, single-pole double-throw. A common end, a normally open end, a normally closed end
6. Optocoupler isolation, good anti-interference
7. Low level pull-in, high-level release. Pull the status indicator light, release the status indicator is off
8. VCC for the system power, JD_VCC for the relay power. Plug in the jumper cap
Product description
Huayao 8-Channel Relay Module
It is also able to control various appliances and other equipments with large current.. Standard interface can be directly connected with microcontrollers.
Red working status indicator lights are conducive to the safe use.
8 Channel DC 5V Relay Module with Optocoupler
Feature:
Can be used as microcontroller development board module can be used as home appliance control
5 V-12V to TTL control signal
The control signal DC or AC, 220V AC load can be controlled
There is a normally open and one normally closed contact
A power indicator light
A control indicator, pull off, disconnect does not shine
Transistor drive to increase the relay coil control pins high impedance
The control pin has a pull-down circuit to prevent malfunction relay vacant
Specifications:
Product Name: 8-Channel Relay Module
Output Channel: 8
Power Supply: 5V
Load Voltage: AC 250V 10A, DC 30V 10A
Total Size: 137mm x 56mm x 17mm/ 5.4" x 2.2" x 0.7" (L*W*H);
Mounted Hole Size: 3mm/ 0.12"
Mounted Hole Center Distance: 132 x 50mm/5.2" x 2"(L*W);
Material: Electric Part
Package Content :
2 x 8-Channel Relay Module
- 5V 8-Channel Relay interface board, each one needs 15-20mA Driver Current;Relay output maximum contact is AC250V 10A and DC30V 10A
- Each relay has normally open and normally closed contact. Can be selected by jumper relay and TTL or ground.
- Standard interface that can be controlled directly by microcontroller (8051, AVR, PIC, DSP, ARM, ARM, MSP430, TTL logic)
- With power indicator,8-way road has a status indicator. With a relay coil to absorb the diode protection.
- Widely used for all MCU control, industrial sector, PLC control, smart home control.
Product description
Module Description:
The module uses genuine quality relay, normally open interfaces
Maximum load: AC 250V/10A, DC 30V/10A
SMD optocoupler isolation, strong driving ability, stable performance; trigger current 5mA
The module voltage 5V
The module can be set high or low triggered by jumper
Fault-tolerant design, even if the control line is broken, the relay will not operate
Power indicator (green), relay state indicator (red)
Interface design user-friendly, all interfaces are available through the wiring terminal direct connection leads, very convenient
Module size: 50mm * 26mm * 18.5mm (L * W * H)
4 mounting bolts holes, hole 3.1mm, 44.5mm * 20.5mm spacing
Module interface
DC +: positive power supply (voltage by relay requirements, 5V.9V.12V and 24V selection)
DC-: negative one
IN: can be high or low level control relay
Relay outputs
NO: normally open relay interfaces, relay before hanging, pull back and COM short-circuited
COM: Relay Common Interface
NC: normally closed relay interfaces, relay and COM short-circuited before, after the pull-vacan
- The module uses genuine quality relay, normally open interfaces
- Maximum load: AC 250V/10A, DC 30V/10A
- SMD optocoupler isolation, strong driving ability, stable performance; trigger current 5mA
- The module voltage 5V
- The module can be set high or low triggered by jumper
User questions & answers
Question: | Will any transmitter work or do I need a specific one? I have a couple small transmitters I wanna use |
Answer: | I am not sure what you mean by transmitter. You need 5v power to run and any 5V control signal to tell it to turn on. |
Question: | Can you provide a schematic of the circuit |
Answer: | Don't have one, but the inputs go thru an optoisolator that drives a transistor that drives the relay. LEDs show status of power and relays. Very well built and a great price. Perfect for coupling logic to dirty loads. |
Question: | Can 5v from arduino power this, current-wise? i mean dc power, not the trigger |
Answer: | If you were powering something with this from the Arduino you really don't need it. The purpose for this is to power something that uses a different voltage or pulls more current than the Arduino can provide. |
Question: | What does it mean by "IN can be high or low level? Can someone give a wiring example for the input |
Answer: | High would be triggered by +5V, like setting an Arduino output to HIGH. Low would be triggered by connecting to ground, like setting an Arduino output to LOW. As described you can choose either method for each relay. |
Latest Reviews
View all
Natural Lube For Men
- Updated: 30.04.2023
- Read reviews

Folding Guest Bed
- Updated: 04.05.2023
- Read reviews

Uncle Onsies
- Updated: 01.04.2023
- Read reviews

Global Boning Knives
- Updated: 04.03.2023
- Read reviews

Passive Components
- Updated: 16.05.2023
- Read reviews