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 applications where you need to control high-voltage or high-current devices such as lights, motors, and other electrical appliances. This module is commonly used in home automation, industrial automation, and various DIY projects.
Parameter | Value |
---|---|
Operating Voltage | 12V DC |
Trigger Voltage | 5V DC |
Current Consumption | 15-20mA per relay |
Relay Type | SPDT (Single Pole Double Throw) |
Max Switching Voltage | 250V AC / 30V DC |
Max Switching Current | 10A |
Dimensions | 50mm x 40mm x 20mm |
Pin Name | Description |
---|---|
VCC | Connect to 12V DC power supply |
GND | Ground |
IN1 | Control signal for Relay 1 (active low) |
IN2 | Control signal for Relay 2 (active low) |
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 alternately switch the relays on and off every second.
*/
const int relay1Pin = 7; // Digital pin connected to IN1
const int relay2Pin = 8; // Digital pin connected to IN2
void setup() {
// Initialize the relay control pins as outputs
pinMode(relay1Pin, OUTPUT);
pinMode(relay2Pin, OUTPUT);
// Initially turn off both relays
digitalWrite(relay1Pin, HIGH); // Relay is active low
digitalWrite(relay2Pin, HIGH); // Relay is active low
}
void loop() {
// Turn on Relay 1 and turn off Relay 2
digitalWrite(relay1Pin, LOW); // Activate Relay 1
digitalWrite(relay2Pin, HIGH); // Deactivate Relay 2
delay(1000); // Wait for 1 second
// Turn off Relay 1 and turn on Relay 2
digitalWrite(relay1Pin, HIGH); // Deactivate Relay 1
digitalWrite(relay2Pin, LOW); // Activate Relay 2
delay(1000); // Wait for 1 second
}
Relays Not Activating:
Microcontroller Resetting:
Load Not Switching:
By following this documentation, you should be able to effectively use the 2 Channel 12V Relay Module in your projects, ensuring reliable control of high-power devices with low-power signals.