
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 5V module is an electronic component designed to control high-voltage devices using low-voltage signals. It features two independent relays, each capable of switching devices such as lights, fans, or other appliances. This module is widely used in home automation, industrial control systems, and IoT projects. Its ability to isolate low-voltage control circuits from high-voltage loads ensures safety and reliability in various applications.

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 uses a WeMos D1 R2 microcontroller to control a 5V 2-relay module, which in turn controls the power to an AC bulb and a cellphone charger. The microcontroller also interfaces with a line tracking sensor, which likely provides input to control the relay states. The AC bulb and cellphone charger are powered by an AC wire connection, with the relay acting as a switch for the bulb.
| Pin Name | Description |
|---|---|
| VCC | Connect to 5V DC power supply. |
| GND | Connect to ground. |
| IN1 | Control signal for Relay 1. A HIGH signal activates the relay. |
| IN2 | Control signal for Relay 2. A HIGH signal activates the relay. |
| Pin 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. |
Power the Module:
Connect the Control Signals:
Connect the Load:
Test the Circuit:
// Example code to control a 2-channel relay module with Arduino UNO
// IN1 and IN2 are connected to digital pins 7 and 8, respectively.
#define RELAY1 7 // Define pin for Relay 1 control
#define RELAY2 8 // Define pin for Relay 2 control
void setup() {
pinMode(RELAY1, OUTPUT); // Set Relay 1 pin as output
pinMode(RELAY2, OUTPUT); // Set Relay 2 pin as output
// Initialize relays to OFF state
digitalWrite(RELAY1, LOW);
digitalWrite(RELAY2, LOW);
}
void loop() {
// Turn on Relay 1 for 2 seconds
digitalWrite(RELAY1, HIGH); // Activate Relay 1
delay(2000); // Wait for 2 seconds
// Turn off Relay 1 and turn on Relay 2 for 2 seconds
digitalWrite(RELAY1, LOW); // Deactivate Relay 1
digitalWrite(RELAY2, HIGH); // Activate Relay 2
delay(2000); // Wait for 2 seconds
// Turn off both relays
digitalWrite(RELAY2, LOW); // Deactivate Relay 2
delay(2000); // Wait for 2 seconds
}
Relays Not Activating:
Indicator LEDs Not Lighting Up:
Load Not Switching:
Microcontroller Resetting When Relay Activates:
Q: Can I use this module with a 3.3V microcontroller?
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 relay's load does not exceed its maximum ratings.
Q: Is it safe to use this module for high-power appliances?
A: Yes, but ensure proper isolation and do not exceed the relay's rated voltage and current.
Q: Can I use this module to control a motor?
A: Yes, but for inductive loads like motors, use a flyback diode to protect the relay from voltage spikes.