
This circuit consists of a DC-DC converter powering a 6-channel power module, which in turn supplies 5V to a 2-relay module. The power module distributes the converted voltage to the relay module, enabling it to control external devices.

The RELAY 2CHANNEL module is a versatile electronic component designed to control high-voltage devices using low-voltage signals. It features two independent relay channels, allowing users to switch two separate devices simultaneously. The module is commonly equipped with opto-isolation to ensure safety and protect low-voltage control circuits from high-voltage spikes.
This relay module is widely used in home automation, industrial control systems, robotics, and IoT projects. It is particularly useful for controlling appliances, lights, motors, and other high-power devices with microcontrollers like Arduino, Raspberry Pi, or other low-power control systems.

This circuit consists of a DC-DC converter powering a 6-channel power module, which in turn supplies 5V to a 2-relay module. The power module distributes the converted voltage to the relay module, enabling it to control external devices.

This circuit features an ESP32 microcontroller connected to a two-channel relay module. The ESP32's digital pins D25 and D26 are used to control the relay channels IN1 and IN2, respectively, allowing the microcontroller to switch external circuits on and off. The ESP32 and the relay module share a common ground and the ESP32's Vin pin supplies power to the relay's VCC, indicating that both operate at compatible voltage levels.

This circuit features an ESP32 microcontroller connected to a two-channel 5V relay module. The ESP32 controls the relay channels via its GPIO pins D23 and D22, allowing it to switch external devices on and off. The relay module is powered by the 3.3V and GND pins of the ESP32.

This circuit features an Arduino UNO connected to two voltage sensors and a 2-channel relay module. The Arduino monitors voltage levels through analog inputs A0 and A1, which are connected to the outputs of the voltage sensors. It controls the relay module via digital outputs D13 and D12, which are connected to the relay inputs IN1 and IN2, respectively, allowing the Arduino to switch external circuits on and off based on the voltage sensor readings.
| Pin Name | Description |
|---|---|
| VCC | Connect to the 5V power supply of the control circuit. |
| GND | Connect to the ground of the control circuit. |
| IN1 | Control signal for Relay 1. Active Low (0V triggers the relay). |
| IN2 | Control signal for Relay 2. Active Low (0V triggers the relay). |
| Terminal Name | Description |
|---|---|
| COM | Common terminal for the relay. Connect to the power source or load. |
| NO | Normally Open terminal. Connect to the load for default OFF state. |
| NC | Normally Closed terminal. Connect to the load for default ON state. |
Below is an example code to control two relays using an Arduino UNO:
// Define the relay control pins
const int relay1Pin = 7; // Pin connected to IN1
const int relay2Pin = 8; // Pin connected to IN2
void setup() {
// Set relay pins as outputs
pinMode(relay1Pin, OUTPUT);
pinMode(relay2Pin, OUTPUT);
// Initialize relays to OFF state (HIGH signal)
digitalWrite(relay1Pin, HIGH);
digitalWrite(relay2Pin, HIGH);
}
void loop() {
// Turn on Relay 1
digitalWrite(relay1Pin, LOW); // Active Low signal to trigger relay
delay(1000); // Wait for 1 second
// Turn off Relay 1
digitalWrite(relay1Pin, HIGH); // Deactivate relay
delay(1000); // Wait for 1 second
// Turn on Relay 2
digitalWrite(relay2Pin, LOW); // Active Low signal to trigger relay
delay(1000); // Wait for 1 second
// Turn off Relay 2
digitalWrite(relay2Pin, HIGH); // Deactivate relay
delay(1000); // Wait for 1 second
}
Relays Not Activating:
Erratic Relay Behavior:
Load Not Switching:
Microcontroller Resetting:
Q: Can I use the RELAY 2CHANNEL module with a 3.3V microcontroller?
A: Yes, the module is compatible with 3.3V control signals, but ensure the VCC pin is still powered with 5V.
Q: Is the module safe for high-voltage applications?
A: Yes, the module is designed for high-voltage applications, but proper insulation and safety precautions must be followed.
Q: Can I control DC devices with this module?
A: Yes, the module can switch DC devices up to 30V and 10A.
Q: What is the purpose of opto-isolation?
A: Opto-isolation protects the low-voltage control circuit from high-voltage spikes and electrical noise.