Skip to content
PROMETHEASOPTICAL Send a project enquiry
Reference library

How to connect the optocoupler relay module

Published
  • How
  • Connect
  • Optocoupler
Source context

AI source overview

To wire an optocoupler relay module, connect the control side to your microcontroller with a current-limiting resistor, power the relay separately, and connect the load to the relay terminals while ensuring proper isolation and protection. Step 1: Understand the ModuleAn optocoupler relay module combines a relay and an optical isolator, allowing a low-voltage control signal to safely switch high-voltage or high-current loads. The module typically has: VCC: Power for the control circuitGND: Ground for the control circuitJD-VCC: Power for the relay coil (separate from control voltage)IN1, IN2, etc.: Control input pinsRelay terminals: COM (Common), NO (Normally Open), NC (Normally Closed) for connecting the load.

Step 2: Power ConnectionsConnect VCC and GND to the microcontroller's power supply (e.g., 5V for Arduino). Connect JD-VCC to an external power supply suitable for the relay (e.g., 12V for a 12V relay). This prevents the microcontroller from supplying high current to the relay coil.

If using separate supplies, tie the grounds together to maintain a common reference. Step 3: Control Signal WiringConnect the IN pin to a GPIO pin of your microcontroller. Use a current-limiting resistor (typically 220–330 ohms) in series with the optocoupler LED to prevent overcurrent.

Set the jumper for HIGH or LOW trigger depending on your logic: L (LOW trigger): Relay activates when the input is LOWH (HIGH trigger): Relay activates when the input is HIGH. Step 4: Load ConnectionsConnect your device to the relay terminals: NO and COM: Device turns ON when relay is activatedNC and COM: Device turns OFF when relay is activatedEnsure the relay's voltage and current ratings match your load. Use a flyback diode across inductive loads like motors or solenoids to prevent voltage spikes.

Step 5: Safety and TestingVerify the relay coil resistance is sufficient to avoid overloading the optocoupler (most cannot handle more than 50 mA directly) if connecting directly. Mount the module in a ventilated enclosure if switching high-current loads. Test the circuit with a low-voltage load first to ensure correct operation before connecting mains or high-power devices.

By following these steps, you can safely wire an optocoupler relay module to control high-voltage or high-current devices while protecting your microcontroller and ensuring electrical isolation.

Research context

Reference summary

How to Use Relay with optocoupler: Examples, Pinouts, Learn how to use the Relay with optocoupler with detailed documentation, including pinouts, usage gui.

From reference to enquiry

Questions for your project

Use these editorial prompts alongside the linked excerpts. They identify items to confirm for your project.

Technical notes

Illustrative equipment image

How to Use Relay with optocoupler: Examples, Pinouts,

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

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

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.

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 ESP32.

5V 2/4/8 Channel Relay Modules with Optocoupler

Simply supply the module with 5V DC and GND through the terminals below. Additionally, connect the 5V active low input pins (Optocoupler

Optocoupler Tutorial for Beginners

An optocoupler (or opto-isolator) is a component that transfer signals between circuits using light. In this guide, you''ll learn how they work and how you can use one in your own projects.

Optocoupler Relay Driver with PC817 & 2N3904

In this tutorial, we are going to make a circuit of the Optocoupler Relay Driver. Optocouplers are electronic components that are used to transfer electrical signals between two isolated circuits by

How to Design Relay Module using Optocoupler || Relay Module Circuit

"In this video, you''ll learn how to design a relay module using an optocoupler, perfect for isolating control circuits from high-power loads.

Relay Module | How to make a Relay module with Optocoupler

Relay modules play a important role in controlling high-voltage devices using low-voltage microcontrollers or digital circuits. They act as a bridge between the low-power electronics and the

How to Use an Optocoupler to Pass Signals Between Controllers at

How to Use an Optocoupler to Pass Signals Between Controllers at Different Voltages: This tutorial makes use of the 4N25 optocoupler chip to allow for communication between controlling devices

Relay Module and Optocouplers?

That relay module is made to connect directly to Arduino''s 5volt, ground and a digital output. If for some reason you want to use opto isolation??? Connect VCC and Ground pins to a

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

How to Use 2 Channel 5V 10A Relay Module with Optocoupler:

Learn how to use the 2 Channel 5V 10A Relay Module with Optocoupler with detailed documentation, including pinouts, usage guides, and example projects. Perfect for students, hobbyists, and

Optocoupler+Relay

Hello guys I am trying to activate relays with optocoupler module i bought. I have attached the module picture with all measurements i have done. The Optocoupler module uses 5V to activate

Everything You Need to Know About Optocouplers in Electronics

Optocoupler relay circuits provide double isolation between microcontrollers and high-power loads. Here, the inverted output from Q2 is connected to one side of the relay coil, and the

Relay 12V with Optocupler, how to?

I haven''t used this relay module and haven''t been able to find a diagram for it, but let me offer a suggestion that might help (if you haven''t already tried it!) Disconnect your relay module from

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

The 1 Channel Relay Module with Optocoupler, manufactured by Songle (Part ID: SRD-05VDC-SL-C), is a versatile electronic component that allows microcontrollers to control high-power devices. This

The Basics of Optocoupler Relay

Components of an Optocoupler Relay Relay: Acts as the switching mechanism. Opto-isolator: Facilitates signal transmission without physical connection. Relay Pinout and Construction A

Related Video Reference

This video was associated with the source search result. Verify technical details against current product documentation and project requirements.

Share your network requirements

Share the fiber interfaces, termination capacity, cable route and evidence required for handover.

Send a project brief