

The RELAY SRD-05VDC-SL-C is a 5V DC relay module designed for switching high-voltage devices using low-voltage control signals. It features a Single Pole Double Throw (SPDT) configuration, enabling it to control multiple circuits. This relay is widely used in automation, home appliances, and DIY electronics projects due to its reliability and ease of use.








Below are the key technical details and pin configuration for the RELAY SRD-05VDC-SL-C:
| Parameter | Value |
|---|---|
| Operating Voltage | 5V DC |
| Trigger Voltage | 3.75V to 5V DC |
| Trigger Current | 15-20 mA |
| Contact Type | SPDT (Single Pole Double Throw) |
| Maximum Switching Voltage | 250V AC / 30V DC |
| Maximum Switching Current | 10A |
| Coil Resistance | ~70Ω |
| Isolation | Optocoupler isolation (if part of a module) |
| Dimensions | 19mm x 15.5mm x 15mm |
The RELAY SRD-05VDC-SL-C typically has 5 pins when used as part of a relay module. Below is the pin configuration:
| Pin Name | Description |
|---|---|
| VCC | Connect to 5V DC power supply |
| GND | Connect to ground |
| IN | Control signal input (HIGH to activate relay) |
| Pin Name | Description |
|---|---|
| COM | Common terminal for the load circuit |
| NO | Normally Open terminal (connected to COM when relay is activated) |
| NC | Normally Closed terminal (connected to COM when relay is inactive) |
Below is an example of how to control the RELAY SRD-05VDC-SL-C with an Arduino UNO:
// Define the relay control pin
const int relayPin = 7; // Connect the IN pin of the relay to pin 7 on Arduino
void setup() {
pinMode(relayPin, OUTPUT); // Set the relay pin as an output
digitalWrite(relayPin, LOW); // Ensure the relay is off initially
}
void loop() {
digitalWrite(relayPin, HIGH); // Turn the relay ON
delay(5000); // Keep the relay ON for 5 seconds
digitalWrite(relayPin, LOW); // Turn the relay OFF
delay(5000); // Keep the relay OFF for 5 seconds
}
Code Explanation:
relayPin is set to pin 7 on the Arduino.setup() function initializes the relay pin as an output and ensures the relay is OFF initially.loop() function alternates between turning the relay ON and OFF every 5 seconds.Relay Not Activating:
Relay Clicking Rapidly:
Load Not Switching:
Arduino Resets When Relay Activates:
Q1: Can I use the RELAY SRD-05VDC-SL-C with a 3.3V microcontroller?
A1: Yes, but you may need a transistor or MOSFET to amplify the control signal to 5V.
Q2: Is the relay safe for switching AC loads?
A2: Yes, it can switch AC loads up to 250V, but ensure proper insulation and safety precautions.
Q3: Can I control multiple relays with one Arduino?
A3: Yes, as long as each relay has its own control pin and the Arduino can supply sufficient current.
Q4: What is the lifespan of the relay?
A4: The relay is rated for approximately 100,000 mechanical operations under normal conditions.