
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 2 Channel module is an electronic component designed to control high-voltage devices using low-voltage signals. It features two independent relays, each capable of switching AC or DC loads. The module is commonly used in automation, home appliances, and industrial control systems. Its opto-isolation ensures safety by electrically isolating the control circuit from the high-voltage load.

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 consists of a 5V battery powering a 4-channel relay module, which controls four LEDs (red, yellow, green, and blue) through individual resistors. Each relay channel is activated by a corresponding SPST toggle switch, allowing manual control of the LEDs.
Below are the key technical details of the Relay 2 Channel module:
| Parameter | Specification |
|---|---|
| Operating Voltage | 5V DC |
| Trigger Voltage | 3.3V to 5V DC |
| Relay Type | Electromechanical |
| Maximum Load (AC) | 250V AC at 10A |
| Maximum Load (DC) | 30V DC at 10A |
| Isolation | Opto-isolated |
| Channels | 2 |
| Dimensions | ~50mm x 40mm x 20mm |
| Indicator LEDs | Power LED and individual relay status LEDs |
The Relay 2 Channel module typically has the following pin layout:
| Pin Name | Description |
|---|---|
| VCC | Power supply input (5V DC) |
| GND | Ground connection |
| IN1 | Control signal for Relay 1 (active LOW) |
| IN2 | Control signal for Relay 2 (active LOW) |
Each relay has three output terminals: | Terminal | Description | |--------------|------------------------------------------------------| | NO (Normally Open) | Open circuit when the relay is inactive. Closes when activated. | | NC (Normally Closed) | Closed circuit when the relay is inactive. Opens when activated. | | COM (Common) | Common terminal for the load connection. |
Below is an example of how to control the Relay 2 Channel module using an Arduino UNO:
// Example code to control a 2-channel relay module with an Arduino UNO
// Define the pins connected to the relay module
#define RELAY1 7 // Relay 1 control pin
#define RELAY2 8 // Relay 2 control pin
void setup() {
// Set relay pins as outputs
pinMode(RELAY1, OUTPUT);
pinMode(RELAY2, OUTPUT);
// Initialize relays to OFF state
digitalWrite(RELAY1, HIGH); // HIGH = relay off (active LOW)
digitalWrite(RELAY2, HIGH); // HIGH = relay off (active LOW)
}
void loop() {
// Turn on Relay 1
digitalWrite(RELAY1, LOW); // LOW = relay on
delay(1000); // Wait for 1 second
// Turn off Relay 1 and turn on Relay 2
digitalWrite(RELAY1, HIGH); // HIGH = relay off
digitalWrite(RELAY2, LOW); // LOW = relay on
delay(1000); // Wait for 1 second
// Turn off both relays
digitalWrite(RELAY1, HIGH);
digitalWrite(RELAY2, HIGH);
delay(1000); // Wait for 1 second
}
Relays Not Activating:
Load Not Switching:
Arduino Resets When Relays Activate:
Relay Module Overheating:
Q: Can I use the Relay 2 Channel 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 DC.
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 both relays simultaneously?
A: Yes, you can activate both relays at the same time by sending LOW signals to both IN1 and IN2.
Q: What is the purpose of the opto-isolation?
A: Opto-isolation protects the control circuit (e.g., microcontroller) from high-voltage spikes and electrical noise on the load side.