
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.

A 5V Relay Module is an electronic switch that allows a low voltage control signal to switch a higher voltage circuit on or off. It typically consists of a relay, which is an electromechanical switch, and additional components such as transistors, diodes, and optocouplers to interface with microcontrollers or other control systems.

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 uses a pushbutton to control a 5V relay, which in turn powers a red LED. The MAHIR 1.mini module provides the necessary 3.7V power supply, and the relay switches the LED on and off based on the pushbutton input.

This circuit uses an IR sensor to control a 1 Channel 5V Relay Module, which is powered by a 9V battery. The IR sensor detects an object and sends a signal to the relay module to switch its state, enabling or disabling the connected load.
Below are the key technical details of a standard 5V Relay Module:
| Parameter | Specification |
|---|---|
| Operating Voltage | 5V DC |
| Trigger Voltage | 3.3V to 5V DC |
| Maximum Load Voltage | 250V AC / 30V DC |
| Maximum Load Current | 10A |
| Relay Type | SPDT (Single Pole Double Throw) |
| Isolation | Optocoupler-based isolation |
| Dimensions | Typically 50mm x 26mm x 18mm |
| Indicator LED | Yes (indicates relay activation) |
| Control Signal Logic | Active LOW (relay activates when input pin |
| is pulled LOW) |
The 5V Relay Module typically has the following pins:
| Pin Name | Description |
|---|---|
| VCC | Connect to 5V DC power supply. |
| GND | Connect to ground of the power supply. |
| IN | Control signal input. A LOW signal activates the relay, and a HIGH signal |
| deactivates it. |
The relay also has three terminal blocks for connecting the load:
| Terminal | Description |
|---|---|
| COM | Common terminal. Connect to one side of the load or power source. |
| NO | Normally Open terminal. The circuit is open when the relay is inactive and |
| closes when the relay is activated. | |
| NC | Normally Closed terminal. The circuit is closed when the relay is inactive and |
| opens when the relay is activated. |
Below is an example of how to control a 5V Relay Module using an Arduino UNO:
// Define the pin connected to the relay module
const int relayPin = 7;
void setup() {
// Set the relay pin as an output
pinMode(relayPin, OUTPUT);
// Ensure the relay is off initially
digitalWrite(relayPin, HIGH); // Relay is active LOW
}
void loop() {
// Turn the relay ON
digitalWrite(relayPin, LOW); // Activate the relay
delay(5000); // Keep the relay ON for 5 seconds
// Turn the relay OFF
digitalWrite(relayPin, HIGH); // Deactivate the relay
delay(5000); // Keep the relay OFF for 5 seconds
}
Relay Not Activating:
Erratic Behavior:
Load Not Switching:
Relay Stuck in One State:
Q1: Can I use the 5V Relay Module with a 3.3V microcontroller?
A1: Yes, most 5V Relay Modules can be triggered with a 3.3V control signal. However, verify the module's trigger voltage range in its datasheet.
Q2: Is it safe to use the relay for AC loads?
A2: Yes, the relay can handle AC loads up to 250V, but ensure proper insulation and safety precautions when working with high voltages.
Q3: Can I control multiple relays with one microcontroller?
A3: Yes, you can control multiple relays, but ensure the microcontroller has enough GPIO pins and the power supply can handle the combined current draw.
Q4: Why is the relay clicking but not switching the load?
A4: This could be due to incorrect wiring or a faulty load. Verify the connections and test the load separately.
By following this documentation, you can effectively use the 5V Relay Module in your projects while ensuring safety and reliability.