

A relay_5V is an electromechanical switch that operates at 5 volts. It is designed to control high-power circuits using low-power signals, making it an essential component for applications requiring electrical isolation between the control circuit and the load. The relay consists of a coil, armature, and contacts, which work together to switch the load on or off when the coil is energized.








Below are the key technical details for the relay_5V:
The relay typically has 5 pins for SPDT models. Below is the pin configuration:
| Pin Name | Description |
|---|---|
| Coil+ | Positive terminal of the relay coil (connect to 5V DC) |
| Coil- | Negative terminal of the relay coil (connect to ground) |
| Common (COM) | Common terminal for the load circuit |
| Normally Open (NO) | Open circuit when the relay is de-energized; closed when energized |
| Normally Closed (NC) | Closed circuit when the relay is de-energized; open when energized |
For DPDT relays, there will be an additional set of COM, NO, and NC pins.
Power the Relay Coil:
Coil+ pin to a 5V DC power source.Coil- pin to ground.Connect the Load:
NO or NC terminal.NO terminal.NC terminal.Control the Relay:
Below is an example of how to control a relay_5V using an Arduino UNO:
// Example: Controlling a 5V relay with Arduino UNO
// Pin 7 is used to control the relay
#define RELAY_PIN 7 // Define the pin connected to the relay module
void setup() {
pinMode(RELAY_PIN, OUTPUT); // Set the relay pin as an output
digitalWrite(RELAY_PIN, LOW); // Ensure the relay is off initially
}
void loop() {
digitalWrite(RELAY_PIN, HIGH); // Turn the relay on
delay(5000); // Keep the relay on for 5 seconds
digitalWrite(RELAY_PIN, LOW); // Turn the relay off
delay(5000); // Keep the relay off for 5 seconds
}
Note: Ensure the relay module has an onboard transistor and flyback diode if connecting directly to the Arduino.
Relay Not Switching:
Load Not Turning On/Off:
COM, NO, and NC terminals.Microcontroller Resetting When Relay Activates:
Relay Heating Up:
Q: Can I use the relay_5V with a 3.3V microcontroller?
A: Yes, but you will need a transistor or relay driver circuit to step up the control signal to 5V.
Q: What is the purpose of the flyback diode?
A: The flyback diode protects the driving circuit from voltage spikes generated when the relay coil is de-energized.
Q: Can the relay_5V switch both AC and DC loads?
A: Yes, as long as the load voltage and current are within the relay's rated specifications.
Q: How do I know if the relay is energized?
A: Many relay modules include an LED indicator that lights up when the relay is activated.
By following this documentation, you can effectively use the relay_5V in your projects while ensuring safety and reliability.