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

How to Use Relay 1 Channel: Examples, Pinouts, and Specs

Image of Relay 1 Channel
Cirkit Designer LogoDesign with Relay 1 Channel in Cirkit Designer

Introduction

The Relay 1 Channel (Manufacturer Part ID: MEGA) is an electromagnetic switch designed to control a single circuit. Manufactured by Arduino, this relay allows users to open or close a circuit using a low-power input signal, making it ideal for interfacing low-power control systems with high-power devices. It is widely used in applications requiring electrical isolation and control, such as home automation, industrial systems, and IoT projects.

Explore Projects Built with Relay 1 Channel

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
DC Motor Control Using 1-Channel Relay and DC Power Source
Image of h: A project utilizing Relay 1 Channel in a practical application
This circuit controls a DC motor using a 1-channel relay. The relay is powered by a DC power source, and it switches the motor on and off by connecting or disconnecting the motor's power supply.
Cirkit Designer LogoOpen Project in Cirkit Designer
Battery-Powered IR Sensor Controlled Relay Module
Image of New: A project utilizing Relay 1 Channel in a practical application
This circuit uses an IR sensor to control a 1 Channel 5V Relay Module, which is powered by a 9V battery. The IR sensor detects an object and sends a signal to the relay module to switch its state, enabling or disabling the connected load.
Cirkit Designer LogoOpen Project in Cirkit Designer
ESP32-Controlled 4-Channel Relay Module
Image of wifi esp32: A project utilizing Relay 1 Channel in a practical application
This circuit connects an ESP32 microcontroller to a 4-channel 5V relay module. The ESP32's digital pins (D19, D21, D22, D23) are used to control the relay channels (IN1, IN2, IN3, IN4) respectively. The circuit is designed to allow the ESP32 to switch external devices on and off via the relay module.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino Relay-Controlled LED Circuit
Image of Relay Simulation Demo: A project utilizing Relay 1 Channel in a practical application
This circuit utilizes an Arduino UNO to control a 1 Channel 5V Relay Module, which in turn can switch a load on and off. The relay is activated by a digital signal from the Arduino on pin D2, and an LED is connected to indicate the relay's status, with a resistor limiting the current to the LED.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with Relay 1 Channel

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 h: A project utilizing Relay 1 Channel in a practical application
DC Motor Control Using 1-Channel Relay and DC Power Source
This circuit controls a DC motor using a 1-channel relay. The relay is powered by a DC power source, and it switches the motor on and off by connecting or disconnecting the motor's power supply.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of New: A project utilizing Relay 1 Channel in a practical application
Battery-Powered IR Sensor Controlled Relay Module
This circuit uses an IR sensor to control a 1 Channel 5V Relay Module, which is powered by a 9V battery. The IR sensor detects an object and sends a signal to the relay module to switch its state, enabling or disabling the connected load.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of wifi esp32: A project utilizing Relay 1 Channel in a practical application
ESP32-Controlled 4-Channel Relay Module
This circuit connects an ESP32 microcontroller to a 4-channel 5V relay module. The ESP32's digital pins (D19, D21, D22, D23) are used to control the relay channels (IN1, IN2, IN3, IN4) respectively. The circuit is designed to allow the ESP32 to switch external devices on and off via the relay module.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of Relay Simulation Demo: A project utilizing Relay 1 Channel in a practical application
Arduino Relay-Controlled LED Circuit
This circuit utilizes an Arduino UNO to control a 1 Channel 5V Relay Module, which in turn can switch a load on and off. The relay is activated by a digital signal from the Arduino on pin D2, and an LED is connected to indicate the relay's status, with a resistor limiting the current to the LED.
Cirkit Designer LogoOpen Project in Cirkit Designer

Common Applications:

  • Home automation (e.g., controlling lights, fans, or appliances)
  • Industrial equipment control
  • IoT systems for remote device management
  • Motor and pump control
  • Security systems (e.g., activating alarms or locks)

Technical Specifications

The Relay 1 Channel is designed to handle a variety of loads while maintaining electrical isolation between the control and load circuits. Below are its key specifications:

Parameter Value
Operating Voltage 5V DC
Trigger Voltage 3.3V to 5V DC
Maximum Load Voltage 250V AC / 30V DC
Maximum Load Current 10A
Relay Type SPDT (Single Pole Double Throw)
Isolation Optocoupler-based isolation
Dimensions 50mm x 26mm x 18mm
Weight ~20g

Pin Configuration and Descriptions

The Relay 1 Channel module has a simple pinout for easy integration into circuits:

Input Pins:

Pin Name Description
VCC Connect to the 5V power supply.
GND Connect to the ground of the power supply.
IN Control signal input. A HIGH signal activates the relay, while LOW deactivates.

Output Terminals:

Terminal Name Description
COM Common terminal. Connect to one side of the load.
NO Normally Open terminal. Connect to the other side of the load for default OFF.
NC Normally Closed terminal. Connect to the other side of the load for default ON.

Usage Instructions

How to Use the Relay in a Circuit

  1. Power the Relay Module: Connect the VCC pin to a 5V DC power source and the GND pin to ground.
  2. Connect the Control Signal: Attach the IN pin to a microcontroller (e.g., Arduino UNO) or any other control circuit capable of providing a 3.3V to 5V signal.
  3. Connect the Load:
    • For devices that should remain OFF by default, connect the load between the COM and NO terminals.
    • For devices that should remain ON by default, connect the load between the COM and NC terminals.
  4. Activate the Relay: Send a HIGH signal to the IN pin to activate the relay and switch the load circuit.

Important Considerations:

  • Electrical Isolation: The relay provides isolation between the control and load circuits, ensuring safety when controlling high-power devices.
  • Flyback Diode: If controlling an inductive load (e.g., motors), use a flyback diode across the load to protect the relay from voltage spikes.
  • Power Supply: Ensure the power supply can handle the relay's current requirements and the load's power demands.
  • Signal Voltage: Verify that the control signal voltage matches the relay's trigger voltage range (3.3V to 5V).

Example: Connecting to an Arduino UNO

Below is an example of how to control the Relay 1 Channel using an Arduino UNO:

Circuit Connections:

  • Connect the relay's VCC pin to the Arduino's 5V pin.
  • Connect the relay's GND pin to the Arduino's GND pin.
  • Connect the relay's IN pin to Arduino digital pin 7.
  • Connect a load (e.g., a light bulb) to the COM and NO terminals of the relay.

Arduino Code:

// Define the relay control pin
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); // Turn the relay ON
  delay(5000); // Keep the relay ON for 5 seconds
  digitalWrite(relayPin, LOW); // Turn the relay OFF
  delay(5000); // Keep the relay OFF for 5 seconds
}

Notes:

  • Replace delay(5000) with your desired timing for relay activation.
  • Ensure the load connected to the relay does not exceed its maximum voltage or current ratings.

Troubleshooting and FAQs

Common Issues and Solutions:

  1. Relay Not Activating:

    • Cause: Insufficient control signal voltage.
    • Solution: Verify that the IN pin receives a signal between 3.3V and 5V.
  2. Load Not Switching:

    • Cause: Incorrect wiring of the load terminals.
    • Solution: Double-check the connections to the COM, NO, and NC terminals.
  3. Relay Clicking but No Output:

    • Cause: Faulty or disconnected load.
    • Solution: Test the load separately to ensure it is functional.
  4. Overheating:

    • Cause: Exceeding the relay's current or voltage ratings.
    • Solution: Ensure the load does not exceed 10A or 250V AC / 30V DC.

FAQs:

  • Q: Can I use the relay with a 3.3V microcontroller?
    A: Yes, the relay can be triggered with a 3.3V signal, but ensure the power supply to the relay module is 5V.

  • Q: Is the relay suitable for DC loads?
    A: Yes, the relay can handle DC loads up to 30V and 10A.

  • Q: Can I control multiple relays with one Arduino?
    A: Yes, as long as each relay is connected to a separate digital pin and the Arduino can supply sufficient current.

  • Q: Do I need an external transistor to drive the relay?
    A: No, the Relay 1 Channel module includes an onboard transistor for driving the relay.

By following this documentation, you can effectively integrate the Relay 1 Channel into your projects for safe and reliable control of high-power devices.