

The Relay 4 Channel module is an electronic component designed to control four independent circuits using low voltage signals. It acts as an interface between low-power control systems (e.g., microcontrollers like Arduino) and high-power devices such as lights, motors, or appliances. This module is widely used in home automation, industrial control systems, and robotics to enable remote control and automation of devices.








| Pin Name | Description |
|---|---|
| VCC | Connect to 5V DC power supply (powers the relay module). |
| 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 channel has three output terminals:
| Terminal Name | Description |
|---|---|
| COM | Common terminal for the relay. |
| NO | Normally Open terminal (disconnected from COM when relay is inactive). |
| NC | Normally Closed terminal (connected to COM when relay is inactive). |
Power the Module:
VCC pin to a 5V DC power source and the GND pin to ground.Connect the Control Signals:
IN1, IN2, IN3, and IN4 pins to the digital output pins of a microcontroller (e.g., Arduino).Connect the Load:
COM, NO, or NC terminals based on your requirements:COM and NO for devices that should turn ON when the relay is active.COM and NC for devices that should turn OFF when the relay is active.Control the Relays:
IN1, IN2, etc.) to activate the relay.// Example code to control a 4-channel relay module with Arduino UNO
// Define relay control pins
#define RELAY1 2 // Pin connected to IN1
#define RELAY2 3 // Pin connected to IN2
#define RELAY3 4 // Pin connected to IN3
#define RELAY4 5 // Pin connected to IN4
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 for 1 second
digitalWrite(RELAY1, HIGH); // Turn OFF Relay 1
delay(1000); // Wait for 1 second
digitalWrite(RELAY2, LOW); // Turn ON Relay 2
delay(1000); // Wait for 1 second
digitalWrite(RELAY2, HIGH); // Turn OFF Relay 2
delay(1000); // Wait for 1 second
// Repeat for RELAY3 and RELAY4 as needed
}
Relays Not Activating:
Microcontroller Resetting When Relays Activate:
Load Not Turning ON/OFF:
COM, NO, and NC terminals.Indicator LEDs Not Lighting Up:
Q1: Can I use this module with a 3.3V microcontroller like ESP32?
A1: Yes, the module is compatible with 3.3V control signals, but ensure the VCC pin is powered with 5V.
Q2: Can I control AC and DC loads simultaneously?
A2: Yes, each relay channel is independent, so you can control AC and DC loads on different channels.
Q3: How do I protect the relays from damage when controlling motors?
A3: Use a flyback diode across the motor terminals to suppress voltage spikes caused by inductive loads.