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.
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 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 |
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. |
The following example demonstrates how to control the relay module using an Arduino UNO. In this setup, the relays are activated sequentially.
// 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
}
Relays Not Activating
Microcontroller Resetting When Relays Activate
Load Not Switching Properly
Relays Stuck in ON or OFF State
Can I use this module with a 3.3V microcontroller?
What is the lifespan of the relays?
Can I control DC loads with this module?
Is it safe to use this module for high-voltage applications?