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

How to Use 16 Relay Modul: Examples, Pinouts, and Specs

Image of 16 Relay Modul
Cirkit Designer LogoDesign with 16 Relay Modul in Cirkit Designer

16 Relay Module Documentation

1. Introduction

The 16 Relay Module is a versatile electronic component designed to control up to 16 individual relays on a single circuit board. Each relay acts as an electrically operated switch, allowing you to control high-voltage or high-current devices using low-power control signals. This module is widely used in automation, home control systems, industrial equipment, and IoT applications.

Common Applications:

  • Home Automation: Control lights, fans, and appliances remotely.
  • Industrial Automation: Manage motors, pumps, and other heavy machinery.
  • IoT Projects: Integrate with microcontrollers like Arduino or Raspberry Pi for smart control.
  • Security Systems: Operate alarms, locks, and other security devices.
  • Prototyping: Test and develop circuits requiring multiple relays.

2. Technical Specifications

The following table outlines the key technical details of the 16 Relay Module:

Parameter Specification
Operating Voltage 5V DC (control side)
Relay Voltage 5V DC
Trigger Voltage 0-5V (low-level trigger)
Maximum Load (AC) 250V AC @ 10A
Maximum Load (DC) 30V DC @ 10A
Number of Relays 16
Relay Type SPDT (Single Pole Double Throw)
Isolation Optocoupler isolation for each relay
Dimensions ~190mm x 90mm x 20mm
Weight ~300g

Pin Configuration and Descriptions

The 16 Relay Module has two main sections: the control side and the load side. Below is the pin configuration:

Control Side (Input Pins):

Pin Name Description
VCC 5V DC power supply for the module.
GND Ground connection.
IN1-IN16 Control pins for each relay. A low signal (0V) activates the corresponding relay.

Load Side (Relay Terminals):

Each relay has three terminals:

Terminal Description
NO (Normally Open) Open circuit when the relay is inactive. Closes when the relay is activated.
NC (Normally Closed) Closed circuit when the relay is inactive. Opens when the relay is activated.
COM (Common) Common terminal for the relay. Connects to either NO or NC depending on the relay state.

3. Usage Instructions

Connecting the 16 Relay Module to a Microcontroller (e.g., Arduino UNO):

  1. Power the Module: Connect the VCC pin to the 5V pin on the Arduino and the GND pin to the Arduino's GND.
  2. Control Pins: Connect the IN1-IN16 pins to the desired digital output pins on the Arduino.
  3. Load Connections: Connect the devices you want to control to the relay terminals (NO, NC, and COM) as per your requirements.
  4. Code the Microcontroller: Write a program to send HIGH or LOW signals to the control pins to activate or deactivate the relays.

Important Considerations:

  • Power Supply: Ensure the module is powered with a stable 5V DC supply. If the relays are switching high loads, use an external power supply for the module.
  • Isolation: The module uses optocouplers for isolation, but ensure proper grounding to avoid electrical noise.
  • Load Ratings: Do not exceed the maximum load ratings (250V AC @ 10A or 30V DC @ 10A) to prevent damage.
  • Trigger Voltage: The module uses a low-level trigger (0V activates the relay). Ensure your microcontroller outputs are compatible.

4. Example Arduino Code

Below is an example code to control the 16 Relay Module using an Arduino UNO. This code sequentially activates each relay for 1 second and then deactivates it.

// Example code to control a 16 Relay Module with Arduino UNO
// Ensure the relay module is connected to pins 2-17 on the Arduino

// Define the control pins for the relays
const int relayPins[16] = {2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, A0, A1, A2, A3};

void setup() {
  // Initialize all relay pins as OUTPUT
  for (int i = 0; i < 16; i++) {
    pinMode(relayPins[i], OUTPUT);
    digitalWrite(relayPins[i], HIGH); // Set all relays to OFF state
  }
}

void loop() {
  // Sequentially activate each relay
  for (int i = 0; i < 16; i++) {
    digitalWrite(relayPins[i], LOW); // Activate relay (LOW signal)
    delay(1000); // Wait for 1 second
    digitalWrite(relayPins[i], HIGH); // Deactivate relay (HIGH signal)
  }
}

Code Explanation:

  • Pin Initialization: The relayPins array defines the Arduino pins connected to the relay module.
  • Setup Function: All pins are set as OUTPUT and initialized to HIGH (relay OFF).
  • Loop Function: Each relay is activated (LOW) for 1 second and then deactivated (HIGH).

5. 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. If using an external power source, connect the GND of the module and the microcontroller.
  2. Relays Stuck in ON/OFF State:

    • Cause: Incorrect wiring or damaged relay.
    • Solution: Verify the wiring and ensure the control pins are receiving the correct signals.
  3. Electrical Noise or Interference:

    • Cause: High-power loads causing interference.
    • Solution: Use proper grounding and consider adding snubber circuits or flyback diodes to suppress noise.
  4. Arduino Resets When Relays Activate:

    • Cause: Power supply overload.
    • Solution: Use an external power supply for the relay module and ensure the Arduino and module share a common ground.

FAQs:

Q1: Can I use the 16 Relay Module with a 3.3V microcontroller?
A1: Yes, but you may need a level shifter or transistor circuit to ensure the control signals are compatible with the module's 5V logic.

Q2: Can I control AC and DC loads simultaneously?
A2: Yes, but ensure the total load does not exceed the module's maximum ratings.

Q3: How do I know if a relay is active?
A3: Each relay has an LED indicator that lights up when the relay is activated.


This documentation provides a comprehensive guide to understanding, using, and troubleshooting the 16 Relay Module. Whether you're a beginner or an experienced user, this guide will help you integrate the module into your projects effectively.

Explore Projects Built with 16 Relay Modul

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Cellular-Enabled IoT Device with Real-Time Clock and Power Management
Image of LRCM PHASE 2 BASIC: A project utilizing 16 Relay Modul in a practical application
This circuit features a LilyGo-SIM7000G module for cellular communication and GPS functionality, interfaced with an RTC DS3231 for real-time clock capabilities. It includes voltage sensing through two voltage sensor modules, and uses an 8-channel opto-coupler for isolating different parts of the circuit. Power management is handled by a buck converter connected to a DC power source and batteries, with a fuse for protection and a rocker switch for on/off control. Additionally, there's an LED for indication purposes.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino UNO-Based Security System with SIM800L and CCTV Integration
Image of thesid: A project utilizing 16 Relay Modul in a practical application
This is a security system featuring an Arduino UNO microcontroller that communicates via a SIM800L GSM module, detects motion with an IR sensor, and accepts user input through a 4x4 keypad. It controls a 12V solenoid lock via a relay and displays information on an LCD. The system includes a CCTV camera and uses buck converters for power regulation.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino Mega 2560-Based Wireless Joystick-Controlled Display with RTC
Image of RH-WallE Sender Schaltplan (Cirkit Designer).png: A project utilizing 16 Relay Modul in a practical application
This circuit is a multi-functional embedded system using an Arduino Mega 2560 as the central controller. It interfaces with various peripherals including a DS3231 RTC for timekeeping, an NRF24L01 for wireless communication, a KY-023 joystick for user input, a 4x4 keypad for additional input, and a TM1637 display for output. The system is powered by a combination of 3.3V and 5V sources.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino Mega 2560 Smart Lock System with Ethernet and Touchscreen Control
Image of Copy of SMART LOCK FINAL LAYOUT picture only: A project utilizing 16 Relay Modul in a practical application
This circuit is a control system featuring an Arduino Mega 2560 that interfaces with a touchscreen display, an Ethernet module, and a solenoid lock. The system is powered by a 12V power supply with buck converters stepping down the voltage for various components, and it includes a relay to control the solenoid lock.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with 16 Relay Modul

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 LRCM PHASE 2 BASIC: A project utilizing 16 Relay Modul in a practical application
Cellular-Enabled IoT Device with Real-Time Clock and Power Management
This circuit features a LilyGo-SIM7000G module for cellular communication and GPS functionality, interfaced with an RTC DS3231 for real-time clock capabilities. It includes voltage sensing through two voltage sensor modules, and uses an 8-channel opto-coupler for isolating different parts of the circuit. Power management is handled by a buck converter connected to a DC power source and batteries, with a fuse for protection and a rocker switch for on/off control. Additionally, there's an LED for indication purposes.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of thesid: A project utilizing 16 Relay Modul in a practical application
Arduino UNO-Based Security System with SIM800L and CCTV Integration
This is a security system featuring an Arduino UNO microcontroller that communicates via a SIM800L GSM module, detects motion with an IR sensor, and accepts user input through a 4x4 keypad. It controls a 12V solenoid lock via a relay and displays information on an LCD. The system includes a CCTV camera and uses buck converters for power regulation.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of RH-WallE Sender Schaltplan (Cirkit Designer).png: A project utilizing 16 Relay Modul in a practical application
Arduino Mega 2560-Based Wireless Joystick-Controlled Display with RTC
This circuit is a multi-functional embedded system using an Arduino Mega 2560 as the central controller. It interfaces with various peripherals including a DS3231 RTC for timekeeping, an NRF24L01 for wireless communication, a KY-023 joystick for user input, a 4x4 keypad for additional input, and a TM1637 display for output. The system is powered by a combination of 3.3V and 5V sources.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of Copy of SMART LOCK FINAL LAYOUT picture only: A project utilizing 16 Relay Modul in a practical application
Arduino Mega 2560 Smart Lock System with Ethernet and Touchscreen Control
This circuit is a control system featuring an Arduino Mega 2560 that interfaces with a touchscreen display, an Ethernet module, and a solenoid lock. The system is powered by a 12V power supply with buck converters stepping down the voltage for various components, and it includes a relay to control the solenoid lock.
Cirkit Designer LogoOpen Project in Cirkit Designer