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 switching device 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 IoT projects to control devices such as lights, fans, and motors. It provides electrical isolation between the control circuit and the high-power circuit, ensuring safety and reliability.

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
  • IoT projects for remote device control
  • Motor and pump control
  • Security systems (e.g., activating alarms or locks)

Technical Specifications

Key Technical Details

  • Operating Voltage (Control Side): 5V DC
  • Trigger Voltage: 3.3V to 5V (compatible with most microcontrollers)
  • Relay Type: SPDT (Single Pole Double Throw)
  • Maximum Load (Switching Side):
    • AC: 250V at 10A
    • DC: 30V at 10A
  • Isolation: Optocoupler-based electrical isolation
  • Indicator: LED for relay activation status
  • Dimensions: ~50mm x 26mm x 18mm

Pin Configuration and Descriptions

Control Side (Low Voltage)

Pin Name Description
VCC Connect to 5V DC power supply (e.g., from a microcontroller or external PSU)
GND Ground connection
IN Control signal input (active LOW to trigger the relay)

Switching Side (High Voltage)

Terminal Name Description
COM Common terminal for the relay switch
NO Normally Open terminal (connected to COM when the relay is activated)
NC Normally Closed terminal (connected to COM when the relay is deactivated)

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 DC power source.
    • Connect the GND pin to the ground of the same power source.
  2. Connect the Control Signal:

    • Connect the IN pin to a GPIO pin of your microcontroller (e.g., Arduino UNO).
    • When the GPIO pin outputs a LOW signal, the relay will activate.
  3. Connect the High Voltage Circuit:

    • Identify the device you want to control (e.g., a light bulb).
    • Connect one terminal of the device to the power source.
    • Connect the other terminal to the NO terminal of the relay.
    • Connect the COM terminal of the relay to the power source ground or neutral.
  4. Test the Circuit:

    • When the control signal is LOW, the relay will close the circuit between COM and NO, powering the connected device.
    • When the control signal is HIGH, the relay will open the circuit, turning off the device.

Important Considerations and Best Practices

  • Electrical Isolation: Ensure the low voltage and high voltage sides are properly isolated to avoid damage to the microcontroller.
  • Flyback Diode: If controlling an inductive load (e.g., a motor), use a flyback diode across the load to protect the relay from voltage spikes.
  • Power Supply: Use a stable 5V power supply to avoid erratic relay behavior.
  • Avoid Overloading: Do not exceed the relay's maximum load ratings (10A at 250V AC or 30V DC).

Example: Connecting to an Arduino UNO

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

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

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

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

Troubleshooting and FAQs

Common Issues and Solutions

  1. Relay Not Activating:

    • Cause: Insufficient control signal voltage.
    • Solution: Ensure the control signal voltage is between 3.3V and 5V.
  2. Erratic Relay Behavior:

    • Cause: Unstable power supply or noise in the control signal.
    • Solution: Use a decoupling capacitor (e.g., 100µF) across the VCC and GND pins.
  3. Device Not Turning On/Off:

    • Cause: Incorrect wiring on the high voltage side.
    • Solution: Double-check the connections to the COM, NO, and NC terminals.
  4. Relay Stuck in One State:

    • Cause: Relay contacts damaged due to overloading.
    • Solution: Replace the relay module and ensure the load does not exceed the rated capacity.

FAQs

  • Q: Can I use this relay with a 3.3V microcontroller like the ESP8266?
    A: Yes, the relay can be triggered with a 3.3V control signal, but ensure the VCC pin is powered with 5V.

  • Q: Is the relay safe for controlling AC appliances?
    A: Yes, but ensure proper insulation and follow safety guidelines when working with high voltage.

  • Q: Can I control multiple relays with one microcontroller?
    A: Yes, as long as each relay has its own control pin and the microcontroller can handle the current requirements.

  • Q: What does the LED on the relay module indicate?
    A: The LED lights up when the relay is activated (control signal is LOW).