The 5V Relay by Ashish Tech Guruji (Part ID: SPST) is an electromechanical switch designed to control high-voltage or high-current devices using a low-voltage (5V) control signal. It operates by energizing a coil, which moves an armature to open or close the relay's contacts. This allows for safe and efficient control of devices such as motors, lights, and home appliances.
The following table outlines the key technical details of the 5V Relay:
Parameter | Value |
---|---|
Manufacturer | Ashish Tech Guruji |
Part ID | SPST |
Operating Voltage | 5V DC |
Trigger Voltage | 3.3V to 5V DC |
Maximum Switching Voltage | 250V AC / 30V DC |
Maximum Switching Current | 10A |
Coil Resistance | ~70Ω |
Contact Type | SPST (Single Pole Single Throw) |
Isolation | Optically isolated (if used with a driver module) |
Dimensions | 19mm x 15mm x 15mm |
Weight | ~10g |
The 5V Relay typically has 5 pins. The table below describes each pin:
Pin Name | Description |
---|---|
VCC | Connects to the 5V power supply to energize the relay coil. |
GND | Ground connection for the relay. |
IN | Control signal input (3.3V to 5V logic level). |
COM | Common terminal for the relay's switching circuit. |
NO | Normally Open terminal. Connect the load here if you want it to be OFF by default. |
NC | Normally Closed terminal. Connect the load here if you want it to be ON by default. |
Note: Some relay modules may not expose the NC terminal, depending on the design.
Power the Relay:
Control Signal:
Load Connection:
Isolation:
Below is an example of how to control a 5V relay using an Arduino UNO:
// Example: Controlling a 5V Relay with Arduino UNO
// This code turns a relay ON for 2 seconds, then OFF for 2 seconds repeatedly.
#define RELAY_PIN 7 // Define the pin connected to the relay's IN pin
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(2000); // Wait for 2 seconds
digitalWrite(RELAY_PIN, LOW); // Turn the relay OFF
delay(2000); // Wait for 2 seconds
}
Note: Ensure the relay module is connected to the Arduino's 5V and GND pins for proper operation.
Relay Not Activating:
Load Not Switching:
Relay Buzzing Noise:
Microcontroller Resetting:
Q1: Can I use the 5V relay with a 3.3V microcontroller?
A1: Yes, the relay can be triggered with a 3.3V control signal, but ensure the relay module supports 3.3V logic levels.
Q2: Can the relay handle AC and DC loads?
A2: Yes, the relay can switch both AC (up to 250V) and DC (up to 30V) loads, provided the current does not exceed 10A.
Q3: Do I need a relay driver circuit?
A3: If your microcontroller cannot supply sufficient current to the relay coil, use a transistor or relay driver module.
Q4: Is the relay safe for high-power applications?
A4: Yes, but ensure proper insulation and follow safety guidelines when working with high voltages.
By following this documentation, you can effectively integrate the 5V Relay (SPST) into your projects for reliable and efficient control of high-power devices.