Principle of a 1-channel optocoupler relay module

A 1-channel optocoupler relay module allows a low-voltage control signal to safely switch a high-voltage load by using an optocoupler for electrical isolation and a transistor to drive the relay coil....

Principle of a 1-channel optocoupler relay module

A 1-channel optocoupler relay module allows a low-voltage control signal to safely switch a high-voltage load by using an optocoupler for electrical isolation and a transistor to drive the relay coil.

Working Principle

The module operates by electrically isolating the control side (microcontroller) from the high-voltage load side using an optocoupler, typically a PC817 IC. When a control signal is applied to the input pin, it powers the internal LED of the optocoupler, which emits light that activates the phototransistor inside the optocoupler. This phototransistor then drives a transistor switch (e.g., 2N3904) that allows sufficient current to flow through the relay coil, energizing it and closing or opening the relay contacts to control the connected load .

Key Components and Their Roles

  • Optocoupler (PC817): Provides electrical isolation between the low-voltage control circuit and the high-voltage relay circuit, protecting sensitive electronics from voltage spikes and noise .
  • Transistor (NPN, e.g., 2N3904): Acts as a current amplifier to drive the relay coil, which requires more current than a microcontroller can supply directly .
  • Relay Coil: Electromechanical switch that opens or closes contacts to control the high-power load .
  • Flyback Diode (1N4007): Connected across the relay coil to absorb voltage spikes generated when the coil is de-energized, protecting the transistor from back EMF .
  • Resistors: Limit current to the optocoupler LED and the transistor base to prevent damage .

Pin Configuration

A typical 1-channel relay module has six pins:

  • Signal Pin: Receives the control signal from the microcontroller (active high or low) to trigger the relay .
  • Vcc Pin: Supplies 5V or 12V to power the relay module .
  • GND Pin: Common ground for the module and microcontroller .
  • COM (Common): Connects to the load circuit .
  • NO (Normally Open): Contact that closes when the relay is activated .
  • NC (Normally Closed): Contact that opens when the relay is activated .

Triggering Logic

The module can support high-level or low-level triggering, selectable via a jumper. In active high mode, the relay activates when a high voltage is applied to the signal pin. In active low mode, the relay activates when the signal pin is pulled low .

Safety and Isolation

The optocoupler ensures that the microcontroller is electrically isolated from the high-voltage load, preventing damage from voltage spikes or noise. Using a separate power supply for the relay coil is recommended for high-current loads, while keeping grounds common if using multiple supplies . This principle allows microcontrollers like Arduino, ESP32, or STM32 to safely control high-power devices such as motors, lamps, or AC appliances without exposing the low-voltage control circuitry to dangerous voltages.

Information
Jun 09, 2026

How to Connect a Relay through an Opto-Coupler

The following concepts show how a relay driver can be configured with an optocoupler using transistors. As shown in the following circuit diagrams, the relay driver may consist a NPN transistor or a PNP

Contact Us 2,964
Information
May 21, 2026

5V 1-Channel Optical Relay Module Guide | PDF | Relay | Switch

This document provides information about a 1-channel 5V optical isolated relay module. It can control appliances and equipment with large currents under AC 250V 10A or DC 30V 10A.

Contact Us 6,481
Information
Sep 10, 2025

How to Use 1 Channel Relay module with Optocoupler: Examples,

The 1 Channel Relay Module with Optocoupler (Manufacturer Part ID: SRD-05VDC-SL-C) is a versatile electronic component designed to control high-voltage devices using low-voltage signals.

Contact Us 6,825
Information
Apr 22, 2026

Relay Module Optocoupler: Schematic and Working Explained

This article shares the Relay Module Optocoupler Schematic and Working principle. Cheap DIY relay module project with guidance.

Contact Us 4,292
Information
May 25, 2026

5V Single Channel Relay Module

In this tutorial, we will discuss 5V single channel relay modules and their important features such as pinout, pin configuration details, features, working, interfacing with microcontrollers and applications.

Contact Us 5,137
Information
Jul 10, 2026

Handson Technology

1-Channel 5V Optical Isolated Relay Module This is a Lo/Hi Level 5V (user configurable) 1-channel relay interface board, and each channel needs a 15-20mA driver current. It can be used to control various

Contact Us 5,782
Information
Jul 17, 2026

5V 1 Channel Level Trigger Optocoupler Relay Module For Arduino

Subscribed 424 125K views 6 years ago Instagram : / unboxingchannell 5V 1 Channel Levelthank you for watching More videos / @unboxing annel

Contact Us 1,584
Information
Apr 30, 2026

Single Channel Relay Module : Datasheet & Its Working

The 5V single-channel relay module includes different components like a relay, status LED, an output terminal, power LED, freewheeling diode, switching transistor, and input connector

Contact Us 7,613
Information
Jun 08, 2026

5V Single-Channel Relay Module

The single-channel relay module is much more than just a plain relay, it contains components that make switching and connection easier and act

Contact Us 1,583
Information
Jun 16, 2026

User''s Guide: 12V 1-Channel Relay Module (High/Low Trigger,

This module allows microcontrollers to safely control high-voltage devices using a relay with optocoupler isolation. It supports both HIGH and LOW level triggering, selectable via jumper,

Information
Jun 07, 2026

5V 1-Channel Optical Relay Module Guide

This document provides information about a 1-channel 5V optical isolated relay module. It can control appliances and equipment with large currents under AC 250V 10A or DC 30V 10A. The module has a

Contact Us 3,833
Information
Aug 01, 2025

DC 5V Relay Module 1-Channel Relay Switch with Optocoupler

About this item 【Control Devices】The 1-channel relay module uses genuine high quality DC5V relay and SMD opto-isolator supporting high/low level trigger, widely apply to control various AC/DC

Contact Us 1,919
Information
Mar 03, 2026

How to Connect a Relay through an Opto-Coupler

In the following post I have explained how to drive a relay by using an isolated method, or through an optocoupler device. We will learn three methods, first method is by connecting relay directly with the

Contact Us 3,390
Information
Sep 02, 2025

12V 8-Channel Relay Module with Optocoupler – Support

The 12V 8-Channel Relay Module with Optocoupler is designed to control multiple high-voltage devices using low-voltage signals from microcontrollers like Arduino, Raspberry Pi, and

Information
Apr 12, 2026

How Optocouplers Work

FREE COURSE!! Learn about optocouplers. We''ll look at how they are used to control circuits, how they work and also how to design some simple optocoupler circuits to show the working

Contact Us 2,011
Information
Feb 22, 2026

Arduino Tutorial: 2-Channel Optocoupler Relay Module

High-quality Songle relay featuring a single pole double throw (SPDT) configuration, with one common terminal, one normally open terminal, and one normally closed terminal. Optocoupler isolation for

Contact Us 3,404
Information
Mar 23, 2026

How to Use 1 Channel Relay Module, 30A with Optocoupler, Isolation

The 1 Channel Relay Module is a versatile electronic component designed to control high-power devices such as motors, lights, and appliances. It features a 30A relay, optocoupler isolation for enhanced

Contact Us 1,676
Information
Nov 01, 2025

How a Relay Module Works and Interfacing a Single Channel Relay Module

This article will explore the workings of a relay module and provide a detailed guide on how to interface a single channel relay module with an Arduino.

Contact Us 1,907
Information
Jul 27, 2025

Handson Technology

This is a Lo/Hi Level 5V (user configurable) 1-channel relay interface board, and each channel needs a 15-20mA driver current. It can be used to control various appliances and equipment with large current.

Contact Us 3,507
Information
May 10, 2026

Opto-isolator

Schematic diagram of an opto-isolator showing source of light (LED) on the left, dielectric barrier in the center, and sensor (phototransistor) on the right [note 1] An opto-isolator (also called an optocoupler,

Contact Us 2,618
Information
Jul 24, 2026

Schematic, Amazon Relay Module: 1 Channel, Optocoupler

This schematic was created from tracing out the circuitry of the 12 V version of the module, but it is probably applicable to the other voltage versions of the same module (e.g. the 5V

Contact Us 6,192
Information
Jun 29, 2026

In-Depth: Interface One Channel Relay Module with Arduino

In this tutorial, we''ll show you how to hook up a one-channel relay module to your Arduino and use it to turn on and off devices like a lamp or motor. But before we dive into wiring and

Contact Us 1,756
Information
Jun 14, 2026

ADIY 1 CHANNEL 12V RELAY BOARD WITH OPTO

12V 1-Channel Relay Module with Optocoupler by ADIY is a Bidirectional isolation type 1-Channel relay control module, according to user needs, you can choose a high or low level to control the relay pull.

Information
May 26, 2026

5V 1-Channel Low-Level Relay Module with Optocoupler Product

Overview This relay module allows microcontrollers to control high-voltage devices (up to 250VAC or 30VDC, 10A) using a low-voltage signal. The optocoupler provides electrical isolation

Contact Us 3,293
Information
Mar 01, 2026

5V 1-Channel Relay Module with Optocoupler & Level

Buy 5V one-channel isolated relay module with an optocoupler. Supports high & low-level triggers for Arduino, Raspberry Pi, and automation projects.

Contact Us 5,745
Information
Oct 13, 2025

How to Use 1 Channel Relay module with Optocoupler:

Learn how to use the 1 Channel Relay module with Optocoupler with detailed

Contact Us 5,582
Information
Aug 19, 2025

1CH Active H/L 5V OptoCoupler Relay Module

This is a 1 (single) channel universal 5V relay module because it can be be configured as high or low triggered (Logic High or Low). With each relay rated at 250VAC, 10A, and breakout to screw

Contact Us 2,290
Information
Mar 17, 2026

5V 1 Channel Relay Module with Opto Coupler – Tomson Electronics

Buy the 5V Single Channel with Optocoupler Relay Module for Arduino and other microcontroller projects. Compact, efficient, and ideal for switching high-power devices.

Contact Us 1,380
Information
Jan 13, 2026

5V 1 Channel Relay Module With Optocoupler –

The 5V 1 Channel Relay Module provides reliable switching with a 5V input voltage and a maximum current rating of 10A. It features a 1 channel relay module with

Information
Oct 27, 2025

How to Use One Channel Relay with Optocoupler: Pinouts, Specs,

Learn how to use the One Channel Relay with Optocoupler with detailed documentation, including pinouts, usage guides, and example projects. Perfect for students, hobbyists, and developers

Contact Us 5,507
Information
May 18, 2026

How to Use 5V 30A 1

The 5V 30A 1-Channel Relay Module manufactured by SONGLE (Part ID: RELAY MODULE) is a versatile electronic component designed to control high-voltage devices using low-voltage signals. It

Contact Us 3,299
Information
Jan 29, 2026

5V Single Channel Relay Module

5V Single Channel Relay Module PinoutHow to Use 5V Single Channel Relay Module?Control 5V Single-Channel Relay Module with MicrocontrollerApplicationsLet''s first discuss the pinout and pin configuration details of the 5V single channel relay module. The following diagram shows its pinout diagram. It is known as a single channel because only one relay is used and it operates on 5V.See more on microcontrollerslab cirkitdesigner

How to Use 1 Channel Relay module with Optocoupler: Examples,

Learn how to use the 1 Channel Relay module with Optocoupler with detailed documentation, including pinouts, usage guides, and example projects. Perfect for students, hobbyists, and developers

Contact Us 1,666

High-Density Interconnect & AI Infrastructure Insights

Need High-Density Interconnect Solutions?

Contact us today for product inquiries, custom assemblies, or technical support