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

How to Use M26X-12 Relays Expansion Board: Examples, Pinouts, and Specs

Image of M26X-12 Relays Expansion Board
Cirkit Designer LogoDesign with M26X-12 Relays Expansion Board in Cirkit Designer

Introduction

The M26X-12 Relays Expansion Board (Manufacturer Part ID: M26 – 12 Rev. 6.2) is a versatile relay module designed by CNC4PC. It allows users to control up to 12 devices using low-power control signals. This board is ideal for applications requiring the automation of electrical devices, such as home automation, industrial control systems, and robotics.

The board is equipped with 12 relay outputs, each capable of switching high-power loads, making it suitable for controlling lights, motors, solenoids, and other electrical devices. Its compact design and ease of integration make it a popular choice for both hobbyists and professionals.

Explore Projects Built with M26X-12 Relays Expansion Board

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Wi-Fi Controlled Relay Module with ESP8266 and MCP23017
Image of smart home: A project utilizing M26X-12 Relays Expansion Board in a practical application
This circuit is a WiFi-enabled relay control system using an ESP8266-01 module and an MCP23017 I/O expander. The ESP8266 communicates with the MCP23017 via I2C to control an 8-channel relay module based on the state of 8 rocker switches, allowing for remote and manual control of connected devices.
Cirkit Designer LogoOpen Project in Cirkit Designer
Wi-Fi Controlled Smart Relay Switch with ESP8266 and MCP23017
Image of Bed Room: A project utilizing M26X-12 Relays Expansion Board in a practical application
This circuit is designed to control an 8-channel relay module via an ESP8266 microcontroller, which interfaces with an MCP23017 I/O expander over I2C. The ESP8266 connects to a WiFi network and subscribes to MQTT topics to receive commands for toggling the relays. Additionally, there are toggle switches connected to the MCP23017 that allow manual control of the relays, with the system's state being reported back via MQTT.
Cirkit Designer LogoOpen Project in Cirkit Designer
ESP32-Based Smart Environment Controller with Relay and Sensor Integration
Image of thesis: A project utilizing M26X-12 Relays Expansion Board in a practical application
This circuit features an ESP32 microcontroller interfaced with various sensors and modules, including an MLX90614 infrared temperature sensor, an HC-SR04 ultrasonic distance sensor, and an LCD display for output. A KY-019 relay module is controlled by the ESP32 to switch an AC source, with a PTC for circuit protection. Additionally, an AC-to-DC converter powers the ESP32 and a fan, indicating the circuit may be used for temperature-based control applications with visual feedback and actuation capabilities.
Cirkit Designer LogoOpen Project in Cirkit Designer
ESP32 and MCP23017-Based Smart Relay Control System with DHT22 Sensors
Image of Indoor Lounge: A project utilizing M26X-12 Relays Expansion Board in a practical application
This circuit is a control system that uses an ESP32 microcontroller to manage multiple relays and read data from DHT22 temperature and humidity sensors. The DFRobot Gravity MCP23017 I2C module expands the GPIO capabilities of the ESP32, allowing it to control additional relays for switching high-power devices.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with M26X-12 Relays Expansion Board

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 smart home: A project utilizing M26X-12 Relays Expansion Board in a practical application
Wi-Fi Controlled Relay Module with ESP8266 and MCP23017
This circuit is a WiFi-enabled relay control system using an ESP8266-01 module and an MCP23017 I/O expander. The ESP8266 communicates with the MCP23017 via I2C to control an 8-channel relay module based on the state of 8 rocker switches, allowing for remote and manual control of connected devices.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of Bed Room: A project utilizing M26X-12 Relays Expansion Board in a practical application
Wi-Fi Controlled Smart Relay Switch with ESP8266 and MCP23017
This circuit is designed to control an 8-channel relay module via an ESP8266 microcontroller, which interfaces with an MCP23017 I/O expander over I2C. The ESP8266 connects to a WiFi network and subscribes to MQTT topics to receive commands for toggling the relays. Additionally, there are toggle switches connected to the MCP23017 that allow manual control of the relays, with the system's state being reported back via MQTT.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of thesis: A project utilizing M26X-12 Relays Expansion Board in a practical application
ESP32-Based Smart Environment Controller with Relay and Sensor Integration
This circuit features an ESP32 microcontroller interfaced with various sensors and modules, including an MLX90614 infrared temperature sensor, an HC-SR04 ultrasonic distance sensor, and an LCD display for output. A KY-019 relay module is controlled by the ESP32 to switch an AC source, with a PTC for circuit protection. Additionally, an AC-to-DC converter powers the ESP32 and a fan, indicating the circuit may be used for temperature-based control applications with visual feedback and actuation capabilities.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of Indoor Lounge: A project utilizing M26X-12 Relays Expansion Board in a practical application
ESP32 and MCP23017-Based Smart Relay Control System with DHT22 Sensors
This circuit is a control system that uses an ESP32 microcontroller to manage multiple relays and read data from DHT22 temperature and humidity sensors. The DFRobot Gravity MCP23017 I2C module expands the GPIO capabilities of the ESP32, allowing it to control additional relays for switching high-power devices.
Cirkit Designer LogoOpen Project in Cirkit Designer

Common Applications

  • Home Automation: Controlling lights, fans, and other household appliances.
  • Industrial Automation: Managing motors, pumps, and other machinery.
  • Robotics: Actuating solenoids, motors, or other robotic components.
  • IoT Projects: Enabling remote control of devices via microcontrollers or IoT platforms.

Technical Specifications

Key Technical Details

Parameter Specification
Manufacturer CNC4PC
Model Number M26 – 12 Rev. 6.2
Number of Relays 12
Relay Type SPDT (Single Pole Double Throw)
Control Voltage 5V DC
Operating Voltage Range 12V DC
Maximum Load (per relay) 10A @ 250V AC or 10A @ 30V DC
Dimensions 150mm x 100mm x 20mm
Mounting Type PCB Mount with screw terminals
Isolation Optocoupler isolation for each relay

Pin Configuration and Descriptions

The M26X-12 Relays Expansion Board features a set of input pins for control signals and output terminals for connecting devices. Below is the pin configuration:

Input Pins (Control Signals)

Pin Label Description
IN1–IN12 Control inputs for relays 1 to 12
GND Ground connection
VCC 5V DC power supply for control logic

Output Terminals (Relay Outputs)

Terminal Label Description
COM1–COM12 Common terminal for relays 1 to 12
NO1–NO12 Normally Open terminal for relays
NC1–NC12 Normally Closed terminal for relays

Usage Instructions

How to Use the Component in a Circuit

  1. Power the Board: Connect a 12V DC power supply to the board's power input terminals.
  2. Connect Control Signals: Use a microcontroller (e.g., Arduino UNO) or other control device to send 5V signals to the IN1–IN12 pins. Each pin corresponds to a specific relay.
  3. Connect Devices: Attach the devices you want to control to the relay output terminals (COM, NO, NC). For example:
    • Use the COM and NO terminals for devices that should be off by default and turn on when the relay is activated.
    • Use the COM and NC terminals for devices that should be on by default and turn off when the relay is activated.
  4. Test the Setup: Activate the control signals to test the relays and ensure proper operation.

Important Considerations and Best Practices

  • Isolation: The board uses optocouplers to isolate the control signals from the high-power relay circuits. Ensure proper grounding to avoid electrical noise or interference.
  • Power Supply: Use a stable 12V DC power supply to power the relays. Avoid exceeding the maximum load ratings of the relays.
  • Heat Dissipation: If multiple relays are switching high-power loads simultaneously, ensure adequate ventilation to prevent overheating.
  • Safety: When working with high voltages, take necessary precautions to avoid electric shock or damage to connected devices.

Example: Connecting to an Arduino UNO

Below is an example of how to control the M26X-12 Relays Expansion Board using an Arduino UNO:

Circuit Connections

  • Connect the VCC and GND pins of the relay board to the 5V and GND pins of the Arduino.
  • Connect the IN1 pin of the relay board to Arduino digital pin 2.
  • Connect a 12V DC power supply to the relay board's power input terminals.
  • Connect a device (e.g., a light bulb) to the COM1 and NO1 terminals of the relay.

Arduino Code

// Example code to control a single relay on the M26X-12 Relays Expansion Board
// This code toggles the relay connected to IN1 on and off every second.

#define RELAY_PIN 2  // Arduino pin connected to IN1 on the relay board

void setup() {
  pinMode(RELAY_PIN, OUTPUT);  // Set the relay pin as an output
  digitalWrite(RELAY_PIN, LOW);  // Ensure the relay is off initially
}

void loop() {
  digitalWrite(RELAY_PIN, HIGH);  // Turn the relay on
  delay(1000);  // Wait for 1 second
  digitalWrite(RELAY_PIN, LOW);  // Turn the relay off
  delay(1000);  // Wait for 1 second
}

Troubleshooting and FAQs

Common Issues and Solutions

  1. Relays Not Activating

    • Cause: Insufficient control voltage or incorrect wiring.
    • Solution: Ensure the control voltage is 5V DC and verify the connections to the IN pins.
  2. Devices Not Responding

    • Cause: Incorrect wiring of the relay output terminals.
    • Solution: Double-check the connections to the COM, NO, and NC terminals.
  3. Overheating

    • Cause: Relays switching high-power loads continuously.
    • Solution: Reduce the load on the relays or improve ventilation around the board.
  4. Electrical Noise or Interference

    • Cause: Poor grounding or lack of isolation.
    • Solution: Ensure proper grounding and use shielded cables if necessary.

FAQs

  • Q: Can I use a 3.3V microcontroller with this board?

    • A: No, the control voltage must be 5V DC. Use a level shifter if your microcontroller operates at 3.3V.
  • Q: What happens if I exceed the maximum load rating of a relay?

    • A: Exceeding the load rating can damage the relay and potentially cause a fire hazard. Always stay within the specified limits.
  • Q: Can I control all 12 relays simultaneously?

    • A: Yes, but ensure your power supply can handle the combined current draw of all active relays.
  • Q: Is the board compatible with Raspberry Pi?

    • A: Yes, but you may need a level shifter to convert the Raspberry Pi's 3.3V GPIO signals to 5V.

This documentation provides a comprehensive guide to using the M26X-12 Relays Expansion Board. For further assistance, refer to the manufacturer's datasheet or contact CNC4PC support.