

The 5V 30A 1-Channel Relay Module manufactured by SONGLE (Part ID: RELAY MODULE) is a versatile electronic component designed to control high-voltage devices using low-voltage signals. It features an optocoupler for electrical isolation, ensuring safe operation and protection of sensitive control circuits. This module supports both high-level and low-level triggering, making it adaptable to a wide range of applications.








The following table outlines the key technical details of the relay module:
| Parameter | Specification |
|---|---|
| Operating Voltage | 5V DC |
| Trigger Voltage | High-level: 3.0V–5.0V, Low-level: 0V |
| Maximum Load Voltage | 250V AC / 30V DC |
| Maximum Load Current | 30A |
| Trigger Modes | High-level or Low-level |
| Isolation Method | Optocoupler |
| Dimensions | 50mm x 26mm x 18.5mm |
| Weight | ~25g |
The relay module has the following pins and terminals:
| Pin Name | Description |
|---|---|
| VCC | Connect to the 5V power supply. |
| GND | Connect to the ground of the power supply. |
| IN | Signal input pin. Accepts high-level (3.0V–5.0V) or low-level (0V) triggers. |
| JD-VCC | Optional jumper pin for relay power. Used when isolating the relay power supply. |
| Terminal Name | Description |
|---|---|
| COM | Common terminal. Connect to the load's power source or ground. |
| NO (Normally Open) | Normally open terminal. Connect to the load. Closed when the relay is active. |
| NC (Normally Closed) | Normally closed terminal. Connect to the load. Open when the relay is active. |
Below is an example of how to control the relay module using an Arduino UNO:
// Example: Controlling a 5V Relay Module with Arduino UNO
// This code toggles the relay ON and OFF every 2 seconds.
#define RELAY_PIN 7 // Define the pin connected to the relay module's IN pin
void setup() {
pinMode(RELAY_PIN, OUTPUT); // Set the relay pin as an output
digitalWrite(RELAY_PIN, LOW); // Start with the relay OFF (LOW level trigger)
}
void loop() {
digitalWrite(RELAY_PIN, HIGH); // Turn the relay ON
delay(2000); // Wait for 2 seconds
digitalWrite(RELAY_PIN, LOW); // Turn the relay OFF
delay(2000); // Wait for 2 seconds
}
Note: Adjust the RELAY_PIN definition to match the Arduino pin connected to the relay module.
Relay Not Activating:
Load Not Responding:
Microcontroller Not Triggering the Relay:
Relay Clicking but No Output:
Q1: Can I use this relay module with a 3.3V microcontroller like ESP32?
A1: Yes, the module supports high-level triggers as low as 3.0V, making it compatible with 3.3V logic.
Q2: Is it safe to control AC appliances with this module?
A2: Yes, but ensure proper insulation and follow safety guidelines when working with high-voltage AC loads.
Q3: Can I use this module to control multiple devices?
A3: No, this is a single-channel relay module. For multiple devices, use a multi-channel relay module.
Q4: What is the purpose of the optocoupler?
A4: The optocoupler provides electrical isolation between the control circuit and the high-voltage load, protecting sensitive components.
Q5: How do I change the trigger mode?
A5: The module typically includes a jumper or solder pads to configure the trigger mode. Refer to the module's datasheet for specific instructions.