Cirkit Designer LogoCirkit DesignerYour all-in-one circuit design IDE Launch Cirkit Designer App

How to Use RELAY RED: Examples, Pinouts, and Specs

Image of RELAY REDDesign with RELAY RED in Cirkit Designer

Introduction

A relay is an electromechanical switch that uses an electromagnetic coil to open or close contacts, enabling the control of a high-power circuit with a low-power signal. The "RELAY RED" designation may refer to a specific type, color-coded for identification, or a particular rating of the relay. Relays are widely used in applications where electrical isolation, high-power switching, or remote control of circuits is required.

Explore Projects Built with RELAY RED

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 ESP8266 NodeMCU Controlled AC Light with Relay: A project utilizing RELAY RED in a practical application
ESP8266 NodeMCU Controlled AC Light with Relay

This circuit uses an ESP8266 NodeMCU microcontroller to control a 12V single-channel relay, which in turn switches an AC-powered red light on and off. The relay's control input (IN) is connected to a digital output (D1) on the ESP8266, allowing the microcontroller to activate the relay. The relay's normally open (NO) contact is used to complete the circuit for the red light when the relay is energized, and the power for the relay's coil and the microcontroller is supplied by a 5V DC source.

Open Project in Cirkit Designer

Common Applications and Use Cases

Technical Specifications

Key Technical Details

Pin Configuration and Descriptions

The RELAY RED typically has 5 pins, as described in the table below:

Pin Number Name Description
1 Coil (+) Positive terminal of the electromagnetic coil (connect to control voltage)
2 Coil (-) Negative terminal of the electromagnetic coil (connect to ground)
3 Common (COM) Common terminal for the switching contacts
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

Usage Instructions

How to Use the Component in a Circuit

  1. Power the Coil: Connect the coil pins (1 and 2) to a 5V DC power source. Use a transistor or MOSFET to control the coil if using a microcontroller.
  2. Connect the Load:
    • Connect the load to the Common (COM) pin (3).
    • Use the Normally Open (NO) pin (4) if you want the load to turn on when the relay is activated.
    • Use the Normally Closed (NC) pin (5) if you want the load to turn off when the relay is activated.
  3. Control the Relay: Use a low-power control signal (e.g., from an Arduino) to energize the coil and switch the contacts.

Important Considerations and Best Practices

Example: Connecting RELAY RED to an Arduino UNO

Below is an example of how to control the RELAY RED using an Arduino UNO:

// Define the pin connected to the relay control
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(1000); // Keep the relay on for 1 second
  digitalWrite(relayPin, LOW); // Deactivate the relay
  delay(1000); // Keep the relay off for 1 second
}

Note: Use a transistor (e.g., 2N2222) between the Arduino and the relay coil to handle the current required by the relay.

Troubleshooting and FAQs

Common Issues and Solutions

  1. Relay Not Activating:

    • Cause: Insufficient voltage or current to the coil.
    • Solution: Verify the power supply and ensure the control circuit can provide enough current.
  2. Relay Stuck in One State:

    • Cause: Damaged contacts or coil.
    • Solution: Check for physical damage or replace the relay.
  3. Voltage Spikes Damaging the Circuit:

    • Cause: Lack of a flyback diode across the coil.
    • Solution: Add a flyback diode (e.g., 1N4007) across the coil terminals.
  4. Load Not Switching Properly:

    • Cause: Incorrect wiring of the load to the relay contacts.
    • Solution: Double-check the connections to the COM, NO, and NC pins.

FAQs

Q1: Can I use the RELAY RED with a 3.3V microcontroller?
A1: Yes, but you will need a transistor or MOSFET to drive the 5V relay coil from the 3.3V control signal.

Q2: What is the purpose of the flyback diode?
A2: The flyback diode protects the control circuit from voltage spikes generated when the relay coil is de-energized.

Q3: Can the RELAY RED switch both AC and DC loads?
A3: Yes, it can switch AC loads up to 250V and DC loads up to 30V, provided the current does not exceed 10A.

Q4: How do I know if the relay is activated?
A4: Many relays, including the RELAY RED, have a built-in LED indicator that lights up when the relay is activated.