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 module 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
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

Pin Configuration

The 1 Channel Relay 5V module typically has the following pins:

Pin Name Description
VCC Power supply input (5V DC)
GND Ground connection
IN Control signal input (connect to microcontroller GPIO pin)
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 not activated)

Usage Instructions

Connecting the Relay to a Circuit

  1. Power the Relay Module: Connect the VCC pin to a 5V power source and the GND pin to ground.
  2. Control Signal: Connect the IN pin to a GPIO pin of your microcontroller (e.g., Arduino).
  3. Load Connection:
    • Connect the device you want to control (e.g., a light bulb) to the COM and NO terminals if you want the device to turn on when the relay is activated.
    • Use the COM and NC terminals if you want the device to turn off when the relay is activated.
  4. Microcontroller Setup: Program your microcontroller to send a HIGH or LOW signal to the IN pin to activate or deactivate the relay.

Important Considerations

  • Isolation: The relay module uses an optocoupler for isolation, ensuring that the high-voltage circuit is electrically isolated from the low-voltage control circuit.
  • Power Supply: Ensure the relay module is powered with a stable 5V DC supply.
  • Load Ratings: Do not exceed the maximum load voltage (250V AC / 30V DC) or current (10A) to avoid damage.
  • 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.

Example: Using the Relay with Arduino UNO

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

// Define the pin connected to the relay module
const int relayPin = 7; // Connect the IN pin of the relay to Arduino pin 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() {
  // Turn the relay ON
  digitalWrite(relayPin, HIGH); // Send a HIGH signal to activate the relay
  delay(5000); // Keep the relay ON for 5 seconds

  // Turn the relay OFF
  digitalWrite(relayPin, LOW); // Send a LOW signal to deactivate the relay
  delay(5000); // Keep the relay OFF for 5 seconds
}

Notes:

  • Replace relayPin with the GPIO pin you are using if different from pin 7.
  • Ensure the Arduino is powered properly and shares a common ground with the relay module.

Troubleshooting and FAQs

Common Issues

  1. Relay Not Activating:

    • Ensure the VCC and GND pins are connected properly to a 5V power source.
    • Verify that the control signal voltage (on the IN pin) is within the acceptable range (3.3V to 5V).
    • Check for loose or incorrect wiring.
  2. Load Not Switching:

    • Confirm that the load is connected to the correct terminals (COM, NO, or NC).
    • Ensure the load does not exceed the relay's maximum voltage or current ratings.
    • Check the external power supply for the load.
  3. Relay Clicking but No Output:

    • Verify the wiring of the high-voltage circuit.
    • Inspect the relay module for physical damage or burnt components.

FAQs

Q: Can I use the relay module with a 3.3V microcontroller like ESP8266 or ESP32?
A: Yes, the relay module can be triggered with a 3.3V control signal. However, ensure the VCC pin is still powered with 5V.

Q: Is the relay safe for switching high-power devices?
A: Yes, as long as the device's voltage and current ratings are within the relay's specifications (250V AC / 30V DC, 10A max).

Q: Why is an optocoupler used in the relay module?
A: The optocoupler provides electrical isolation between the low-voltage control circuit and the high-voltage load circuit, enhancing safety and protecting the microcontroller.

Q: Can I control multiple relays with one microcontroller?
A: Yes, you can control multiple relay modules by connecting each IN pin to a separate GPIO pin on the microcontroller. Ensure the microcontroller can handle the total current draw of all connected relays.

By following this documentation, you can effectively use the 1 Channel Relay 5V module in your projects for safe and reliable control of high-voltage devices.