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

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

Image of 6 channel relay module
Cirkit Designer LogoDesign 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!
DC-DC Converter and Relay Module Power Distribution System
Image of relay: A project utilizing 6 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 and ESP32-CAM Based Fingerprint-Triggered Solenoid Lock System
Image of sfdjni: A project utilizing 6 channel relay module in a practical application
This circuit is designed for a security or access control application, featuring an Arduino UNO interfaced with a fingerprint scanner for authentication and controlling a 4-channel relay module. The relays operate multiple solenoids powered by a 12V battery, and an ESP32-CAM module is included for potential image capture capabilities.
Cirkit Designer LogoOpen Project in Cirkit Designer
Wi-Fi Controlled Relay System Using ESP8266
Image of Smart House Automation: A project utilizing 6 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
Arduino-Controlled Relay Switch with Pushbutton Activation
Image of 4-Channel Relay Demo: A project utilizing 6 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

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!
Image of relay: A project utilizing 6 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 sfdjni: A project utilizing 6 channel relay module in a practical application
Arduino and ESP32-CAM Based Fingerprint-Triggered Solenoid Lock System
This circuit is designed for a security or access control application, featuring an Arduino UNO interfaced with a fingerprint scanner for authentication and controlling a 4-channel relay module. The relays operate multiple solenoids powered by a 12V battery, and an ESP32-CAM module is included for potential image capture capabilities.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of Smart House Automation: A project utilizing 6 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
Image of 4-Channel Relay Demo: A project utilizing 6 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

Common Applications and Use Cases

  • Home automation systems (e.g., controlling lights, fans, and appliances)
  • Industrial equipment control
  • Robotics and motor control
  • IoT projects for remote device management
  • Smart agriculture systems (e.g., irrigation pumps)

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 (per relay):
    • AC: 250V at 10A
    • DC: 30V at 10A
  • Optocoupler Isolation: Yes (provides electrical isolation between control and load sides)
  • Indicator LEDs: One LED per relay to indicate its state (ON/OFF)
  • Dimensions: Approximately 140mm x 50mm x 20mm

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

  • Electrical Isolation: The module includes optocouplers for isolation, but ensure proper grounding to avoid electrical noise.
  • Power Supply: Use a stable 5V DC power source to prevent erratic relay behavior.
  • Load Ratings: Do not exceed the maximum load ratings (250V AC/10A or 30V DC/10A) to avoid damage.
  • Flyback Diodes: If controlling inductive loads (e.g., motors), use flyback diodes to protect the relays from voltage spikes.
  • Microcontroller Compatibility: Ensure the control signals are within the 3.3V to 5V range.

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

  • Connect the module's VCC to the Arduino's 5V pin.
  • Connect the module's GND to the Arduino's GND pin.
  • Connect IN1 to IN6 to Arduino digital pins 2 to 7, respectively.
  • Connect a load (e.g., a light bulb) to one of the relay terminals (COM and NO/NC).

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.