

The Relay 2 Channel 5V module is an electronic component designed to control high-voltage devices using low-voltage signals. It features two independent relays, each capable of switching devices such as lights, fans, or other appliances. This module is widely used in home automation, industrial control systems, and IoT projects. Its ability to isolate low-voltage control circuits from high-voltage loads ensures safety and reliability in various applications.








| Pin Name | Description |
|---|---|
| VCC | Connect to 5V DC power supply. |
| GND | Connect to ground. |
| IN1 | Control signal for Relay 1. A HIGH signal activates the relay. |
| IN2 | Control signal for Relay 2. A HIGH signal activates the relay. |
| Pin Name | Description |
|---|---|
| COM | Common terminal for the relay. Connect to the power source or load. |
| NO | Normally Open terminal. Connect to the load for default OFF state. |
| NC | Normally Closed terminal. Connect to the load for default ON state. |
Power the Module:
Connect the Control Signals:
Connect the Load:
Test the Circuit:
// Example code to control a 2-channel relay module with Arduino UNO
// IN1 and IN2 are connected to digital pins 7 and 8, respectively.
#define RELAY1 7 // Define pin for Relay 1 control
#define RELAY2 8 // Define pin for Relay 2 control
void setup() {
pinMode(RELAY1, OUTPUT); // Set Relay 1 pin as output
pinMode(RELAY2, OUTPUT); // Set Relay 2 pin as output
// Initialize relays to OFF state
digitalWrite(RELAY1, LOW);
digitalWrite(RELAY2, LOW);
}
void loop() {
// Turn on Relay 1 for 2 seconds
digitalWrite(RELAY1, HIGH); // Activate Relay 1
delay(2000); // Wait for 2 seconds
// Turn off Relay 1 and turn on Relay 2 for 2 seconds
digitalWrite(RELAY1, LOW); // Deactivate Relay 1
digitalWrite(RELAY2, HIGH); // Activate Relay 2
delay(2000); // Wait for 2 seconds
// Turn off both relays
digitalWrite(RELAY2, LOW); // Deactivate Relay 2
delay(2000); // Wait for 2 seconds
}
Relays Not Activating:
Indicator LEDs Not Lighting Up:
Load Not Switching:
Microcontroller Resetting When Relay Activates:
Q: Can I use this module with a 3.3V microcontroller?
A: Yes, the module is compatible with 3.3V control signals, but ensure the VCC pin is powered with 5V.
Q: Can I control AC and DC loads simultaneously?
A: Yes, as long as each relay's load does not exceed its maximum ratings.
Q: Is it safe to use this module for high-power appliances?
A: Yes, but ensure proper isolation and do not exceed the relay's rated voltage and current.
Q: Can I use this module to control a motor?
A: Yes, but for inductive loads like motors, use a flyback diode to protect the relay from voltage spikes.