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

How to Use 4 Channel Relay Module: Examples, Pinouts, and Specs

Image of 4 Channel Relay Module
Cirkit Designer LogoDesign with 4 Channel Relay Module in Cirkit Designer

Introduction

The 4 Channel Relay Module is an electronic component designed to control up to four independent circuits using a single microcontroller or switch. Each relay on the module acts as an electrically operated switch, allowing low-power control signals to manage high-power devices. The module typically features opto-isolated inputs for enhanced safety and reliability, making it suitable for applications involving high voltage or current loads.

Explore Projects Built with 4 Channel Relay Module

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Arduino-Controlled Relay Switch with Pushbutton Activation
Image of 4-Channel Relay Demo: A project utilizing 4 Channel Relay Module in a practical application
This circuit utilizes a 4-channel relay module controlled by an Arduino UNO, allowing for the switching of multiple devices based on input from several pushbuttons. Each pushbutton can activate a corresponding relay channel, which can be used to control various loads, while LEDs provide visual feedback for the relay states.
Cirkit Designer LogoOpen Project in Cirkit Designer
Battery-Powered 4-Channel Relay Control with LED Indicators
Image of RELLAY BOARD TEST: A project utilizing 4 Channel Relay Module 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
DC-DC Converter and Relay Module Power Distribution System
Image of relay: A project utilizing 4 Channel Relay Module in a practical application
This circuit consists of a DC-DC converter powering a 6-channel power module, which in turn supplies 5V to a 2-relay module. The power module distributes the converted voltage to the relay module, enabling it to control external devices.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino UNO Controlled Smart Lighting System with Relay and Micro Switches
Image of sketch: A project utilizing 4 Channel Relay Module in a practical application
This circuit uses an Arduino UNO to control a 4-channel relay module, which in turn controls four bulbs. Each relay channel is connected to a bulb and can be toggled by corresponding micro switches, allowing for manual control of the bulbs.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with 4 Channel Relay Module

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 4-Channel Relay Demo: A project utilizing 4 Channel Relay Module in a practical application
Arduino-Controlled Relay Switch with Pushbutton Activation
This circuit utilizes a 4-channel relay module controlled by an Arduino UNO, allowing for the switching of multiple devices based on input from several pushbuttons. Each pushbutton can activate a corresponding relay channel, which can be used to control various loads, while LEDs provide visual feedback for the relay states.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of RELLAY BOARD TEST: A project utilizing 4 Channel Relay Module 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 relay: A project utilizing 4 Channel Relay Module in a practical application
DC-DC Converter and Relay Module Power Distribution System
This circuit consists of a DC-DC converter powering a 6-channel power module, which in turn supplies 5V to a 2-relay module. The power module distributes the converted voltage to the relay module, enabling it to control external devices.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of sketch: A project utilizing 4 Channel Relay Module in a practical application
Arduino UNO Controlled Smart Lighting System with Relay and Micro Switches
This circuit uses an Arduino UNO to control a 4-channel relay module, which in turn controls four bulbs. Each relay channel is connected to a bulb and can be toggled by corresponding micro switches, allowing for manual control of the bulbs.
Cirkit Designer LogoOpen Project in Cirkit Designer

Common Applications and Use Cases

  • Home automation systems (e.g., controlling lights, fans, or appliances)
  • Industrial automation and control
  • Robotics and IoT projects
  • Switching high-power devices such as motors, pumps, or heaters
  • Smart home projects integrated with microcontrollers like Arduino or Raspberry Pi

Technical Specifications

Below are the key technical details of the 4 Channel Relay Module:

General Specifications

  • Operating Voltage: 5V DC
  • Trigger Voltage: 3.3V to 5V (compatible with most microcontrollers)
  • Relay Type: SPDT (Single Pole Double Throw)
  • Maximum Load:
    • AC: 250V at 10A
    • DC: 30V at 10A
  • Opto-Isolation: Yes (for input signal protection)
  • Dimensions: Approximately 75mm x 55mm x 20mm
  • Weight: ~60g

Pin Configuration and Descriptions

The module has two main interfaces: the input control pins and the relay output terminals.

Input Control Pins

Pin Name Description
VCC Connect to the 5V power supply of the microcontroller.
GND Connect to the ground of the microcontroller.
IN1 Control signal for Relay 1 (active LOW).
IN2 Control signal for Relay 2 (active LOW).
IN3 Control signal for Relay 3 (active LOW).
IN4 Control signal for Relay 4 (active LOW).

Relay Output Terminals

Each relay has three terminals: COM (Common), NO (Normally Open), and NC (Normally Closed).

Terminal Description
COM Common terminal for the relay. Connect to the power source or load.
NO Normally Open terminal. Circuit is open when the relay is inactive.
NC Normally Closed terminal. Circuit is closed when the relay is inactive.

Usage Instructions

How to Use the 4 Channel Relay Module in a Circuit

  1. Power the Module: Connect the VCC pin to a 5V power supply and the GND pin to the ground.
  2. Connect the Control Signals: Use the IN1, IN2, IN3, and IN4 pins to control the relays. These pins can be connected to GPIO pins of a microcontroller (e.g., Arduino).
  3. Connect the Load:
    • For each relay, connect the load to the COM and NO terminals if you want the circuit to be normally open.
    • Alternatively, connect the load to the COM and NC terminals if you want the circuit to be normally closed.
  4. Trigger the Relays: Send a LOW signal (0V) to the respective IN pin to activate the relay and switch the connected load.

Important Considerations and Best Practices

  • Opto-Isolation: Ensure the module's opto-isolated inputs are used correctly to protect the microcontroller from high voltage spikes.
  • Power Supply: Use a stable 5V power supply to avoid erratic relay behavior.
  • Load Ratings: Do not exceed the maximum load ratings (250V AC/10A or 30V DC/10A) to prevent damage to the relays.
  • Active LOW Logic: The relays are triggered by a LOW signal. Ensure your microcontroller logic accounts for this.

Example: Connecting to an Arduino UNO

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

Circuit Connections

  • Connect the module's VCC to the Arduino's 5V pin.
  • Connect the module's GND to the Arduino's GND pin.
  • Connect IN1, IN2, IN3, and IN4 to Arduino digital pins 7, 6, 5, and 4, respectively.
  • Connect a load (e.g., a light bulb) to the COM and NO terminals of Relay 1.

Arduino Code

// Define relay control pins
#define RELAY1 7  // Pin connected to IN1
#define RELAY2 6  // Pin connected to IN2
#define RELAY3 5  // Pin connected to IN3
#define RELAY4 4  // Pin connected to IN4

void setup() {
  // Set relay pins as outputs
  pinMode(RELAY1, OUTPUT);
  pinMode(RELAY2, OUTPUT);
  pinMode(RELAY3, OUTPUT);
  pinMode(RELAY4, OUTPUT);

  // Initialize all relays to OFF (HIGH state)
  digitalWrite(RELAY1, HIGH);
  digitalWrite(RELAY2, HIGH);
  digitalWrite(RELAY3, HIGH);
  digitalWrite(RELAY4, HIGH);
}

void loop() {
  // Example: Turn on Relay 1 for 2 seconds, then turn it off
  digitalWrite(RELAY1, LOW);  // Activate Relay 1
  delay(2000);                // Wait for 2 seconds
  digitalWrite(RELAY1, HIGH); // Deactivate Relay 1
  delay(2000);                // Wait for 2 seconds
}

Troubleshooting and FAQs

Common Issues and Solutions

  1. Relays Not Activating

    • Cause: Insufficient power supply.
    • Solution: Ensure the module is powered with a stable 5V DC supply.
  2. Erratic Relay Behavior

    • Cause: Electrical noise or unstable control signals.
    • Solution: Use proper decoupling capacitors and ensure clean signal connections.
  3. Microcontroller Resetting When Relays Activate

    • Cause: Voltage spikes or insufficient power supply.
    • Solution: Use a separate power supply for the relay module and microcontroller.
  4. Load Not Switching

    • Cause: Incorrect wiring of the load to the relay terminals.
    • Solution: Verify the load is connected to the correct COM and NO/NC terminals.

FAQs

  • Q: Can I use the module with a 3.3V microcontroller like ESP32?
    A: Yes, the module's trigger voltage is compatible with 3.3V logic levels.

  • Q: Is it safe to control high voltage devices with this module?
    A: Yes, but ensure proper insulation and follow safety guidelines when working with high voltage.

  • Q: Can I control all four relays simultaneously?
    A: Yes, as long as the total current draw does not exceed the power supply's capacity.

  • Q: What is the purpose of opto-isolation?
    A: Opto-isolation protects the microcontroller from high voltage spikes and electrical noise.