Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Component Documentation

How to Use RELAY SRD-05VDC-SL-C: Examples, Pinouts, and Specs

Image of RELAY SRD-05VDC-SL-C
Cirkit Designer LogoDesign with RELAY SRD-05VDC-SL-C in Cirkit Designer

Introduction

The SRD-05VDC-SL-C is a general-purpose electromagnetic relay designed to operate at a 5V DC input. It is widely used in electronic circuits for switching applications, allowing low-power control signals to manage higher-power loads. This relay is commonly employed in home automation, industrial control systems, and DIY electronics projects.

Explore Projects Built with RELAY SRD-05VDC-SL-C

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
DC-DC Converter and Relay Module Power Distribution System
Image of relay: A project utilizing RELAY SRD-05VDC-SL-C in a practical application
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.
Cirkit Designer LogoOpen Project in Cirkit Designer
LDR-Activated Relay Control for Dual Bulb Illumination
Image of automatic headlight control project : A project utilizing RELAY SRD-05VDC-SL-C in a practical application
This circuit appears to be a light-activated switch controlling two bulbs using a 5V relay, with an LDR (Light Dependent Resistor) as the sensor. The relay is powered by a 48V to 5V converter, which is switched on by a 12V battery through an SPST toggle switch. The LDR's output is connected to the relay's input, enabling the relay to switch the bulbs on or off based on the ambient light level detected by the LDR.
Cirkit Designer LogoOpen Project in Cirkit Designer
Battery-Powered 4-Channel Relay Control with LED Indicators
Image of RELLAY BOARD TEST: A project utilizing RELAY SRD-05VDC-SL-C in a practical application
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.
Cirkit Designer LogoOpen Project in Cirkit Designer
Smart DC Motor Control System with Relay and Capacitive Sensors
Image of conveyor: A project utilizing RELAY SRD-05VDC-SL-C in a practical application
This circuit controls two DC motors using a combination of relays, a toggle switch, and capacitive sensors. The XL4015 DC Buck Step-down module provides regulated power, while the capacitive sensors and toggle switch are used to control the relays, which in turn manage the operation of the motors.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with RELAY SRD-05VDC-SL-C

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of relay: A project utilizing RELAY SRD-05VDC-SL-C in a practical application
DC-DC Converter and Relay Module Power Distribution System
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.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of automatic headlight control project : A project utilizing RELAY SRD-05VDC-SL-C in a practical application
LDR-Activated Relay Control for Dual Bulb Illumination
This circuit appears to be a light-activated switch controlling two bulbs using a 5V relay, with an LDR (Light Dependent Resistor) as the sensor. The relay is powered by a 48V to 5V converter, which is switched on by a 12V battery through an SPST toggle switch. The LDR's output is connected to the relay's input, enabling the relay to switch the bulbs on or off based on the ambient light level detected by the LDR.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of RELLAY BOARD TEST: A project utilizing RELAY SRD-05VDC-SL-C in a practical application
Battery-Powered 4-Channel Relay Control with LED Indicators
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.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of conveyor: A project utilizing RELAY SRD-05VDC-SL-C in a practical application
Smart DC Motor Control System with Relay and Capacitive Sensors
This circuit controls two DC motors using a combination of relays, a toggle switch, and capacitive sensors. The XL4015 DC Buck Step-down module provides regulated power, while the capacitive sensors and toggle switch are used to control the relays, which in turn manage the operation of the motors.
Cirkit Designer LogoOpen Project in Cirkit Designer

Common Applications

  • Home automation systems (e.g., controlling lights, fans, or appliances)
  • Industrial control circuits
  • Microcontroller-based projects (e.g., Arduino, Raspberry Pi)
  • Motor control and power management
  • Safety and alarm systems

Technical Specifications

Key Technical Details

Parameter Value
Operating Voltage 5V DC
Coil Resistance 70 Ω ±10%
Switching Voltage (Max) 250V AC / 30V DC
Switching Current (Max) 10A
Contact Configuration SPDT (Single Pole Double Throw)
Relay Type Electromagnetic
Dimensions 19mm x 15.5mm x 15mm
Weight ~10g
Insulation Resistance ≥100MΩ (at 500V DC)
Dielectric Strength 500V AC (between coil and contacts)

Pin Configuration and Descriptions

The SRD-05VDC-SL-C relay has five pins, as described below:

Pin Number Name Description
1 Coil (+) Positive terminal of the relay coil. Connect to 5V DC for activation.
2 Coil (-) Negative terminal of the relay coil. Connect to ground.
3 Common (COM) Common terminal for the relay switch.
4 Normally Open (NO) Open circuit when the relay is inactive; closed when the relay is activated.
5 Normally Closed (NC) Closed circuit when the relay is inactive; open when the relay is activated.

Usage Instructions

How to Use the SRD-05VDC-SL-C in a Circuit

  1. Power the Relay Coil: Connect the coil pins (1 and 2) to a 5V DC power source. Use a transistor or MOSFET to control the relay coil from a microcontroller, as the relay requires more current than most microcontroller GPIO pins can supply.
  2. Connect the Load: Attach the load to the Common (COM) pin and either the Normally Open (NO) or Normally Closed (NC) pin, depending on the desired behavior:
    • Use the NO pin if the load should be powered only when the relay is activated.
    • Use the NC pin if the load should be powered when the relay is inactive.
  3. Add a Flyback Diode: Place a flyback diode (e.g., 1N4007) across the coil terminals to protect the circuit from voltage spikes generated when the relay is deactivated.
  4. Control the Relay: Use a microcontroller or external circuit to activate the relay by energizing the coil.

Important Considerations and Best Practices

  • Current Limitation: Ensure the control circuit can supply sufficient current to the relay coil (typically ~70mA).
  • Isolation: Use an optocoupler or transistor driver circuit for isolation when controlling the relay with sensitive electronics.
  • Power Ratings: Do not exceed the relay's maximum switching voltage or current ratings.
  • Mounting: Secure the relay on a PCB or breadboard to prevent movement during operation.

Example: Connecting the SRD-05VDC-SL-C to an Arduino UNO

Below is an example of how to control the relay using an Arduino UNO:

Circuit Connections

  • Relay Coil (+): Connect to the collector of an NPN transistor (e.g., 2N2222).
  • Relay Coil (-): Connect to ground.
  • Transistor Base: Connect to an Arduino digital pin (e.g., D7) through a 1kΩ resistor.
  • Transistor Emitter: Connect to ground.
  • Flyback Diode: Place across the relay coil terminals (cathode to Coil (+), anode to Coil (-)).
  • Load: Connect between the relay's COM and NO/NC pins as needed.

Arduino Code

// Define the pin connected to the transistor base
const int relayPin = 7;

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); // Activate the relay
  delay(1000); // Keep the relay on for 1 second
  digitalWrite(relayPin, LOW); // Deactivate the relay
  delay(1000); // Keep the relay off for 1 second
}

Troubleshooting and FAQs

Common Issues

  1. Relay Not Activating

    • Cause: Insufficient current to the relay coil.
    • Solution: Use a transistor or MOSFET to drive the relay, and ensure the power supply can provide at least 70mA.
  2. Load Not Switching

    • Cause: Incorrect wiring of the load to the relay terminals.
    • Solution: Verify the load is connected to the COM and NO/NC pins as required.
  3. Microcontroller Resetting

    • Cause: Voltage spikes from the relay coil affecting the microcontroller.
    • Solution: Add a flyback diode across the relay coil terminals.
  4. Relay Buzzing or Clicking

    • Cause: Insufficient or unstable power supply to the relay coil.
    • Solution: Use a stable 5V DC power source and ensure proper connections.

FAQs

Q1: Can I use the SRD-05VDC-SL-C with a 3.3V microcontroller?
A1: Yes, but you will need a transistor or MOSFET to drive the relay, as the coil requires 5V DC to operate.

Q2: What is the purpose of the flyback diode?
A2: The flyback diode protects the circuit from voltage spikes generated when the relay coil is de-energized.

Q3: Can this relay switch AC loads?
A3: Yes, the relay can switch AC loads up to 250V, provided the current does not exceed 10A.

Q4: Is the relay suitable for high-frequency switching?
A4: No, electromagnetic relays like the SRD-05VDC-SL-C are not designed for high-frequency switching due to mechanical limitations.