

A relay is an electrically operated switch that uses an electromagnet to mechanically operate a switching mechanism. Relays are commonly used in various applications where it is necessary to control a high-power circuit with a low-power signal. They are essential in automation, automotive, and industrial control systems.








| Parameter | Value |
|---|---|
| Coil Voltage | 5V, 12V, 24V |
| Coil Current | 70mA (5V), 30mA (12V), 15mA (24V) |
| Contact Rating | 10A @ 250VAC, 10A @ 30VDC |
| Contact Resistance | < 100mΩ |
| Operate Time | 10ms |
| Release Time | 5ms |
| Insulation Resistance | > 100MΩ @ 500VDC |
| Dielectric Strength | 500VAC between coil and contacts |
| Pin Number | Pin Name | Description |
|---|---|---|
| 1 | NO | Normally Open contact |
| 2 | COM | Common contact |
| 3 | NC | Normally Closed contact |
| 4 | GND | Ground |
| 5 | VCC | Voltage supply for the coil |
| 6 | IN | Control signal input |
Power the Relay Coil:
Control Signal:
Switching Circuit:
/*
* Example code to control a relay with Arduino UNO
* The relay is connected to pin 7 of the Arduino
*/
const int relayPin = 7; // Define the relay pin
void setup() {
pinMode(relayPin, OUTPUT); // Set the relay pin as an output
}
void loop() {
digitalWrite(relayPin, HIGH); // Turn the relay on
delay(1000); // Wait for 1 second
digitalWrite(relayPin, LOW); // Turn the relay off
delay(1000); // Wait for 1 second
}
Relay Not Switching:
Chattering Relay:
Overheating:
Noisy Operation:
Q: Can I use a relay to switch AC and DC loads?
Q: What is the purpose of the flyback diode?
Q: How do I know if my relay is normally open or normally closed?
This documentation provides a comprehensive guide to understanding and using relays in various applications. Whether you are a beginner or an experienced user, following these guidelines will help you effectively integrate relays into your projects.