
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 DC 5V 2-Channel Relay is an electronic module designed to control high-voltage devices using low-voltage signals. It features two independent relay channels, allowing users to switch two separate devices on or off. This module is commonly used in home automation, industrial control systems, and DIY electronics projects. Its ability to interface with microcontrollers like Arduino and Raspberry Pi makes it a versatile choice for hobbyists and professionals alike.

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

This circuit controls a DC motor using a 1-channel relay. The relay is powered by a DC power source, and it switches the motor on and off by connecting or disconnecting the motor's power supply.
| Parameter | Specification |
|---|---|
| Operating Voltage | 5V DC |
| Trigger Voltage | 3.3V to 5V DC |
| Relay Channels | 2 |
| Maximum Load (AC) | 250V AC at 10A |
| Maximum Load (DC) | 30V DC at 10A |
| Isolation | Optocoupler isolation |
| Dimensions | ~50mm x 40mm x 18mm |
| Indicator LEDs | Power LED and channel status LEDs |
| Pin Name | Description |
|---|---|
| VCC | Connect to 5V DC power supply. |
| GND | Ground connection. |
| 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. |
// Example code to control a DC 5V 2-Channel Relay with an Arduino UNO
// Define the relay control pins
#define RELAY1 7 // Pin connected to IN1
#define RELAY2 8 // Pin connected to IN2
void setup() {
// Set relay pins as outputs
pinMode(RELAY1, OUTPUT);
pinMode(RELAY2, OUTPUT);
// Initialize relays to OFF state
digitalWrite(RELAY1, HIGH); // HIGH = relay off
digitalWrite(RELAY2, HIGH); // HIGH = relay off
}
void loop() {
// Turn Relay 1 ON
digitalWrite(RELAY1, LOW); // LOW = relay on
delay(1000); // Wait for 1 second
// Turn Relay 1 OFF
digitalWrite(RELAY1, HIGH); // HIGH = relay off
delay(1000); // Wait for 1 second
// Turn Relay 2 ON
digitalWrite(RELAY2, LOW); // LOW = relay on
delay(1000); // Wait for 1 second
// Turn Relay 2 OFF
digitalWrite(RELAY2, HIGH); // HIGH = relay off
delay(1000); // Wait for 1 second
}
Relays Not Activating:
Load Not Switching:
Interference or Noise:
Relay Stuck or Not Releasing:
Q: Can I use this module with a 3.3V microcontroller?
A: Yes, the module is compatible with 3.3V logic levels, but ensure the VCC pin is powered with 5V.
Q: Is it safe to control high-voltage AC devices with this module?
A: Yes, but always follow proper safety precautions and ensure the load does not exceed the relay's ratings.
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 happens if I reverse the VCC and GND connections?
A: Reversing the power connections can damage the module. Always double-check your wiring before powering the circuit.