
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 2-channel relay module is an electronic component designed to control two independent circuits using a single input signal. Operating at 5V, this module is ideal for switching high-power devices such as motors, lights, and appliances while isolating the control circuit from the load. It is widely used in automation, home control systems, and IoT projects due to its reliability and ease of integration.

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.
| Parameter | Value |
|---|---|
| Operating Voltage | 5V DC |
| Trigger Voltage | 3.3V to 5V DC |
| Maximum Load Voltage | 250V AC / 30V DC |
| Maximum Load Current | 10A |
| Channels | 2 |
| Isolation | Optocoupler-based isolation |
| Dimensions | ~50mm x 40mm x 18mm |
| Weight | ~30g |
| Pin Name | Description |
|---|---|
| VCC | Connect to 5V DC power supply. |
| GND | Connect to ground (0V). |
| 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 for the relay. Connect to the power source or load. |
| NO | Normally Open terminal. Connect to the load for switching when active. |
| NC | Normally Closed terminal. Connect to the load for default connection. |
Below is an example of how to control the 2-channel relay module using an Arduino UNO.
// Define the relay control pins
const int relay1 = 7; // Relay 1 connected to digital pin 7
const int relay2 = 8; // Relay 2 connected to digital pin 8
void setup() {
// Set relay pins as outputs
pinMode(relay1, OUTPUT);
pinMode(relay2, OUTPUT);
// Initialize relays to OFF state
digitalWrite(relay1, LOW); // Relay 1 OFF
digitalWrite(relay2, LOW); // Relay 2 OFF
}
void loop() {
// Turn Relay 1 ON and Relay 2 OFF
digitalWrite(relay1, HIGH); // Relay 1 ON
digitalWrite(relay2, LOW); // Relay 2 OFF
delay(2000); // Wait for 2 seconds
// Turn Relay 1 OFF and Relay 2 ON
digitalWrite(relay1, LOW); // Relay 1 OFF
digitalWrite(relay2, HIGH); // Relay 2 ON
delay(2000); // Wait for 2 seconds
}
Relays Not Activating:
Erratic Behavior:
Load Not Switching:
Overheating:
Q: Can I use this module with a 3.3V microcontroller?
A: Yes, the relay module can be triggered with a 3.3V control signal, but ensure the VCC pin is powered with 5V.
Q: Can I control DC loads with this relay?
A: Yes, the relay supports DC loads up to 30V and 10A.
Q: Is the relay module safe for high-voltage applications?
A: Yes, the module is designed for high-voltage applications (up to 250V AC), but proper precautions must be taken to ensure safety.
Q: Can I use both NO and NC terminals simultaneously?
A: No, only one terminal (NO or NC) should be connected to the load at a time, depending on the desired behavior.