Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Component Documentation

How to Use Relè: Examples, Pinouts, and Specs

Image of Relè
Cirkit Designer LogoDesign with Relè in Cirkit Designer

Introduction

A relay, manufactured by Siemens, is an electromechanical switch designed to control a circuit using a low-power signal or to manage multiple circuits with a single signal. It operates by utilizing an electromagnetic coil to mechanically open or close contacts within the relay. This makes it an essential component in applications requiring electrical isolation, signal amplification, or the ability to control high-power circuits with low-power inputs.

Explore Projects Built with Relè

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Arduino UNO Controlled Relay Switch with LCD Interface and RTC Integration
Image of automatic school bell: A project utilizing Relè in a practical application
This circuit uses an Arduino UNO to control a relay for powering a gong, with a rocker switch included in the AC power line. It also features an I2C-connected LCD display and real-time clock for potential time-based triggering and display purposes. The actual behavior of the gong and display depends on the implementation of the Arduino code, which is currently not provided.
Cirkit Designer LogoOpen Project in Cirkit Designer
Wi-Fi Controlled 4-Channel Relay System with Arduino and ESP8266
Image of Wi-Fi Controlled 4-Channel Relay with Arduino and ESP8266: A project utilizing Relè in a practical application
This circuit is a Wi-Fi controlled 4-channel relay system using an Arduino UNO and an ESP8266 module. The relays can be controlled via a web interface served by the ESP8266, and the status of each relay is displayed on a 16x4 I2C LCD. The relays are used to control four 220V AC red lights, and the Arduino communicates with the ESP8266 via serial communication.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino Mega 2560 Controlled Automation System with 8-Channel Relay and Nextion Touch LCD Interface
Image of Capstone: A project utilizing Relè in a practical application
This circuit is centered around an Arduino Mega 2560, which controls a Nextion Touch LCD for user interface and a series of relays for switching various loads. The Arduino is powered by a 9V SMPS, and it drives an 8-channel 5V relay module to control devices like pumps, a loudspeaker, actuators, a heating plate, and a plucker. The relays are interfaced with solid-state relays (SSRs) and a thermistor for temperature sensing, enabling controlled power distribution to the connected devices based on programmed logic and user input.
Cirkit Designer LogoOpen Project in Cirkit Designer
WeMos D1 R2 Controlled Relay Switching Circuit for AC Bulb and USB Charger
Image of Hand Gesture Light: A project utilizing Relè in a practical application
This circuit uses a WeMos D1 R2 microcontroller to control a 5V 2-relay module, which in turn controls the power to an AC bulb and a cellphone charger. The microcontroller also interfaces with a line tracking sensor, which likely provides input to control the relay states. The AC bulb and cellphone charger are powered by an AC wire connection, with the relay acting as a switch for the bulb.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with Relè

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of automatic school bell: A project utilizing Relè in a practical application
Arduino UNO Controlled Relay Switch with LCD Interface and RTC Integration
This circuit uses an Arduino UNO to control a relay for powering a gong, with a rocker switch included in the AC power line. It also features an I2C-connected LCD display and real-time clock for potential time-based triggering and display purposes. The actual behavior of the gong and display depends on the implementation of the Arduino code, which is currently not provided.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of Wi-Fi Controlled 4-Channel Relay with Arduino and ESP8266: A project utilizing Relè in a practical application
Wi-Fi Controlled 4-Channel Relay System with Arduino and ESP8266
This circuit is a Wi-Fi controlled 4-channel relay system using an Arduino UNO and an ESP8266 module. The relays can be controlled via a web interface served by the ESP8266, and the status of each relay is displayed on a 16x4 I2C LCD. The relays are used to control four 220V AC red lights, and the Arduino communicates with the ESP8266 via serial communication.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of Capstone: A project utilizing Relè in a practical application
Arduino Mega 2560 Controlled Automation System with 8-Channel Relay and Nextion Touch LCD Interface
This circuit is centered around an Arduino Mega 2560, which controls a Nextion Touch LCD for user interface and a series of relays for switching various loads. The Arduino is powered by a 9V SMPS, and it drives an 8-channel 5V relay module to control devices like pumps, a loudspeaker, actuators, a heating plate, and a plucker. The relays are interfaced with solid-state relays (SSRs) and a thermistor for temperature sensing, enabling controlled power distribution to the connected devices based on programmed logic and user input.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of Hand Gesture Light: A project utilizing Relè in a practical application
WeMos D1 R2 Controlled Relay Switching Circuit for AC Bulb and USB Charger
This circuit uses a WeMos D1 R2 microcontroller to control a 5V 2-relay module, which in turn controls the power to an AC bulb and a cellphone charger. The microcontroller also interfaces with a line tracking sensor, which likely provides input to control the relay states. The AC bulb and cellphone charger are powered by an AC wire connection, with the relay acting as a switch for the bulb.
Cirkit Designer LogoOpen Project in Cirkit Designer

Common Applications and Use Cases

  • Home Automation: Used in smart home systems to control appliances and lighting.
  • Industrial Control Systems: Employed in motor control, safety circuits, and automation processes.
  • Automotive Systems: Found in car electronics for controlling headlights, horns, and other systems.
  • Power Distribution: Used in circuit breakers and power grid systems for switching and protection.
  • Microcontroller Projects: Commonly used with Arduino, Raspberry Pi, and other microcontrollers to control high-power devices.

Technical Specifications

Below are the key technical details for the Siemens relay:

General Specifications

  • Coil Voltage: 5V DC, 12V DC, or 24V DC (depending on the model)
  • Contact Rating: 10A at 250V AC or 10A at 30V DC
  • Contact Configuration: SPDT (Single Pole Double Throw) or DPDT (Double Pole Double Throw)
  • Coil Resistance: Varies by model (e.g., 70Ω for 5V DC coil)
  • Switching Time: Typically 5ms (operate) and 3ms (release)
  • Dielectric Strength: 1000V AC between coil and contacts
  • Insulation Resistance: ≥100MΩ at 500V DC
  • Operating Temperature: -40°C to +85°C

Pin Configuration and Descriptions

The Siemens relay typically has 5 or more pins, depending on the model. Below is the pin configuration for a standard SPDT relay:

Pin Number Name Description
1 Coil (+) Positive terminal of the electromagnetic coil.
2 Coil (-) Negative terminal of the electromagnetic coil.
3 Common (COM) Common terminal connected to the moving contact.
4 Normally Open (NO) Contact that remains open until the relay is activated.
5 Normally Closed (NC) Contact that remains closed until the relay is activated.

For DPDT relays, there will be additional pins for the second set of contacts.

Usage Instructions

How to Use the Relay in a Circuit

  1. Power the Coil: Connect the coil terminals (pins 1 and 2) to a DC power source matching the relay's rated coil voltage (e.g., 5V DC).
  2. Control the Load: Connect the load circuit to the COM, NO, and/or NC terminals:
    • Use the NO terminal if you want the circuit to close only when the relay is activated.
    • Use the NC terminal if you want the circuit to remain closed until the relay is activated.
  3. Driving the Relay: If using a microcontroller (e.g., Arduino), use a transistor or relay driver IC to provide sufficient current to the relay coil.

Important Considerations and Best Practices

  • Diode Protection: Always connect a flyback diode across the coil terminals to protect the circuit from voltage spikes when the relay is deactivated.
  • Power Ratings: Ensure the relay's contact rating matches or exceeds the load's voltage and current requirements.
  • Isolation: Use optocouplers or isolation circuits when controlling the relay with sensitive electronics.
  • Avoid Overheating: Do not exceed the relay's rated coil voltage or contact current to prevent overheating or damage.

Example: Using a Relay with Arduino UNO

Below is an example of how to control a Siemens relay with an Arduino UNO:

// Define the pin connected to the relay module
const int relayPin = 7;

void setup() {
  pinMode(relayPin, OUTPUT); // Set the relay pin as an output
  digitalWrite(relayPin, LOW); // Ensure the relay is off at startup
}

void loop() {
  digitalWrite(relayPin, HIGH); // Activate the relay
  delay(5000); // Keep the relay on for 5 seconds
  digitalWrite(relayPin, LOW); // Deactivate the relay
  delay(5000); // Keep the relay off for 5 seconds
}

Note: Ensure the relay module is connected to the Arduino as follows:

  • Relay module's VCC to Arduino 5V.
  • Relay module's GND to Arduino GND.
  • Relay module's IN to Arduino pin 7.

Troubleshooting and FAQs

Common Issues and Solutions

  1. Relay Not Activating

    • Cause: Insufficient voltage or current to the coil.
    • Solution: Verify the power supply matches the relay's rated coil voltage and current.
  2. Relay Buzzing or Clicking

    • Cause: Unstable power supply or incorrect driving circuit.
    • Solution: Use a stable power source and ensure proper transistor or driver circuit design.
  3. Load Not Switching

    • Cause: Incorrect wiring of the load to the relay terminals.
    • Solution: Double-check the connections to the COM, NO, and NC terminals.
  4. Microcontroller Resetting When Relay Activates

    • Cause: Voltage spikes from the relay coil affecting the microcontroller.
    • Solution: Add a flyback diode across the coil and use a separate power supply for the relay.

FAQs

  • Q: Can I use the relay to switch AC loads?

    • A: Yes, as long as the load's voltage and current are within the relay's contact rating.
  • Q: Do I need a transistor to drive the relay with an Arduino?

    • A: Yes, most relays require more current than an Arduino pin can supply. Use a transistor or relay driver IC.
  • Q: What is the purpose of the flyback diode?

    • A: The flyback diode protects the circuit from voltage spikes generated when the relay coil is de-energized.
  • Q: Can I use the relay in high-frequency switching applications?

    • A: No, relays are not suitable for high-frequency switching due to their mechanical nature. Use solid-state relays or transistors for such applications.