

The Relay 3 Channel Optocoupler module, manufactured by Arduino (Part ID: Relay), is a versatile electronic component designed to control high-voltage devices using low-voltage signals. This module features three independent relays, each capable of switching AC or DC loads, and is equipped with optocouplers for electrical isolation. The optocouplers ensure safe operation by isolating the control circuit from the high-voltage load.








| Pin Name | Description |
|---|---|
| VCC | Connect to 5V power supply |
| GND | Ground connection |
| IN1 | Control signal for Relay 1 (active LOW) |
| IN2 | Control signal for Relay 2 (active LOW) |
| IN3 | Control signal for Relay 3 (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 |
| COM3 | Common terminal for Relay 3 |
| NO3 | Normally Open terminal for Relay 3 |
| NC3 | Normally Closed terminal for Relay 3 |
// Example code to control a 3-channel relay module with Arduino UNO
// Ensure the relay module is connected to pins 7, 8, and 9 on the Arduino
#define RELAY1 7 // Define pin for Relay 1
#define RELAY2 8 // Define pin for Relay 2
#define RELAY3 9 // Define pin for Relay 3
void setup() {
// Set relay pins as outputs
pinMode(RELAY1, OUTPUT);
pinMode(RELAY2, OUTPUT);
pinMode(RELAY3, OUTPUT);
// Initialize all relays to OFF state (HIGH signal)
digitalWrite(RELAY1, HIGH);
digitalWrite(RELAY2, HIGH);
digitalWrite(RELAY3, HIGH);
}
void loop() {
// Example sequence to toggle relays
digitalWrite(RELAY1, LOW); // Turn ON Relay 1
delay(1000); // Wait for 1 second
digitalWrite(RELAY1, HIGH); // Turn OFF Relay 1
digitalWrite(RELAY2, LOW); // Turn ON Relay 2
delay(1000); // Wait for 1 second
digitalWrite(RELAY2, HIGH); // Turn OFF Relay 2
digitalWrite(RELAY3, LOW); // Turn ON Relay 3
delay(1000); // Wait for 1 second
digitalWrite(RELAY3, HIGH); // Turn OFF Relay 3
}
Relays Not Activating:
Load Not Switching:
Interference or Noise in the Circuit:
By following this documentation, users can safely and effectively integrate the Relay 3 Channel Optocoupler module into their projects.