The 2 Channel 12V Relay Module is a versatile electronic component designed to control high-power devices using low-power signals. Each relay on the module can switch devices on and off with a 12V signal, making it ideal for automation and control systems. This module is commonly used in home automation, industrial control, and various DIY projects.
Parameter | Value |
---|---|
Operating Voltage | 12V DC |
Trigger Voltage | 5V DC |
Relay Type | SPDT (Single Pole Double Throw) |
Max Switching Voltage | 250V AC / 30V DC |
Max Switching Current | 10A |
Number of Channels | 2 |
Dimensions | 50mm x 40mm x 20mm |
Pin Name | Description |
---|---|
VCC | Connect to 5V power supply |
GND | Ground |
IN1 | Control signal for Relay 1 (active low) |
IN2 | Control signal for Relay 2 (active low) |
Pin Name | Description |
---|---|
COM1 | Common terminal for Relay 1 |
NO1 | Normally Open terminal for Relay 1 |
NC1 | Normally Closed terminal for Relay 1 |
COM2 | Common terminal for Relay 2 |
NO2 | Normally Open terminal for Relay 2 |
NC2 | Normally Closed terminal for Relay 2 |
Power Supply:
Control Signals:
Load Connections:
/*
Example code to control a 2 Channel 12V Relay Module using Arduino UNO.
This code will turn on Relay 1 for 2 seconds, then turn it off and turn on
Relay 2 for 2 seconds, and repeat the cycle.
*/
const int relay1Pin = 7; // Pin connected to IN1
const int relay2Pin = 8; // Pin connected to IN2
void setup() {
// Initialize the relay control pins as outputs
pinMode(relay1Pin, OUTPUT);
pinMode(relay2Pin, OUTPUT);
// Ensure relays are off at startup
digitalWrite(relay1Pin, HIGH);
digitalWrite(relay2Pin, HIGH);
}
void loop() {
// Turn on Relay 1
digitalWrite(relay1Pin, LOW);
delay(2000); // Wait for 2 seconds
// Turn off Relay 1
digitalWrite(relay1Pin, HIGH);
// Turn on Relay 2
digitalWrite(relay2Pin, LOW);
delay(2000); // Wait for 2 seconds
// Turn off Relay 2
digitalWrite(relay2Pin, HIGH);
}
Relays Not Switching:
Relay Module Overheating:
Interference with Microcontroller:
By following this documentation, users can effectively integrate the 2 Channel 12V Relay Module into their projects, ensuring reliable and efficient control of high-power devices.