

The 4 Channel Relay Module is an electronic component designed to control up to four independent circuits using a single microcontroller or switch. Each relay on the module acts as an electrically operated switch, allowing low-power control signals to manage high-power devices. This makes the module ideal for applications such as home automation, industrial control systems, and robotics.








The 4 Channel Relay Module is designed to interface with microcontrollers like Arduino, Raspberry Pi, and other control systems. Below are its key technical details:
The module has two main interfaces: the control pins and the relay output terminals.
| Pin Name | Description |
|---|---|
| VCC | Power supply input (5V DC) |
| GND | Ground connection |
| 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) |
Each relay has three output terminals:
| Terminal | Description |
|---|---|
| NO (Normally Open) | Open circuit when the relay is inactive. Closes when activated. |
| NC (Normally Closed) | Closed circuit when the relay is inactive. Opens when activated. |
| COM (Common) | Common terminal for the relay. Connects to NO or NC. |
Power the Module:
Connect the Control Signals:
Connect the Load:
Control the Relays:
Below is an example of how to control the 4 Channel Relay Module using an Arduino UNO:
// Example: Controlling a 4 Channel Relay Module with Arduino UNO
// 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() {
// Example sequence to toggle relays
digitalWrite(RELAY1, LOW); // Turn ON Relay 1
delay(1000); // Wait 1 second
digitalWrite(RELAY1, HIGH); // Turn OFF Relay 1
digitalWrite(RELAY2, LOW); // Turn ON Relay 2
delay(1000); // Wait 1 second
digitalWrite(RELAY2, HIGH); // Turn OFF Relay 2
digitalWrite(RELAY3, LOW); // Turn ON Relay 3
delay(1000); // Wait 1 second
digitalWrite(RELAY3, HIGH); // Turn OFF Relay 3
digitalWrite(RELAY4, LOW); // Turn ON Relay 4
delay(1000); // Wait 1 second
digitalWrite(RELAY4, HIGH); // Turn OFF Relay 4
}
Relays Not Activating:
Microcontroller Not Triggering Relays:
Load Not Switching:
Relay Clicking Noise but No Load Switching:
Q1: Can I use the module with a 3.3V microcontroller like ESP32?
A1: Yes, the module is compatible with 3.3V logic levels, but ensure the power supply to the module is 5V.
Q2: Can I control AC and DC loads simultaneously?
A2: Yes, as long as each relay's load does not exceed the specified ratings.
Q3: Is it safe to use the module for high-power devices?
A3: Yes, but always ensure proper insulation and follow safety guidelines when working with high voltages.