
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 2 is a relay module with two independent channels, enabling the control of two separate circuits using a single control signal. This module is designed to interface with low-power control systems, such as microcontrollers, to switch high voltage or high current loads safely. It is widely used in automation, home appliances, industrial control systems, and DIY projects.

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 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.

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.
| Pin Name | Description |
|---|---|
| VCC | Connect to the 5V power supply. Powers the relay module. |
| GND | Ground connection. |
| IN1 | Control signal for Relay 1. A HIGH signal activates the relay. |
| IN2 | Control signal for Relay 2. A HIGH signal activates the relay. |
| Terminal Name | Description |
|---|---|
| COM | Common terminal. Connect to the load or power source. |
| NO | Normally Open terminal. Connect to the load if it should be OFF by default. |
| NC | Normally Closed terminal. Connect to the load if it should be ON by default. |
Below is an example code to control two relays using an Arduino UNO:
// Define the pins connected to the relay module
const int relay1Pin = 7; // IN1 connected to digital pin 7
const int relay2Pin = 8; // IN2 connected to digital pin 8
void setup() {
// Set relay pins as OUTPUT
pinMode(relay1Pin, OUTPUT);
pinMode(relay2Pin, OUTPUT);
// Initialize relays to OFF state
digitalWrite(relay1Pin, LOW); // Relay 1 OFF
digitalWrite(relay2Pin, LOW); // Relay 2 OFF
}
void loop() {
// Turn Relay 1 ON and Relay 2 OFF
digitalWrite(relay1Pin, HIGH); // Relay 1 ON
digitalWrite(relay2Pin, LOW); // Relay 2 OFF
delay(2000); // Wait for 2 seconds
// Turn Relay 1 OFF and Relay 2 ON
digitalWrite(relay1Pin, LOW); // Relay 1 OFF
digitalWrite(relay2Pin, HIGH); // Relay 2 ON
delay(2000); // Wait for 2 seconds
}
Relays Not Activating:
Load Not Switching:
Microcontroller Resetting:
Relay Clicking but No Load Switching:
Q: Can I use this module with a 3.3V microcontroller like ESP32?
A: Yes, the module is compatible with 3.3V control signals, but ensure the VCC pin is powered with 5V.
Q: Can I control AC and DC loads simultaneously?
A: Yes, as long as each load is connected to a separate channel and does not exceed the relay's ratings.
Q: Do I need a flyback diode for inductive loads?
A: Yes, a flyback diode is recommended to protect the relay from voltage spikes caused by inductive loads.
Q: Can I use this module to control a motor?
A: Yes, but ensure the motor's current and voltage are within the relay's specifications, and use a flyback diode for protection.
This concludes the documentation for the RELAY 2CHANNEL 2 module.