Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Component Documentation

How to Use relay 2 chanel 5v: Examples, Pinouts, and Specs

Image of relay 2 chanel 5v
Cirkit Designer LogoDesign with relay 2 chanel 5v in Cirkit Designer

Introduction

The 2-channel relay module is an electronic component designed to control two independent circuits using a single input signal. Operating at 5V, this module is ideal for switching high-power devices such as motors, lights, and appliances while isolating the control circuit from the load. It is widely used in automation, home control systems, and IoT projects due to its reliability and ease of integration.

Explore Projects Built with relay 2 chanel 5v

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
DC-DC Converter and Relay Module Power Distribution System
Image of relay: A project utilizing relay 2 chanel 5v in a practical application
This circuit consists of a DC-DC converter powering a 6-channel power module, which in turn supplies 5V to a 2-relay module. The power module distributes the converted voltage to the relay module, enabling it to control external devices.
Cirkit Designer LogoOpen Project in Cirkit Designer
Battery-Powered 4-Channel Relay Control with LED Indicators
Image of RELLAY BOARD TEST: A project utilizing relay 2 chanel 5v in a practical application
This circuit consists of a 5V battery powering a 4-channel relay module, which controls four LEDs (red, yellow, green, and blue) through individual resistors. Each relay channel is activated by a corresponding SPST toggle switch, allowing manual control of the LEDs.
Cirkit Designer LogoOpen Project in Cirkit Designer
ESP32 Wi-Fi Controlled Dual Relay Module
Image of esp: A project utilizing relay 2 chanel 5v in a practical application
This circuit features an ESP32 microcontroller connected to a two-channel 5V relay module. The ESP32 controls the relay channels via its GPIO pins D23 and D22, allowing it to switch external devices on and off. The relay module is powered by the 3.3V and GND pins of the ESP32.
Cirkit Designer LogoOpen Project in Cirkit Designer
WeMos D1 R2 Controlled Relay Switching Circuit for AC Bulb and USB Charger
Image of Hand Gesture Light: A project utilizing relay 2 chanel 5v in a practical application
This circuit uses a WeMos D1 R2 microcontroller to control a 5V 2-relay module, which in turn controls the power to an AC bulb and a cellphone charger. The microcontroller also interfaces with a line tracking sensor, which likely provides input to control the relay states. The AC bulb and cellphone charger are powered by an AC wire connection, with the relay acting as a switch for the bulb.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with relay 2 chanel 5v

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of relay: A project utilizing relay 2 chanel 5v in a practical application
DC-DC Converter and Relay Module Power Distribution System
This circuit consists of a DC-DC converter powering a 6-channel power module, which in turn supplies 5V to a 2-relay module. The power module distributes the converted voltage to the relay module, enabling it to control external devices.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of RELLAY BOARD TEST: A project utilizing relay 2 chanel 5v in a practical application
Battery-Powered 4-Channel Relay Control with LED Indicators
This circuit consists of a 5V battery powering a 4-channel relay module, which controls four LEDs (red, yellow, green, and blue) through individual resistors. Each relay channel is activated by a corresponding SPST toggle switch, allowing manual control of the LEDs.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of esp: A project utilizing relay 2 chanel 5v in a practical application
ESP32 Wi-Fi Controlled Dual Relay Module
This circuit features an ESP32 microcontroller connected to a two-channel 5V relay module. The ESP32 controls the relay channels via its GPIO pins D23 and D22, allowing it to switch external devices on and off. The relay module is powered by the 3.3V and GND pins of the ESP32.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of Hand Gesture Light: A project utilizing relay 2 chanel 5v in a practical application
WeMos D1 R2 Controlled Relay Switching Circuit for AC Bulb and USB Charger
This circuit uses a WeMos D1 R2 microcontroller to control a 5V 2-relay module, which in turn controls the power to an AC bulb and a cellphone charger. The microcontroller also interfaces with a line tracking sensor, which likely provides input to control the relay states. The AC bulb and cellphone charger are powered by an AC wire connection, with the relay acting as a switch for the bulb.
Cirkit Designer LogoOpen Project in Cirkit Designer

Common Applications

  • Home automation (e.g., controlling lights or fans)
  • Industrial control systems
  • IoT projects for remote device control
  • Robotics and motor control
  • Safety systems requiring electrical isolation

Technical Specifications

Key Technical Details

Parameter Value
Operating Voltage 5V DC
Trigger Voltage 3.3V to 5V DC
Maximum Load Voltage 250V AC / 30V DC
Maximum Load Current 10A
Channels 2
Isolation Optocoupler-based isolation
Dimensions ~50mm x 40mm x 18mm
Weight ~30g

Pin Configuration and Descriptions

Input Pins

Pin Name Description
VCC Connect to 5V DC power supply.
GND Connect to ground (0V).
IN1 Control signal for Relay 1. A HIGH signal activates the relay.
IN2 Control signal for Relay 2. A HIGH signal activates the relay.

Output Terminals (for each relay)

Terminal Name Description
COM Common terminal for the relay. Connect to the power source or load.
NO Normally Open terminal. Connect to the load for switching when active.
NC Normally Closed terminal. Connect to the load for default connection.

Usage Instructions

How to Use the Component in a Circuit

  1. Power the Module: Connect the VCC pin to a 5V DC power supply and the GND pin to ground.
  2. Control Signals: Use a microcontroller (e.g., Arduino UNO) or other control circuits to send HIGH/LOW signals to the IN1 and IN2 pins to activate or deactivate the relays.
  3. Connect the Load:
    • For devices that should be OFF by default, connect them between the COM and NO terminals.
    • For devices that should be ON by default, connect them between the COM and NC terminals.
  4. Isolation: Ensure the control circuit and load circuit are electrically isolated to prevent damage.

Important Considerations and Best Practices

  • Power Supply: Ensure the module is powered with a stable 5V DC supply to avoid erratic behavior.
  • Load Ratings: Do not exceed the maximum voltage (250V AC / 30V DC) or current (10A) ratings of the relay.
  • Flyback Diodes: If controlling inductive loads (e.g., motors), use flyback diodes across the load to protect the relay from voltage spikes.
  • Signal Voltage: Ensure the control signal voltage matches the relay's trigger voltage (3.3V to 5V).
  • Mounting: Secure the module in a well-ventilated area to prevent overheating.

Example: Connecting to an Arduino UNO

Below is an example of how to control the 2-channel relay module using an Arduino UNO.

Circuit Connections

  • Connect the relay module's VCC to the Arduino's 5V pin.
  • Connect the relay module's GND to the Arduino's GND pin.
  • Connect IN1 to Arduino digital pin 7.
  • Connect IN2 to Arduino digital pin 8.
  • Connect the load (e.g., a light bulb) to the relay's COM and NO terminals.

Arduino Code

// Define the relay control pins
const int relay1 = 7; // Relay 1 connected to digital pin 7
const int relay2 = 8; // Relay 2 connected to digital pin 8

void setup() {
  // Set relay pins as outputs
  pinMode(relay1, OUTPUT);
  pinMode(relay2, OUTPUT);

  // Initialize relays to OFF state
  digitalWrite(relay1, LOW); // Relay 1 OFF
  digitalWrite(relay2, LOW); // Relay 2 OFF
}

void loop() {
  // Turn Relay 1 ON and Relay 2 OFF
  digitalWrite(relay1, HIGH); // Relay 1 ON
  digitalWrite(relay2, LOW);  // Relay 2 OFF
  delay(2000); // Wait for 2 seconds

  // Turn Relay 1 OFF and Relay 2 ON
  digitalWrite(relay1, LOW);  // Relay 1 OFF
  digitalWrite(relay2, HIGH); // Relay 2 ON
  delay(2000); // Wait for 2 seconds
}

Troubleshooting and FAQs

Common Issues and Solutions

  1. Relays Not Activating:

    • Ensure the VCC and GND pins are properly connected to a 5V power supply.
    • Verify that the control signal voltage (IN1/IN2) is within the acceptable range (3.3V to 5V).
    • Check for loose or incorrect wiring.
  2. Erratic Behavior:

    • Use a stable power supply to avoid voltage fluctuations.
    • Ensure proper grounding between the relay module and the control circuit.
  3. Load Not Switching:

    • Verify the load connections to the COM, NO, and NC terminals.
    • Ensure the load does not exceed the relay's voltage and current ratings.
  4. Overheating:

    • Avoid exceeding the relay's maximum load ratings.
    • Ensure adequate ventilation around the module.

FAQs

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

Q: Can I control DC loads with this relay?
A: Yes, the relay supports DC loads up to 30V and 10A.

Q: Is the relay module safe for high-voltage applications?
A: Yes, the module is designed for high-voltage applications (up to 250V AC), but proper precautions must be taken to ensure safety.

Q: Can I use both NO and NC terminals simultaneously?
A: No, only one terminal (NO or NC) should be connected to the load at a time, depending on the desired behavior.