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

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

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

Introduction

The 1 Channel Relay 5V is an electromechanical switch that allows a low voltage control signal (e.g., from a microcontroller) to control a higher voltage circuit. This module is widely used in automation, home appliances, and control systems to switch devices such as lights, fans, motors, or other high-power loads. It operates at 5V, making it compatible with most microcontrollers, including Arduino and Raspberry Pi.

Explore Projects Built with 1 Channel Relay 5V

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Battery-Powered 4-Channel Relay Control with LED Indicators
Image of RELLAY BOARD TEST: A project utilizing 1 Channel Relay 5V in a practical application
This circuit consists of a 5V battery powering a 4-channel relay module, which controls four LEDs (red, yellow, green, and blue) through individual resistors. Each relay channel is activated by a corresponding SPST toggle switch, allowing manual control of the LEDs.
Cirkit Designer LogoOpen Project in Cirkit Designer
ESP32 Wi-Fi Controlled Relay Switch
Image of nyoba: A project utilizing 1 Channel Relay 5V in a practical application
This circuit uses an ESP32 microcontroller to control a 1-channel 5V relay. The ESP32 toggles the relay on and off every 5 seconds, allowing it to control an external device connected to the relay's output.
Cirkit Designer LogoOpen Project in Cirkit Designer
Battery-Powered IR Sensor Controlled Relay Module
Image of New: A project utilizing 1 Channel Relay 5V 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 Wi-Fi Controlled Dual Relay Module
Image of esp: A project utilizing 1 Channel Relay 5V in a practical application
This circuit features an ESP32 microcontroller connected to a two-channel 5V relay module. The ESP32 controls the relay channels via its GPIO pins D23 and D22, allowing it to switch external devices on and off. The relay module is powered by the 3.3V and GND pins of the ESP32.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with 1 Channel Relay 5V

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 RELLAY BOARD TEST: A project utilizing 1 Channel Relay 5V in a practical application
Battery-Powered 4-Channel Relay Control with LED Indicators
This circuit consists of a 5V battery powering a 4-channel relay module, which controls four LEDs (red, yellow, green, and blue) through individual resistors. Each relay channel is activated by a corresponding SPST toggle switch, allowing manual control of the LEDs.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of nyoba: A project utilizing 1 Channel Relay 5V in a practical application
ESP32 Wi-Fi Controlled Relay Switch
This circuit uses an ESP32 microcontroller to control a 1-channel 5V relay. The ESP32 toggles the relay on and off every 5 seconds, allowing it to control an external device connected to the relay's output.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of New: A project utilizing 1 Channel Relay 5V 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 esp: A project utilizing 1 Channel Relay 5V in a practical application
ESP32 Wi-Fi Controlled Dual Relay Module
This circuit features an ESP32 microcontroller connected to a two-channel 5V relay module. The ESP32 controls the relay channels via its GPIO pins D23 and D22, allowing it to switch external devices on and off. The relay module is powered by the 3.3V and GND pins of the ESP32.
Cirkit Designer LogoOpen Project in Cirkit Designer

Common Applications

  • Home automation systems (e.g., controlling lights or appliances)
  • Industrial control systems
  • Motor control
  • IoT projects
  • Security systems (e.g., activating alarms or locks)

Technical Specifications

Below are the key technical details of the 1 Channel Relay 5V module:

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 for signal isolation
Dimensions ~50mm x 26mm x 18mm
Weight ~15g

Pin Configuration

The 1 Channel Relay 5V module has the following pinout:

Input Pins (Control Side)

Pin Name Description
1 VCC Connect to 5V power supply (e.g., from Arduino or external source).
2 GND Ground connection.
3 IN Control signal input. A HIGH signal activates the relay, and a LOW signal deactivates it.

Output Pins (Load Side)

Pin Name Description
1 COM Common terminal. Connect to one side of the load or power source.
2 NO Normally Open terminal. Connect to the load if you want it to be OFF by default.
3 NC Normally Closed terminal. Connect to the load if you want it to be ON by default.

Usage Instructions

How to Use the 1 Channel Relay 5V in a Circuit

  1. Power the Relay Module: Connect the VCC pin to a 5V power source and the GND pin to ground.
  2. Connect the Control Signal: Connect the IN pin to a digital output pin of your microcontroller (e.g., Arduino).
  3. Connect the Load:
    • Identify whether you want the load to be normally ON or OFF.
    • For a normally OFF configuration, connect the load between the NO (Normally Open) terminal and COM (Common) terminal.
    • For a normally ON configuration, connect the load between the NC (Normally Closed) terminal and COM terminal.
  4. Control the Relay: Send a HIGH signal (5V) to the IN pin to activate the relay and switch the load. Send a LOW signal (0V) to deactivate the relay.

Important Considerations

  • Isolation: The relay module uses an optocoupler for isolation, ensuring that the control circuit is protected from high voltages on the load side.
  • Power Supply: Ensure that the power supply for the relay module can provide sufficient current (typically ~70mA when the relay is active).
  • Flyback Diode: If you're controlling an inductive load (e.g., a motor), use a flyback diode across the load to protect the relay from voltage spikes.
  • Avoid Overloading: Do not exceed the maximum voltage (250V AC / 30V DC) or current (10A) ratings of the relay.

Example: Connecting to an Arduino UNO

Below is an example of how to connect and control the 1 Channel Relay 5V module using an Arduino UNO:

Circuit Connections

  • Relay Module:
    • VCC → 5V pin on Arduino
    • GND → GND pin on Arduino
    • IN → Digital pin 7 on Arduino
  • Load:
    • Connect one side of the load to the NO terminal.
    • Connect the other side of the load to the power source.
    • Connect the COM terminal to the power source ground.

Arduino Code

// Define the relay control pin
const int relayPin = 7;

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

void loop() {
  // Turn the relay ON
  digitalWrite(relayPin, HIGH);
  delay(5000); // Keep the relay ON for 5 seconds
  
  // Turn the relay OFF
  digitalWrite(relayPin, LOW);
  delay(5000); // Keep the relay OFF for 5 seconds
}

Best Practices

  • Use a separate power supply for the relay module if your microcontroller cannot provide sufficient current.
  • Avoid switching high-power loads frequently to extend the relay's lifespan.
  • Ensure proper insulation and safety precautions when working with high voltages.

Troubleshooting and FAQs

Common Issues and Solutions

  1. Relay Not Activating:

    • Cause: Insufficient voltage or current to the relay module.
    • Solution: Verify that the VCC pin is receiving 5V and the IN pin is receiving a HIGH signal (3.3V to 5V).
  2. Load Not Switching:

    • Cause: Incorrect wiring of the load terminals (COM, NO, NC).
    • Solution: Double-check the wiring and ensure the load is connected to the correct terminals.
  3. Relay Stuck in ON or OFF State:

    • Cause: Damaged relay due to overloading or voltage spikes.
    • Solution: Replace the relay module and ensure the load does not exceed the rated voltage/current.
  4. Microcontroller Resets When Relay Activates:

    • Cause: Voltage drop due to high current draw from the relay.
    • Solution: Use a separate power supply for the relay module or add a capacitor across the microcontroller's power supply.

FAQs

Q1: Can I use the 1 Channel Relay 5V with a 3.3V microcontroller?
A1: Yes, the relay module can be triggered with a 3.3V control signal, but ensure the VCC pin is powered with 5V.

Q2: Can this relay module switch DC loads?
A2: Yes, it can switch DC loads up to 30V and 10A.

Q3: Is the relay module safe for high-voltage applications?
A3: Yes, but ensure proper insulation and safety precautions when working with voltages up to 250V AC.

Q4: Can I control multiple relays with one microcontroller?
A4: Yes, as long as each relay is connected to a separate digital output pin and the microcontroller can handle the total current draw.