

The 2-channel relay module is an electronic component designed to control two independent circuits using a single input signal. Operating at 5V, this module is ideal for switching high-power devices such as motors, lights, and appliances while isolating the control circuit from the load. It is widely used in automation, home control systems, and IoT projects due to its reliability and ease of integration.








| Parameter | Value |
|---|---|
| Operating Voltage | 5V DC |
| Trigger Voltage | 3.3V to 5V DC |
| Maximum Load Voltage | 250V AC / 30V DC |
| Maximum Load Current | 10A |
| Channels | 2 |
| Isolation | Optocoupler-based isolation |
| Dimensions | ~50mm x 40mm x 18mm |
| Weight | ~30g |
| Pin Name | Description |
|---|---|
| VCC | Connect to 5V DC power supply. |
| GND | Connect to ground (0V). |
| IN1 | Control signal for Relay 1. A HIGH signal activates the relay. |
| IN2 | Control signal for Relay 2. A HIGH signal activates the relay. |
| Terminal Name | Description |
|---|---|
| COM | Common terminal for the relay. Connect to the power source or load. |
| NO | Normally Open terminal. Connect to the load for switching when active. |
| NC | Normally Closed terminal. Connect to the load for default connection. |
Below is an example of how to control the 2-channel relay module using an Arduino UNO.
// Define the relay control pins
const int relay1 = 7; // Relay 1 connected to digital pin 7
const int relay2 = 8; // Relay 2 connected to digital pin 8
void setup() {
// Set relay pins as outputs
pinMode(relay1, OUTPUT);
pinMode(relay2, OUTPUT);
// Initialize relays to OFF state
digitalWrite(relay1, LOW); // Relay 1 OFF
digitalWrite(relay2, LOW); // Relay 2 OFF
}
void loop() {
// Turn Relay 1 ON and Relay 2 OFF
digitalWrite(relay1, HIGH); // Relay 1 ON
digitalWrite(relay2, LOW); // Relay 2 OFF
delay(2000); // Wait for 2 seconds
// Turn Relay 1 OFF and Relay 2 ON
digitalWrite(relay1, LOW); // Relay 1 OFF
digitalWrite(relay2, HIGH); // Relay 2 ON
delay(2000); // Wait for 2 seconds
}
Relays Not Activating:
Erratic Behavior:
Load Not Switching:
Overheating:
Q: Can I use this module with a 3.3V microcontroller?
A: Yes, the relay module can be triggered with a 3.3V control signal, but ensure the VCC pin is powered with 5V.
Q: Can I control DC loads with this relay?
A: Yes, the relay supports DC loads up to 30V and 10A.
Q: Is the relay module safe for high-voltage applications?
A: Yes, the module is designed for high-voltage applications (up to 250V AC), but proper precautions must be taken to ensure safety.
Q: Can I use both NO and NC terminals simultaneously?
A: No, only one terminal (NO or NC) should be connected to the load at a time, depending on the desired behavior.