Cirkit Designer LogoCirkit DesignerYour all-in-one circuit design IDE Launch Cirkit Designer App

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

Image of 4 Channel Relay ModuleDesign 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 low voltage signals. It acts as an interface between low-power control systems, such as microcontrollers or single-board computers, and high-power devices like lights, motors, or appliances. The module uses electromagnetic relays to safely switch high voltage or high current loads without directly exposing the control system to these potentially dangerous levels.

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!

Common Applications and Use Cases

Technical Specifications

The 4 Channel Relay Module is designed to work with a variety of control systems and power loads. Below are its key technical details:

General Specifications

Pin Configuration and Descriptions

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

Control 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)

Relay Output Terminals

Each relay has three output terminals: | Terminal | Description | |--------------|------------------------------------------------------| | NO (Normally Open) | Open circuit when the relay is inactive; closes when active | | COM (Common) | Common terminal for the relay | | NC (Normally Closed)| Closed circuit when the relay is inactive; opens when active |

Usage Instructions

How to Use the 4 Channel Relay Module in a Circuit

  1. Power the Module:

    • Connect the VCC pin to a 5V DC power source.
    • Connect the GND pin to the ground of your control system.
  2. Connect the Control Signals:

    • Connect the IN1, IN2, IN3, and IN4 pins to the digital output pins of your microcontroller or control system.
    • Ensure the control signals are active LOW (i.e., sending a LOW signal activates the relay).
  3. Connect the Load:

    • For each relay, connect the load to the NO or NC terminal and the COM terminal, depending on whether you want the load to be normally off or normally on.
  4. Test the Circuit:

    • Activate the control signals to switch the relays and verify that the connected loads respond as expected.

Important Considerations and Best Practices

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

Arduino Code

// Define the relay control pins
#define RELAY1 7  // Relay 1 connected to pin 7
#define RELAY2 6  // Relay 2 connected to pin 6
#define RELAY3 5  // Relay 3 connected to pin 5
#define RELAY4 4  // Relay 4 connected to pin 4

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 relays ON and OFF with a delay
  digitalWrite(RELAY1, LOW);  // Turn Relay 1 ON
  delay(1000);                // Wait for 1 second
  digitalWrite(RELAY1, HIGH); // Turn Relay 1 OFF
  delay(1000);                // Wait for 1 second

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

  // Repeat for Relay 3 and Relay 4
}

Troubleshooting and FAQs

Common Issues and Solutions

  1. Relays Not Activating:

    • Cause: Insufficient power supply or incorrect wiring.
    • Solution: Ensure the module is powered with 5V DC and all connections are secure.
  2. Load Not Switching:

    • Cause: Incorrect wiring of the load to the relay terminals.
    • Solution: Verify that the load is connected to the correct NO/NC and COM terminals.
  3. Control Signals Not Working:

    • Cause: Incorrect logic level or faulty microcontroller pins.
    • Solution: Ensure the control signals are active LOW and test the microcontroller outputs.
  4. Module Overheating:

    • Cause: Exceeding the maximum load ratings.
    • Solution: Reduce the load or use an external relay for high-power applications.

FAQs