The 2-Channel 12V Relay Module is an electronic component designed to control two independent circuits using a 12V power supply. It acts as an interface between low-power control systems (e.g., microcontrollers like Arduino) and high-power devices, such as motors, lights, or appliances. This module enables the safe switching of high-voltage or high-current loads using low-voltage control signals.
The 2-Channel 12V Relay Module has two main sections: the input (control) side and the output (load) side.
Pin Name | Description |
---|---|
VCC | Connect to the 12V DC power supply (positive terminal). |
GND | Connect to the ground of the power supply. |
IN1 | Control signal for Relay 1. A logic LOW (0V) activates the relay. |
IN2 | Control signal for Relay 2. A logic LOW (0V) activates the relay. |
Each relay has three output terminals: COM, NO, and NC.
Terminal Name | Description |
---|---|
COM | Common terminal. Connect to the power source or load. |
NO | Normally Open terminal. Connect to the load if you want it OFF by default. |
NC | Normally Closed terminal. Connect to the load if you want it ON by default. |
Power the Module:
Connect the Control Signals:
Connect the Load:
Test the Circuit:
Below is an example of how to control the 2-Channel 12V 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 (HIGH signal)
digitalWrite(relay1, HIGH);
digitalWrite(relay2, HIGH);
}
void loop() {
// Turn Relay 1 ON
digitalWrite(relay1, LOW); // LOW signal activates the relay
delay(2000); // Wait for 2 seconds
// Turn Relay 1 OFF
digitalWrite(relay1, HIGH); // HIGH signal deactivates the relay
delay(2000); // Wait for 2 seconds
// Turn Relay 2 ON
digitalWrite(relay2, LOW);
delay(2000);
// Turn Relay 2 OFF
digitalWrite(relay2, HIGH);
delay(2000);
}
Relays Not Activating:
Load Not Switching:
Relay Clicking Noise:
Arduino Resetting When Relays Activate:
Q: Can I use a 5V power supply instead of 12V?
A: No, this module is designed specifically for 12V operation. Using a lower voltage may cause malfunction.
Q: Can I control AC and DC loads simultaneously?
A: Yes, as long as each load is connected to a separate relay and does not exceed the relay's ratings.
Q: Is it safe to use this module with high-voltage devices?
A: Yes, but ensure proper insulation and safety precautions when working with high voltages.