The 4-Way Channel Relay Module, manufactured by SONGLE (Part ID: RELAY MODULE), is an electromechanical switch that allows you to control four separate circuits using a single control signal. This module is commonly used in automation and control systems to manage multiple devices or loads. It is ideal for applications where multiple devices need to be controlled independently, such as home automation, industrial automation, and robotics.
Parameter | Value |
---|---|
Operating Voltage | 5V DC |
Trigger Voltage | 5V DC |
Current Consumption | 70-80mA per relay |
Relay Type | SPDT (Single Pole Double Throw) |
Max Switching Voltage | 250V AC / 30V DC |
Max Switching Current | 10A |
Dimensions | 75mm x 55mm x 19mm |
Weight | 60g |
Pin Number | Pin Name | Description |
---|---|---|
1 | IN1 | Control signal for Relay 1 (Active Low) |
2 | IN2 | Control signal for Relay 2 (Active Low) |
3 | IN3 | Control signal for Relay 3 (Active Low) |
4 | IN4 | Control signal for Relay 4 (Active Low) |
5 | GND | Ground |
6 | VCC | Power supply (5V DC) |
7 | COM1 | Common terminal for Relay 1 |
8 | NO1 | Normally Open terminal for Relay 1 |
9 | NC1 | Normally Closed terminal for Relay 1 |
10 | COM2 | Common terminal for Relay 2 |
11 | NO2 | Normally Open terminal for Relay 2 |
12 | NC2 | Normally Closed terminal for Relay 2 |
13 | COM3 | Common terminal for Relay 3 |
14 | NO3 | Normally Open terminal for Relay 3 |
15 | NC3 | Normally Closed terminal for Relay 3 |
16 | COM4 | Common terminal for Relay 4 |
17 | NO4 | Normally Open terminal for Relay 4 |
18 | NC4 | Normally Closed terminal for Relay 4 |
/*
Example code to control a 4-way channel relay module using Arduino UNO.
This code will sequentially turn on and off each relay with a 1-second delay.
*/
const int relay1 = 2; // Pin connected to IN1
const int relay2 = 3; // Pin connected to IN2
const int relay3 = 4; // Pin connected to IN3
const int relay4 = 5; // Pin connected to IN4
void setup() {
// Initialize the relay control pins as outputs
pinMode(relay1, OUTPUT);
pinMode(relay2, OUTPUT);
pinMode(relay3, OUTPUT);
pinMode(relay4, OUTPUT);
// Set all relays to off (HIGH state)
digitalWrite(relay1, HIGH);
digitalWrite(relay2, HIGH);
digitalWrite(relay3, HIGH);
digitalWrite(relay4, HIGH);
}
void loop() {
// Turn on Relay 1
digitalWrite(relay1, LOW);
delay(1000); // Wait for 1 second
// Turn off Relay 1 and turn on Relay 2
digitalWrite(relay1, HIGH);
digitalWrite(relay2, LOW);
delay(1000); // Wait for 1 second
// Turn off Relay 2 and turn on Relay 3
digitalWrite(relay2, HIGH);
digitalWrite(relay3, LOW);
delay(1000); // Wait for 1 second
// Turn off Relay 3 and turn on Relay 4
digitalWrite(relay3, HIGH);
digitalWrite(relay4, LOW);
delay(1000); // Wait for 1 second
// Turn off Relay 4
digitalWrite(relay4, HIGH);
delay(1000); // Wait for 1 second
}
By following this documentation, users should be able to effectively utilize the 4-Way Channel Relay Module in their projects, ensuring reliable and efficient control of multiple devices or loads.