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 multiple high-voltage devices using low-voltage signals. It features four independent relays, each capable of switching AC or DC loads. This module is widely used in home automation, industrial control systems, and IoT projects, where it enables safe and efficient control of high-power devices such as lights, fans, motors, and appliances.

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!
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
Wi-Fi Controlled Relay System Using ESP8266
Image of Smart House Automation: A project utilizing 4 Channel Relay Module in a practical application
This circuit uses an ESP8266 microcontroller to control a 4-channel relay module, which can switch various loads. The ESP8266 is powered by a 12V DC supply converted from an AC source, and it interfaces with the relay module to control the relays via its digital output pins.
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 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
Image of Smart House Automation: A project utilizing 4 Channel Relay Module in a practical application
Wi-Fi Controlled Relay System Using ESP8266
This circuit uses an ESP8266 microcontroller to control a 4-channel relay module, which can switch various loads. The ESP8266 is powered by a 12V DC supply converted from an AC source, and it interfaces with the relay module to control the relays via its digital output pins.
Cirkit Designer LogoOpen Project in Cirkit Designer

Common Applications and Use Cases

  • Home automation systems (e.g., controlling lights or appliances remotely)
  • Industrial equipment control
  • IoT projects for smart device integration
  • Robotics and automation
  • Prototyping and testing circuits with high-power loads

Technical Specifications

Key Technical Details

  • 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
  • Isolation: Optocoupler isolation for safe operation
  • Indicator LEDs: One LED per relay to indicate activation
  • Dimensions: Approximately 75mm x 55mm x 20mm

Pin Configuration and Descriptions

The 4 Channel Relay Module has two main sections: the input pins for control signals and the output terminals for connecting the load.

Input Pins

Pin Name Description
VCC Power supply input (5V DC).
GND Ground connection.
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).

Output Terminals (for each relay)

Terminal Description
COM Common terminal for the relay.
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 Component in a Circuit

  1. Power the Module: Connect the VCC pin to a 5V DC power source and the GND pin to ground.
  2. Connect Control Signals: Use a microcontroller (e.g., Arduino UNO) to send control signals to the IN1, IN2, IN3, and IN4 pins. A LOW signal activates the corresponding relay.
  3. Connect the Load:
    • Identify the device you want to control (e.g., a light bulb or motor).
    • Connect one terminal of the device to the relay's COM terminal.
    • Connect the other terminal to either the NO or NC terminal, depending on whether you want the device to be ON or OFF by default.
  4. Test the Circuit: Power the module and send control signals to verify the relays switch as expected.

Important Considerations and Best Practices

  • Isolation: Ensure proper electrical isolation between the low-voltage control side and the high-voltage load side to prevent damage or hazards.
  • Power Supply: Use a stable 5V DC power source to avoid erratic relay behavior.
  • Load Ratings: Do not exceed the maximum load ratings of the relays (250V AC/10A or 30V DC/10A).
  • Active LOW Logic: Remember that the relays are activated by a LOW signal on the input pins.
  • Heat Dissipation: If switching high-power loads, ensure adequate ventilation to prevent overheating.

Example Code for Arduino UNO

// Example code to control a 4 Channel Relay Module with an Arduino UNO

// Define the relay control pins
#define RELAY1 2  // Pin connected to IN1
#define RELAY2 3  // Pin connected to IN2
#define RELAY3 4  // Pin connected to IN3
#define RELAY4 5  // 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 sequence to toggle relays ON and OFF
  digitalWrite(RELAY1, LOW);  // Turn ON Relay 1
  delay(1000);                // Wait for 1 second
  digitalWrite(RELAY1, HIGH); // Turn OFF Relay 1
  delay(1000);                // Wait for 1 second

  digitalWrite(RELAY2, LOW);  // Turn ON Relay 2
  delay(1000);                // Wait for 1 second
  digitalWrite(RELAY2, HIGH); // Turn OFF Relay 2
  delay(1000);                // Wait for 1 second

  digitalWrite(RELAY3, LOW);  // Turn ON Relay 3
  delay(1000);                // Wait for 1 second
  digitalWrite(RELAY3, HIGH); // Turn OFF Relay 3
  delay(1000);                // Wait for 1 second

  digitalWrite(RELAY4, LOW);  // Turn ON Relay 4
  delay(1000);                // Wait for 1 second
  digitalWrite(RELAY4, HIGH); // Turn OFF Relay 4
  delay(1000);                // Wait for 1 second
}

Troubleshooting and FAQs

Common Issues and Solutions

  1. Relays Not Activating:

    • Ensure the module is powered with a stable 5V DC supply.
    • Verify that the control signals are correctly connected and configured as active LOW.
    • Check for loose or incorrect wiring.
  2. Erratic Relay Behavior:

    • Use a decoupling capacitor near the VCC and GND pins to stabilize the power supply.
    • Ensure the microcontroller's ground is connected to the module's ground.
  3. Load Not Switching:

    • Confirm that the load is connected to the correct relay terminals (COM, NO, or NC).
    • Verify that the load does not exceed the relay's maximum ratings.
  4. Overheating:

    • Avoid switching loads near the relay's maximum current rating for extended periods.
    • Provide adequate ventilation or cooling if necessary.

FAQs

Q: Can I use this module with a 3.3V microcontroller like the ESP8266?
A: Yes, the module is compatible with 3.3V control signals, but ensure the relays are powered with 5V.

Q: Is it safe to switch high-voltage AC loads with this module?
A: Yes, but ensure proper insulation and follow safety guidelines when working with high-voltage circuits.

Q: Can I control all four relays simultaneously?
A: Yes, you can activate all four relays at the same time, provided the power supply can handle the current draw.