FTTH fiber-to-the-home solutions
Optical communication component solutions

How to connect the optocoupler module

How to connect the optocoupler module

To connect an optocoupler module, wire the input side to your signal source with a current-limiting resistor and the output side to your target circuit, keeping the two power domains completely separate.Understanding the ModuleAn optocoupler module, such as the PC817, contains an infrared LED on the input side and a phototransistor on the output side. The LED converts the input electrical signal into light, which activates the phototransistor, allowing current to flow in the output circuit without any direct electrical connection, providing isolation between circuits .Wiring the Input SideIdentify the input pins: Typically labeled as IN and GND.Connect the signal source: The input signal should be connected to the IN pin, and the GND of the signal source to the module's GND.Use a current-limiting resistor: Ensure the LED receives the correct forward current (usually 5–20 mA depending on the module) to prevent damage .Optional indicator: Many modules have an onboard LED that lights up when the input is active, confirming proper operation .Wiring the Output SideIdentify the output pins: Usually labeled VCC, GND, and OUT.Connect to the target circuit: The OUT pin connects to the input of your target device, and GND to the target circuit's ground.Pull-up resistor: Some modules include a jumper to enable an onboard pull-up resistor to the output VCC. If your circuit requires it, ensure the jumper is set correctly .Do not connect input and output grounds: The main purpose of the optocoupler is isolation. Connecting the grounds together defeats this protection .Using Jumpers for IsolationJumper set: Connects input and output grounds, useful if full isolation is not required.Jumper removed: Maintains full electrical isolation between input and output, recommended for protecting sensitive circuits or interfacing different voltage levels .Practical ExampleIf you want to read a 12V signal with a 5V Arduino:Connect the 12V signal to the module's IN through a resistor.Connect the module's GND to the 12V circuit ground.Connect the module's OUT to the Arduino digital input and VCC to 5V.Remove the jumper to keep the Arduino isolated from the 12V circuit.When the 12V signal is active, the Arduino reads a HIGH signal without direct electrical contact .Safety TipsAlways check the module datasheet for maximum input voltage and current.Ensure separate power supplies for input and output if full isolation is required.Verify the CTR (Current Transfer Ratio) to ensure the output current is sufficient for your target circuit . By following these steps, you can safely and effectively connect an optocoupler module to isolate circuits, protect microcontrollers, and interface different voltage levels.

Mar 20, 2026

Relay Module 2 Channel USB to CH340 Serial Control Relay Module

Yhteenveto 1. USB serial port control relay, serial port control, long life, overcurrent protection 2. USB serial port control relay, newly upgraded and advanced version, with new optocoupler protection

Apr 26, 2026

Arduino Tutorial: 2-Channel Optocoupler Relay Module

Step 1: Experiment: 2-Channel Relay Module with Optocoupler Protection for Arduino Expansion Boards

Sep 01, 2025

Everything You Need to Know About Optocouplers in

For our demo purposes, we will be using the PC817, a commonly used transistor output optocoupler in electronics. Starting with a brief explanation

Nov 07, 2025

Murrelektronik Optocoupler Module AMMS 18-1 Opto-Coupler Module

Find many great new & used options and get the best deals for Murrelektronik Optocoupler Module AMMS 18-1 Opto-Coupler Module 50201 1.2A at the best online prices at eBay!

Jul 24, 2025

How to Build an Optocoupler Circuit

In this project, we will show how to connect an optocoupler chip to a circuit. An optocoupler or optoisolator chip is a chip that allows for electrical isolation between the input of the circuit and the

Feb 02, 2026

How do You Connect Fiber Optic Cable to SFP?

Learn how to connect a fiber optic cable to an SFP module correctly. Follow our step-by-step guide, avoid common mistakes, and troubleshoot connection issues.

May 11, 2026

NOYITO 6-Channel Relay Module with Optocoupler Isolation

Overview This relay module provides 6 individually controllable channels for switching AC or DC loads. It features optocoupler isolation for signal separation and supports high or low level trigger selection

Aug 28, 2025

RP2350-ETH-8DI-8RO

PoE network port version supports external PoE module for Power over Ethernet (IEEE 802.3af compliant) Onboard optocoupler isolation to prevent interference with control chip from external high

Aug 24, 2025

Connect-MgGraph (Microsoft.Graph thentication)

You must invoke Connect-MgGraph before any commands that access Microsoft Graph. This cmdlet gets the access token using the Microsoft Authentication Library

Jul 18, 2025

Relay Module 2 Channel USB to CH340 Serial Control Relay Module

Relay Module 2 Channel USB to CH340 Serial Control Relay Module Optocoupler Protection TYPEC Interface Module DSTUR-T20 Beskrivelse 1. USB serial port control relay, serial port control, long

Jun 21, 2026

PC817 Optocoupler Module User Guide | Wiring & Setup

Complete PC817 optocoupler isolation module guide. Covers 3.6V–30V wiring, jumper settings, resistor selection, Arduino/ESP32/PLC hookup & troubleshooting.

Apr 28, 2026

Amazon.ie Best Sellers: The most popular items in Optoisolators

GERUI 5pcs 1 channel 220V AC Optocoupler module/220V Optocoupler Isolation Microcontroller/Voltage presence detection 220V/can be connected to a PLC, TTL level output 28 1

Feb 06, 2026

Automatic Voltage Regulator (AVR): Working Principle, Types

Automatic voltage regulator (AVR) working principle, types (generator, UPS, servo, relay), common failures, and troubleshooting. Includes AVR vs stabilizer and component examples.

Oct 22, 2025

Using Opto Couplers

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

Dec 29, 2025

How to Use Optacoupler: Examples, Pinouts, and Specs

This circuit uses a Wemos D1 Mini microcontroller to control an optocoupler, which in turn interfaces with an external system. The microcontroller drives the

Nov 28, 2025

Relay 1-Channel 5V — optocoupler-isolated switch

Sample sketch for the 1-Channel 5V Relay Module with Optocoupler, sold by Circuitrocks. Toggles a relay ON and OFF every 2 seconds. No external library required. Serves as the "hello world" for

Oct 20, 2025

Relay Module 2 Channel USB to CH340 Serial Control Relay Module

2. USB serial port control relay, newly upgraded and advanced version, with new optocoupler protection circuit to prevent interference and high-speed transmission 3. The output terminal of the relay can be

Mar 17, 2026

Optocoupler Circuits, Working, Characteristics, Interfacing

This resistor can be connected in two basic ways with the optocoupler LED, as demonstrated below: The resistor can be added in series either with the anode terminal (a) or

Dec 02, 2025

Arduino Tutorial: HY-M154 / 817 / PC817 Optocoupler Module

Complete PC817 optocoupler isolation module guide. Covers 3.6V–30V wiring, jumper settings, resistor selection, Arduino/ESP32/PLC hookup

Jul 24, 2025

Interfacing PC817 4-Channel Optocoupler Module with

The following circuit shows how you should connect Arduino to PC817 module. Connect wires accordingly.

Apr 21, 2026

Industrial isolated 8-Channel ESP32-S3 WiFi Relay Module RS485

ESP32-S3-ETH-8DI-8RO is an industrial-grade 8-channel WiFi network relay based on ESP32-S3 main controller and supports WiFi, Bluetooth, RS485, network port and other peripheral interfaces. It has

Dec 23, 2025

ESP32-S3-DevKitC-1 Development Board Module Equipped with the

ESP32-S3-DevKitC-1 Development Board Module Equipped with the ESP32-S3-1-N16R8 Module WIFI Welding Description Note: Make sure to use the appropriate USB data cable. Some data cables can

Mar 07, 2026

230v relay module-AliExpress

Check for optocoupler isolation to prevent high-voltage interference with the microcontroller. Mount the relay module on a PCB or enclosure and connect the 230V load and control signal safely.

Jan 04, 2026

What''s the point of optocouplers on relay boards?

We all know those relax boards targeted towards arduinos. They have the relay, a small transistor, a diode and often a LED. Usually in amounts of 1-16. But what is

More industry information

Contact Us

We Look Forward to Working with You

Contact Information

Phone +27 64 827 3915
Address Unit 9, Highveld Technopark, 43 Atlas Road, Johannesburg, 2196, South Africa

Send an Inquiry