

The 1 Channel Relay 5V is an electromechanical switching device that allows a low voltage control signal (e.g., from a microcontroller) to control a higher voltage circuit. This module is widely used in automation, home appliances, and IoT projects to control devices such as lights, fans, and motors. It provides electrical isolation between the control circuit and the high-power circuit, ensuring safety and reliability.








| Pin Name | Description |
|---|---|
| VCC | Connect to 5V DC power supply (e.g., from a microcontroller or external PSU) |
| GND | Ground connection |
| IN | Control signal input (active LOW to trigger the relay) |
| Terminal Name | Description |
|---|---|
| COM | Common terminal for the relay switch |
| NO | Normally Open terminal (connected to COM when the relay is activated) |
| NC | Normally Closed terminal (connected to COM when the relay is deactivated) |
Power the Relay Module:
VCC pin to a 5V DC power source.GND pin to the ground of the same power source.Connect the Control Signal:
IN pin to a GPIO pin of your microcontroller (e.g., Arduino UNO).Connect the High Voltage Circuit:
NO terminal of the relay.COM terminal of the relay to the power source ground or neutral.Test the Circuit:
COM and NO, powering the connected device.Below is an example of how to control the relay using an Arduino UNO:
// Define the pin connected to the relay module
const int relayPin = 7;
void setup() {
// Set the relay pin as an output
pinMode(relayPin, OUTPUT);
// Ensure the relay is off initially
digitalWrite(relayPin, HIGH); // Relay is active LOW
}
void loop() {
// Turn the relay ON (activates the connected device)
digitalWrite(relayPin, LOW); // LOW signal activates the relay
delay(5000); // Keep the relay ON for 5 seconds
// Turn the relay OFF (deactivates the connected device)
digitalWrite(relayPin, HIGH); // HIGH signal deactivates the relay
delay(5000); // Keep the relay OFF for 5 seconds
}
Relay Not Activating:
Erratic Relay Behavior:
VCC and GND pins.Device Not Turning On/Off:
COM, NO, and NC terminals.Relay Stuck in One State:
Q: Can I use this relay with a 3.3V microcontroller like the ESP8266?
A: Yes, the relay can be triggered with a 3.3V control signal, but ensure the VCC pin is powered with 5V.
Q: Is the relay safe for controlling AC appliances?
A: Yes, but ensure proper insulation and follow safety guidelines when working with high voltage.
Q: Can I control multiple relays with one microcontroller?
A: Yes, as long as each relay has its own control pin and the microcontroller can handle the current requirements.
Q: What does the LED on the relay module indicate?
A: The LED lights up when the relay is activated (control signal is LOW).