M5Stack M121-V11

M5Stack 4-Channel Relay 13.2 Module V1.1 User Manual

Model: M121-V11 | Brand: M5Stack

1. Introduzzjoni

The M5Stack 4-Channel Relay 13.2 Module V1.1 is a versatile relay module designed for simplified circuit control. It features four onboard mechanical relay control channels (Normally Open, Common) and is ideal for reliable and efficient control of DC circuitry. Utilizing the I2C communication protocol, this module optimizes IO resources for seamless integration into various projects. Its jumper cap design allows for easy switching between active and passive relay modes, accommodating diverse circuit requirements. This module is specifically designed for DC circuit switching, supporting a maximum load capacity of 24W (DC 24V @ 1A) per channel. It also incorporates built-in external power voltage detection and a DC-DC circuit to power the host, enhancing overall safety and stability.

M5Stack 4-Channel Relay 13.2 Module V1.1 overview with features and connections
Figure 1: M5Stack 4-Channel Relay 13.2 Module V1.1 Overview

2. Karatteristiċi

  • MCU: STM32G030F6® 32-bit Cortex®-M0+ CPU
  • Komunikazzjoni: I2C communication interface (address: 0x26)
  • Relay Channels: 4 independent relay control channels
  • Kapaċità tat-Tagħbija: Maximum load capacity 24W (DC 24V@1A) per channel
  • Modi tax-Xogħol: Supports two modes of operation (active and passive)
  • Voltage Sejbien: Vol inkorporattage detection capability
  • Kompatibilità: Compatible with Arduino, UIFlow, and other programming platforms

3. Kontenut tal-Pakkett

  • 1 x M5Stack 4Relay Module 13.2 V1.1
  • 5 x 2.54mm-2P Wiring Terminal Blocks (green)
  • 10 x Pin Jumpers
  • 1 x Wiring Instructions (manual)

4. Speċifikazzjonijiet

Speċifikazzjoni Parametru
MCUSTM32F030F4P6
Interface tal-KomunikazzjoniI2C Communication @0x26
Supported Working ModesActive Control / Passive Control
Kanali tar-Relay4x (COM, NO interface)
Interface tal-Input tal-EnerġijaDC5521 female jack 5.5 x 2.1mm@5-24V (inner positive, outer negative)
Kapaċità tat-TagħbijaMaximum load capacity 24W (DC 24V@1A) per channel
Relay Terminal Block2.54-2P
Single Relay Power Consumption5V@40mA
Coil Activation Time6ms
Coil Release Time4ms
Daqs tal-Prodott54.0 x 54.0 x 19.7mm
Piż tal-Prodott38.0g
Daqs tal-Pakkett134.0 x 95.0 x 20.0mm
Piż Gross58.1g
Module dimensions diagram
Figura 2: Dimensjonijiet tal-Modulu (Unità: mm)

5. Setup

5.1 Konnessjoni tal-Enerġija

  • The module requires a DC input voltage ta '5-24V.
  • Connect the power supply to the DC INPUT terminals (VIN and GND). Ensure correct polarity (inner positive, outer negative for DC5521 jack).
  • The module includes a DC-DC circuit to power the host M5Core.

5.2 Konnessjonijiet tar-Relay

  • The module provides four relay channels, each with Normally Open (N.O.) and Common (COM) terminals.
  • Connect the load to be controlled to the appropriate N.O. and COM terminals for each relay (OUT1-OUT4).
  • Ensure the load does not exceed 24W (DC 24V@1A) per channel.

5.3 I2C Communication

Connect the module to your M5Core or other compatible microcontroller via the I2C interface. The standard I2C pins are:

M5Core Pin 4Relay Module 13.2_V1.1 Pin
G22SCL
G21SDA
5VVCC
GNDGND
M5Core to 4Relay Module pin mapping
Figure 3: M5Core to 4Relay Module Pin Map

5.4 Working Mode Selection (Jumper Caps)

The module supports active and passive working modes, selectable via jumper caps. Refer to the wiring instructions provided in the package for specific jumper configurations based on your application needs. The overview image (Figure 1) illustrates the concept of connecting HPWR to MBUS for power supply directly.

6. Istruzzjonijiet Operattivi

The 4Relay Module 13.2 V1.1 is controlled via the I2C communication protocol. The default I2C address is 0x26. You can control the status of the four relays and read ADC values using specific registers.

6.1 I2C Protocol Register Map

I2C Protocol Register Map
Figure 4: M5Stack Module 4Relay 13.2 I2C Protocol

Key registers:

  • Relay Control (Addr: 0x26, Reg: 0x10, R/W): This register controls the status of the four relays.
    • Bit 0: Relay 1 status
    • Bit 1: Relay 2 status
    • Bit 2: Relay 3 status
    • Bit 3: Relay 4 status
    • Set the corresponding bit to 1 to activate the relay, 0 to deactivate.
  • ADC 8Bits (Addr: 0x26, Reg: 0x20, R): Reads 8-bit ADC value (0-255).
  • ADC 12Bits (Addr: 0x26, Reg: 0x30, R): Reads 12-bit ADC value (0-4095).
  • Firmware Version (Addr: 0x26, Reg: 0xF0, R): Reads the firmware version number.
  • I2C Address (Addr: 0x26, Reg: 0xF0, R/W): Allows changing the I2C address (1-127).

6.2 Software Libraries and Examples

M5Stack provides libraries and examples to facilitate programming with the module:

  • Arduino: Module13.2 4Relay v1.1 Arduino Library
  • Examples: Module13.2 4Relay v1.1 Example with M5Core, Module13.2 4Relay v1.1 Example with M5Core2
  • Firmware: Module13.2 4Relay v1.1 Internal Firmware

These resources can be found on the official M5Stack documentation website or GitHub repository. For detailed programming instructions, refer to the specific library documentation.

7. Applikazzjonijiet

The M5Stack 4-Channel Relay 13.2 Module V1.1 is suitable for a variety of applications, including:

  • General on/off control for DC devices
  • Solenoid valve control in automation systems
  • Switching DC control loads
  • Integration into Internet of Things (IoT) projects requiring switching capabilities

8. Skematika

For advanced users and developers, the detailed schematic diagram of the module is provided below:

M5Stack 4Relay Module 13.2 V1.1 Schematic Diagram
Figure 5: M5Stack 4Relay Module 13.2 V1.1 Schematic Diagram

A PDF version of the schematics is also available for download: Module13.2 4Relay v1.1 Schematics PDF

9. Għajnuniet għall-Utenti

  • Provvista tal-Enerġija: Always ensure the DC input voltage is within the 5-24V range to prevent damage to the module.
  • Ġestjoni tat-Tagħbija: Do not exceed the maximum load capacity of 24W (DC 24V@1A) per relay channel. Overloading can lead to relay failure or damage.
  • Indirizz I2C: If using multiple I2C devices, verify that the 4Relay module's I2C address (default 0x26) does not conflict with other devices. The address can be changed via software if necessary.
  • Settings tal-jumpers: Double-check jumper cap configurations for active/passive modes before powering on to ensure desired operation.
  • Wiring: Use appropriate gauge wires for your loads to prevent overheating and ensure stable connections.

10 Issolvi l-problemi

  • Il-Modulu Mhux Jirrispondi:
    • Check power supply connections and voltage.
    • Verify I2C wiring (SDA, SCL, VCC, GND) and ensure the I2C address is correct (default 0x26).
    • Confirm that the M5Core or host controller's I2C bus is initialized and functioning.
  • Ir-Relay Mhux Qed Jattiva:
    • Ensure the load is correctly wired to the N.O. and COM terminals.
    • Check the load's power requirements and ensure it does not exceed the relay's capacity.
    • Verify the I2C command sent to the relay control register (0x10) is correct for the desired relay.
    • Inspect jumper settings for active/passive mode.
  • Incorrect ADC Readings:
    • Tiżgura l-voltage detection input is correctly connected.
    • Verify the correct ADC register (0x20 for 8-bit, 0x30 for 12-bit) is being read.

11. Manutenzjoni

  • Tindif: Żomm il-modulu nadif u ħieles mit-trab u l-fdalijiet. Uża drapp artab u niexef għat-tindif.
  • Ambjent: Operate the module within its specified environmental conditions (temperature, humidity) to ensure longevity.
  • Konnessjonijiet: Periodically check all wiring connections for tightness and corrosion, especially in industrial or high-vibration environments.
  • Aġġornamenti tal-Firmware: Check the M5Stack official webis-sit għal kwalunkwe aġġornamenti tal-firmware disponibbli li jistgħu jtejbu l-prestazzjoni jew iżidu karatteristiċi.

12. Garanzija u Appoġġ

Għal informazzjoni dwar il-garanzija, appoġġ tekniku, u riżorsi addizzjonali, jekk jogħġbok irreferi għall-paġna uffiċjali tal-M5Stack. website or contact M5Stack customer service directly. Keep your purchase receipt for warranty claims.

Dokumenti Relatati - M121-V11

Preview M5Stack Cardputer V1.1: Gwida għall-Kompjuter Portabbli u l-Pjattaforma tal-Iżvilupp
Gwida komprensiva għall-M5Stack Cardputer v1.1, kompjuter portabbli ta' prestazzjoni għolja għall-inġiniera u l-iżviluppaturi. Karatteristiċi StampKontrollur S3A, tastiera b'56 tast, skrin TFT ta' 1.14-il pulzier, mikrofonu MEMS, u konnettività estensiva. Jinkludi struzzjonijiet ta' setup, FAQs, speċifikazzjonijiet, u dettalji tal-pjattaforma tal-iżvilupp.
Preview M5STACK Flow Gateway: Multifunctional IoT Expansion Module
Dettaljat fuqview, specifications, and quick start guide for the M5STACK Flow Gateway, a multifunctional expansion module with CAN bus interfaces, Wi-Fi, BLE, and more. Includes Arduino installation instructions.
Preview M5STACK STAMPSkeda tad-Data u Speċifikazzjonijiet Tekniċi tal-S3
Esplora l-M5STACK STAMPBord tal-iżvilupp S3, li fih iċ-ċippa ESP32-S3 bil-Wi-Fi u Bluetooth 5 (LE). Din il-folja tad-dejta tagħti dettalji dwar il-kompożizzjoni tal-ħardwer tagħha, id-deskrizzjonijiet tal-pinnijiet, il-kapaċitajiet funzjonali, u l-karatteristiċi elettriċi għal proġetti tal-IoT.
Preview Bord tal-Iżvilupp tal-IoT M5Stack NanoC6: Gwida ta' Bidu Mgħaġġel u Speċifikazzjonijiet
Gwida komprensiva għall-M5Stack NanoC6, bord ta' żvilupp IoT minjatura b'konsum baxx ta' enerġija mħaddem mill-ESP32-C6 MCU. Din tiddeskrivi l-kapaċitajiet tal-bord inklużi Wi-Fi 6, Zigbee, u Bluetooth 5.0, tipprovdi speċifikazzjonijiet tekniċi, u toffri gwida ta' bidu rapidu b'istruzzjonijiet għas-setup tal-Arduino IDE, komunikazzjoni serjali Bluetooth, skennjar WiFi, u funzjonalità Zigbee.
Preview M5STACK Stam PLC: Manwal tal-Utent tal-Kontrollur tal-IoT Industrijali
Esplora l-M5STACK Stam PLC, kontrollur tal-loġika programmabbli tal-IoT għall-awtomazzjoni industrijali. Din il-gwida tagħti dettalji dwar il-karatteristiċi, l-ispeċifikazzjonijiet, is-setup ta' bidu rapidu bl-Arduino IDE, u l-konformità mal-FCC tiegħu. Ideali għall-manifattura intelliġenti u l-monitoraġġ mill-bogħod.
Preview Meshtastic with M5Stack LoRa868 v1.2: Setup and User Guide
Comprehensive guide to setting up and using Meshtastic on the M5Stack LoRa868 v1.2 module. Covers hardware preparation, firmware flashing with M5Burner, app installation, and key features like mesh communication and location sharing.