

A 5V relay is an electromechanical switch that uses an electromagnetic coil to open or close contacts. It allows a low voltage signal (5V) to control high voltage or high current circuits, making it an essential component in automation, home appliances, and industrial control systems. Relays are widely used for isolating control circuits from the load circuits, ensuring safety and reliability.








| Parameter | Value |
|---|---|
| Operating Voltage | 5V DC |
| Trigger Voltage | 3.75V to 5V DC |
| Coil Resistance | ~70Ω |
| Switching Voltage | Up to 250V AC / 30V DC |
| Switching Current | Up to 10A |
| Contact Type | SPDT (Single Pole Double Throw) |
| Isolation | Electrical isolation between control and load circuits |
| Dimensions | Typically 19mm x 15mm x 15mm |
| Pin Number | Name | Description |
|---|---|---|
| 1 | Coil (+) | Positive terminal of the relay coil. Connect to the control signal (5V). |
| 2 | Coil (-) | Negative terminal of the relay coil. Connect to ground (GND). |
| 3 | Common (COM) | Common terminal for the load circuit. |
| 4 | Normally Open (NO) | Open when the relay is inactive; closes when the relay is activated. |
| 5 | Normally Closed (NC) | Closed when the relay is inactive; opens when the relay is activated. |
Below is an example of how to control a 5V relay using an Arduino UNO to turn an LED on and off.
// Define the relay pin
const int relayPin = 7;
void setup() {
pinMode(relayPin, OUTPUT); // Set the relay pin as an output
}
void loop() {
digitalWrite(relayPin, HIGH); // Activate the relay
delay(1000); // Wait for 1 second
digitalWrite(relayPin, LOW); // Deactivate the relay
delay(1000); // Wait for 1 second
}
Relay Not Activating:
Load Not Switching:
Relay Buzzing or Clicking Rapidly:
Overheating:
Q: Can I use a 5V relay with a 3.3V microcontroller?
A: Yes, but you may need a transistor or MOSFET to amplify the 3.3V signal to 5V for the relay coil.
Q: What is the purpose of the flyback diode?
A: The flyback diode protects the control circuit from voltage spikes generated when the relay coil is de-energized.
Q: Can I use the relay to switch AC appliances?
A: Yes, as long as the appliance's voltage and current are within the relay's rated limits (e.g., 250V AC, 10A).
Q: How do I know if the relay is working?
A: You should hear a clicking sound when the relay activates or deactivates. You can also measure continuity between the COM and NO/NC pins.