The 1 Channel Relay Module with Optocoupler (Manufacturer: Songle, Part ID: SRD-05VDC-SL-C) is a versatile electronic component designed to control high-voltage devices using low-voltage signals. This module is equipped with an optocoupler, which provides electrical isolation between the control circuit and the high-voltage load, ensuring safety and protecting sensitive components from potential damage.
Below are the key technical details and pin configuration for the 1 Channel Relay Module with Optocoupler:
Parameter | Specification |
---|---|
Manufacturer | Songle |
Part ID | SRD-05VDC-SL-C |
Operating Voltage | 5V DC |
Trigger Voltage | 3.3V to 5V DC |
Maximum Load Voltage | 250V AC / 30V DC |
Maximum Load Current | 10A |
Isolation Method | Optocoupler |
Relay Type | SPDT (Single Pole Double Throw) |
Dimensions | 50mm x 26mm x 18.5mm |
Weight | ~15g |
Pin Name | Pin Type | Description |
---|---|---|
VCC | Power Input | Connect to 5V DC power supply. Powers the relay module. |
GND | Ground | Connect to the ground of the power supply. |
IN | Signal Input | Control signal input. A HIGH signal activates the relay. |
COM | Common Terminal | Common terminal for the relay switch. |
NO | Normally Open | Normally open terminal. Connect the load here for default OFF state. |
NC | Normally Closed | Normally closed terminal. Connect the load here for default ON state. |
VCC
pin to a 5V DC power source and the GND
pin to the ground.IN
pin to a microcontroller (e.g., Arduino UNO) or any other control circuit capable of providing a 3.3V to 5V signal.COM
and either the NO
or NC
terminal:NO
if the load should be OFF by default and turn ON when the relay is activated.NC
if the load should be ON by default and turn OFF when the relay is activated.IN
pin to activate the relay and switch the load.Below is an example of how to control the relay module using an Arduino UNO:
VCC
to the Arduino's 5V pin.GND
to the Arduino's GND pin.IN
pin to Arduino digital pin 7.COM
and NO
terminals.// Define the relay control pin
const int relayPin = 7;
void setup() {
// Set the relay pin as an output
pinMode(relayPin, OUTPUT);
// Ensure the relay is OFF at startup
digitalWrite(relayPin, LOW);
}
void loop() {
// Turn the relay ON
digitalWrite(relayPin, HIGH);
delay(5000); // Keep the relay ON for 5 seconds
// Turn the relay OFF
digitalWrite(relayPin, LOW);
delay(5000); // Keep the relay OFF for 5 seconds
}
Relay Not Activating:
VCC
and GND
pins are properly connected to a 5V power source.IN
pin is within the required range (3.3V to 5V).Load Not Switching:
COM
and NO
or NC
terminals.Interference or Noise:
Module Overheating:
Q1: Can I use this relay module with a 3.3V microcontroller?
A1: Yes, the module can be triggered with a 3.3V signal, but ensure the VCC
pin is powered with 5V.
Q2: Is the relay module suitable for DC loads?
A2: Yes, the module supports DC loads up to 30V and 10A.
Q3: Can I control multiple relay modules with one microcontroller?
A3: Yes, as long as the microcontroller has enough GPIO pins and can supply the required current for each module.
Q4: What happens if I connect the load incorrectly?
A4: Incorrect connections may result in the load not switching or potential damage to the module. Double-check all connections before powering the circuit.