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

How to Use 6 channel relay module: Examples, Pinouts, and Specs

Image of 6 channel relay moduleDesign with 6 channel relay module in Cirkit Designer

Introduction

The 6 channel relay module is an electronic component designed to control multiple high-voltage devices using low-voltage signals. Each of the six relays on the module acts as an electrically operated switch, allowing you to control high-power devices such as lights, fans, motors, and appliances with ease. This module is widely used in home automation, industrial control systems, and IoT projects.

Explore Projects Built with 6 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

Key Technical Details

Pin Configuration and Descriptions

The 6 channel relay module has two main sections: the control pins and the load terminals.

Control Pins

Pin Name Description
VCC Power supply for the module (5V DC).
GND Ground connection.
IN1 to IN6 Control pins for each relay. A LOW signal activates the corresponding relay.

Load Terminals (for each relay)

Terminal Description
COM Common terminal for the relay.
NO Normally Open terminal. Connect here if the device should be OFF by default.
NC Normally Closed terminal. Connect here if the device should be ON by default.

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 the Control Pins: Connect the IN1 to IN6 pins to the digital output pins of a microcontroller (e.g., Arduino, Raspberry Pi).
  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 the device should be OFF or ON by default.
    • Ensure the load's power source is properly connected to the relay circuit.
  4. Control the Relays: Send a LOW signal (0V) to the corresponding IN pin to activate the relay and switch the load.

Important Considerations and Best Practices

Example: Connecting to an Arduino UNO

Below is an example of how to control the 6 channel relay module using an Arduino UNO.

Circuit Connections

Arduino Code

// Example code to control a 6 channel relay module with Arduino UNO

// Define the relay control pins
#define RELAY1 2
#define RELAY2 3
#define RELAY3 4
#define RELAY4 5
#define RELAY5 6
#define RELAY6 7

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

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

void loop() {
  // Example: Turn relays ON and OFF sequentially
  digitalWrite(RELAY1, LOW); // LOW = relay ON
  delay(1000);               // Wait 1 second
  digitalWrite(RELAY1, HIGH);

  digitalWrite(RELAY2, LOW);
  delay(1000);
  digitalWrite(RELAY2, HIGH);

  digitalWrite(RELAY3, LOW);
  delay(1000);
  digitalWrite(RELAY3, HIGH);

  digitalWrite(RELAY4, LOW);
  delay(1000);
  digitalWrite(RELAY4, HIGH);

  digitalWrite(RELAY5, LOW);
  delay(1000);
  digitalWrite(RELAY5, HIGH);

  digitalWrite(RELAY6, LOW);
  delay(1000);
  digitalWrite(RELAY6, HIGH);
}

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 from the microcontroller are within the 3.3V to 5V range.
    • Check the wiring connections for loose or incorrect connections.
  2. Erratic Relay Behavior:

    • Use a separate power supply for the relay module if the microcontroller's power source is insufficient.
    • Ensure proper grounding between the relay module and the microcontroller.
  3. Load Not Switching:

    • Verify that the load is connected to the correct relay terminals (COM and NO/NC).
    • Check the load's power source and ensure it is properly connected.
  4. LED Indicators Not Working:

    • Check the module's VCC and GND connections.
    • Ensure the relays are receiving the correct control signals.

FAQs

Q: Can I use the module with a 3.3V microcontroller like ESP32?
A: Yes, the module is compatible with 3.3V control signals, but ensure the power supply to the module is 5V.

Q: Can I control AC and DC loads simultaneously?
A: Yes, as long as each relay's load does not exceed the specified ratings.

Q: Do I need external components to use the module?
A: No additional components are required for basic operation, but flyback diodes are recommended for inductive loads.