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

How to Use Relay Module 5V 4 CH 30A: Examples, Pinouts, and Specs

Image of Relay Module 5V 4 CH 30ADesign with Relay Module 5V 4 CH 30A in Cirkit Designer

Introduction

The Relay Module 5V 4 CH 30A is a versatile electronic component designed to control high-power devices using low-power control signals. This module features four independent relay channels, each capable of switching loads up to 30A at 250V AC or 30V DC. It is widely used in home automation, industrial control systems, and DIY projects to interface microcontrollers or low-voltage circuits with high-power devices such as motors, lights, and appliances.

Explore Projects Built with Relay Module 5V 4 CH 30A

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

Technical Specifications

Key Specifications

Parameter Value
Operating Voltage 5V DC
Relay Channels 4
Maximum Load (AC) 250V AC @ 30A
Maximum Load (DC) 30V DC @ 30A
Trigger Voltage 3.3V to 5V
Isolation Optocoupler isolation
Dimensions ~135mm x 55mm x 20mm
Weight ~120g

Pin Configuration and Descriptions

Input Pins

Pin Name Description
IN1 Control signal for Relay 1 (Active LOW)
IN2 Control signal for Relay 2 (Active LOW)
IN3 Control signal for Relay 3 (Active LOW)
IN4 Control signal for Relay 4 (Active LOW)
VCC 5V DC power supply input
GND Ground connection

Output Terminals (Relay Contacts)

Each relay channel has three terminals: | Terminal Name | Description | |---------------|-----------------------------------------------------------------------------| | NO (Normally Open) | Open circuit when the relay is inactive; closed when the relay is active. | | NC (Normally Closed) | Closed circuit when the relay is inactive; open when the relay is active. | | COM (Common) | Common terminal for the relay switch. |

Usage Instructions

How to Use the Relay Module in a Circuit

  1. Power the Module: Connect the VCC pin to a 5V DC power source and the GND pin to ground.
  2. Connect Control Signals: Use a microcontroller (e.g., Arduino UNO) or other control circuit to send signals to the IN1, IN2, IN3, and IN4 pins. A LOW signal (0V) activates the corresponding relay.
  3. Connect the Load: For each relay channel, connect the load to the NO (Normally Open) or NC (Normally Closed) terminal, depending on the desired behavior:
    • 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. Ensure Proper Isolation: The module includes optocouplers for isolation, but ensure that the high-voltage side is properly insulated and safe to handle.

Example: Controlling the Relay Module with Arduino UNO

The following example demonstrates how to control the relay module using an Arduino UNO. In this setup, the relays are activated sequentially.

Circuit Connections

Arduino Code

// Define the relay control pins
#define RELAY1 2  // Relay 1 connected to digital pin 2
#define RELAY2 3  // Relay 2 connected to digital pin 3
#define RELAY3 4  // Relay 3 connected to digital pin 4
#define RELAY4 5  // Relay 4 connected to digital pin 5

void setup() {
  // Set relay pins as outputs
  pinMode(RELAY1, OUTPUT);
  pinMode(RELAY2, OUTPUT);
  pinMode(RELAY3, OUTPUT);
  pinMode(RELAY4, OUTPUT);

  // Initialize all relays to OFF (HIGH state)
  digitalWrite(RELAY1, HIGH);
  digitalWrite(RELAY2, HIGH);
  digitalWrite(RELAY3, HIGH);
  digitalWrite(RELAY4, HIGH);
}

void loop() {
  // Activate each relay sequentially
  digitalWrite(RELAY1, LOW); // Turn ON Relay 1
  delay(1000);               // Wait for 1 second
  digitalWrite(RELAY1, HIGH); // Turn OFF Relay 1

  digitalWrite(RELAY2, LOW); // Turn ON Relay 2
  delay(1000);               // Wait for 1 second
  digitalWrite(RELAY2, HIGH); // Turn OFF Relay 2

  digitalWrite(RELAY3, LOW); // Turn ON Relay 3
  delay(1000);               // Wait for 1 second
  digitalWrite(RELAY3, HIGH); // Turn OFF Relay 3

  digitalWrite(RELAY4, LOW); // Turn ON Relay 4
  delay(1000);               // Wait for 1 second
  digitalWrite(RELAY4, HIGH); // Turn OFF Relay 4
}

Important Considerations and Best Practices

Troubleshooting and FAQs

Common Issues and Solutions

  1. Relays Not Activating

    • Cause: Insufficient power supply.
    • Solution: Ensure the 5V power source can provide adequate current for all active relays.
  2. Microcontroller Resetting When Relays Activate

    • Cause: Voltage drop due to high current draw.
    • Solution: Use a separate power supply for the relay module and connect the grounds of the microcontroller and relay module.
  3. Load Not Switching Properly

    • Cause: Incorrect wiring of the load to the relay terminals.
    • Solution: Verify the load is connected to the correct terminals (NO, NC, and COM).
  4. Relays Stuck in ON or OFF State

    • Cause: Damaged relay contacts due to overcurrent or arcing.
    • Solution: Replace the damaged relay module and ensure the load does not exceed the rated current.

FAQs