

The 2 Channel Relay 5V module is an electronic component designed to control two independent circuits using low voltage signals. It operates at 5 volts and is widely used in automation projects, enabling the control of high voltage devices such as lights, fans, and appliances. This module acts as an interface between low-power microcontrollers (e.g., Arduino, Raspberry Pi) and high-power devices, ensuring safe and efficient switching.








The following table outlines the key technical details of the 2 Channel Relay 5V module:
| Parameter | Specification |
|---|---|
| Operating Voltage | 5V DC |
| Trigger Voltage | 3.3V to 5V DC |
| Relay Channels | 2 |
| Maximum Load (AC) | 250V AC @ 10A |
| Maximum Load (DC) | 30V DC @ 10A |
| Isolation | Optocoupler isolation |
| Dimensions | ~50mm x 40mm x 18mm |
| Indicator LEDs | Yes (one per channel) |
| Control Signal Logic | Active Low |
The 2 Channel Relay 5V module has the following pin layout:
| 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) |
| Terminal Name | Description |
|---|---|
| COM | Common terminal for the relay |
| NO | Normally Open terminal (disconnected by default) |
| NC | Normally Closed terminal (connected by default) |
Below is an example of how to connect and control the 2 Channel Relay 5V module using an Arduino UNO:
// Example code to control a 2 Channel Relay 5V module with 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 (HIGH for active-low logic)
digitalWrite(relay1, HIGH);
digitalWrite(relay2, HIGH);
}
void loop() {
// Turn on Relay 1
digitalWrite(relay1, LOW); // Active-low logic: LOW turns the relay ON
delay(1000); // Wait for 1 second
// Turn off Relay 1
digitalWrite(relay1, HIGH); // HIGH turns the relay OFF
delay(1000); // Wait for 1 second
// Turn on Relay 2
digitalWrite(relay2, LOW); // Active-low logic: LOW turns the relay ON
delay(1000); // Wait for 1 second
// Turn off Relay 2
digitalWrite(relay2, HIGH); // HIGH turns the relay OFF
delay(1000); // Wait for 1 second
}
Relay Not Switching:
Load Not Responding:
Arduino Resets When Relay Activates:
Q: Can I use this relay module with a 3.3V microcontroller?
A: Yes, the module supports control signals as low as 3.3V. However, ensure the VCC pin is still supplied with 5V.
Q: Is the relay module safe for high voltage applications?
A: Yes, the module is designed for high voltage loads (up to 250V AC or 30V DC). However, always follow proper safety guidelines when working with high voltage.
Q: Can I control both relays simultaneously?
A: Yes, you can activate both relays at the same time by sending LOW signals to both IN1 and IN2.
Q: What is the purpose of the optocoupler isolation?
A: The optocoupler provides electrical isolation between the control circuit (e.g., Arduino) and the high voltage load, protecting the microcontroller from potential damage.