Cirkit Designer LogoCirkit DesignerYour all-in-one circuit design IDE Launch Cirkit Designer App

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

Image of 1 Channel Relay module with OptocouplerDesign with 1 Channel Relay module with Optocoupler in Cirkit Designer

Introduction

The 1 Channel Relay Module with Optocoupler (Manufacturer: Songle, Part ID: SRD-05VDC-SL-C) is a versatile electronic component designed to control high-voltage devices using low-voltage signals. This module is equipped with an optocoupler, which provides electrical isolation between the control circuit and the high-voltage load, ensuring safety and protecting sensitive components from potential damage.

Explore Projects Built with 1 Channel Relay module with Optocoupler

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!

Common Applications and Use Cases

Technical Specifications

Below are the key technical details and pin configuration for the 1 Channel Relay Module with Optocoupler:

Key Technical Details

Parameter Specification
Manufacturer Songle
Part ID SRD-05VDC-SL-C
Operating Voltage 5V DC
Trigger Voltage 3.3V to 5V DC
Maximum Load Voltage 250V AC / 30V DC
Maximum Load Current 10A
Isolation Method Optocoupler
Relay Type SPDT (Single Pole Double Throw)
Dimensions 50mm x 26mm x 18.5mm
Weight ~15g

Pin Configuration and Descriptions

Pin Name Pin Type Description
VCC Power Input Connect to 5V DC power supply. Powers the relay module.
GND Ground Connect to the ground of the power supply.
IN Signal Input Control signal input. A HIGH signal activates the relay.
COM Common Terminal Common terminal for the relay switch.
NO Normally Open Normally open terminal. Connect the load here for default OFF state.
NC Normally Closed Normally closed terminal. Connect the load here for default ON state.

Usage Instructions

How to Use the Component in a Circuit

  1. Power the Module: Connect the VCC pin to a 5V DC power source and the GND pin to the ground.
  2. Control Signal: Connect the IN pin to a microcontroller (e.g., Arduino UNO) or any other control circuit capable of providing a 3.3V to 5V signal.
  3. Load Connection:
    • Connect the high-voltage device (load) to the COM and either the NO or NC terminal:
      • Use NO if the load should be OFF by default and turn ON when the relay is activated.
      • Use NC if the load should be ON by default and turn OFF when the relay is activated.
  4. Activate the Relay: Send a HIGH signal (3.3V to 5V) to the IN pin to activate the relay and switch the load.

Important Considerations and Best Practices

Example: Connecting to an Arduino UNO

Below is an example of how to control the relay module using an Arduino UNO:

Circuit Connections

Arduino Code

// Define the relay control pin
const int relayPin = 7;

void setup() {
  // Set the relay pin as an output
  pinMode(relayPin, OUTPUT);
  
  // Ensure the relay is OFF at startup
  digitalWrite(relayPin, LOW);
}

void loop() {
  // Turn the relay ON
  digitalWrite(relayPin, HIGH);
  delay(5000); // Keep the relay ON for 5 seconds
  
  // Turn the relay OFF
  digitalWrite(relayPin, LOW);
  delay(5000); // Keep the relay OFF for 5 seconds
}

Troubleshooting and FAQs

Common Issues and Solutions

  1. Relay Not Activating:

    • Ensure the VCC and GND pins are properly connected to a 5V power source.
    • Verify that the control signal on the IN pin is within the required range (3.3V to 5V).
    • Check for loose or incorrect wiring.
  2. Load Not Switching:

    • Confirm that the load is correctly connected to the COM and NO or NC terminals.
    • Ensure the load does not exceed the relay's maximum voltage or current ratings.
    • Test the relay module with a multimeter to verify proper operation.
  3. Interference or Noise:

    • Use a flyback diode across inductive loads to suppress voltage spikes.
    • Keep high-voltage and low-voltage wiring separate to reduce interference.
  4. Module Overheating:

    • Ensure the load current does not exceed 10A.
    • Provide adequate ventilation around the module.

FAQs

Q1: Can I use this relay module with a 3.3V microcontroller?
A1: Yes, the module can be triggered with a 3.3V signal, but ensure the VCC pin is powered with 5V.

Q2: Is the relay module suitable for DC loads?
A2: Yes, the module supports DC loads up to 30V and 10A.

Q3: Can I control multiple relay modules with one microcontroller?
A3: Yes, as long as the microcontroller has enough GPIO pins and can supply the required current for each module.

Q4: What happens if I connect the load incorrectly?
A4: Incorrect connections may result in the load not switching or potential damage to the module. Double-check all connections before powering the circuit.