

The 5V Relay Module (SRD-05VDC-SL-C) is an electronic switch designed to control high-voltage circuits using a low-voltage control signal. It is widely used in applications where electrical isolation and high-power switching are required. The module integrates an electromechanical relay and supporting circuitry, making it easy to interface with microcontrollers like Arduino, Raspberry Pi, or other control systems.








| Parameter | Value |
|---|---|
| Manufacturer | SRD |
| Part ID | SRD-05VDC-SL-C |
| Operating Voltage | 5V DC |
| Trigger Voltage | 3.3V to 5V DC |
| Maximum Switching Voltage | 250V AC / 30V DC |
| Maximum Switching Current | 10A |
| Relay Type | SPDT (Single Pole Double Throw) |
| Isolation | Optocoupler-based isolation |
| Dimensions | ~50mm x 26mm x 18.5mm |
The 5V Relay Module typically has 6 pins or terminals, divided into two sections: control pins and load terminals.
| Pin Name | Description |
|---|---|
| VCC | Power supply input (5V DC) |
| GND | Ground connection |
| IN | Control signal input (3.3V to 5V logic level) |
| Terminal Name | Description |
|---|---|
| COM | Common terminal for the load circuit |
| NO | Normally Open terminal (disconnected by default, connected when relay is activated) |
| NC | Normally Closed terminal (connected by default, disconnected when relay is activated) |
// Example code to control a 5V Relay Module with an Arduino UNO
// The relay is connected to digital pin 7 on the Arduino
#define RELAY_PIN 7 // Define the pin connected to the relay module
void setup() {
pinMode(RELAY_PIN, OUTPUT); // Set the relay pin as an output
digitalWrite(RELAY_PIN, LOW); // Ensure the relay is off at startup
}
void loop() {
digitalWrite(RELAY_PIN, HIGH); // Turn the relay on
delay(1000); // Wait for 1 second
digitalWrite(RELAY_PIN, LOW); // Turn the relay off
delay(1000); // Wait for 1 second
}
Relay Not Activating:
Load Not Switching:
Relay Clicking but No Load Response:
Module Overheating:
Q1: Can I use the 5V Relay Module with a 3.3V microcontroller like ESP8266?
A1: Yes, the module is compatible with 3.3V logic levels. However, ensure the VCC pin is powered with 5V.
Q2: Is the relay suitable for switching DC motors?
A2: Yes, but you should use a flyback diode across the motor terminals to protect the relay from voltage spikes.
Q3: Can I control multiple relays with one microcontroller?
A3: Yes, as long as the microcontroller has enough digital output pins and the total current draw does not exceed its limits.
Q4: What is the lifespan of the relay?
A4: The relay is rated for approximately 100,000 mechanical operations under normal conditions.