SKU: IOWC-1106
📋 GST Invoice Available

M5Stack I2C Hub 1 to 6 Expansion Unit v2.1 with DIP Switch (PCA9548AP)

₹889.00 (Inclusive of all taxes)
Out of Stock

The M5Stack I2C Hub v2.1 is a PCA9548AP-based multiplexer that expands a single I2C bus into six independent channels, enabling simultaneous connection of multiple I2C sensors and peripherals. It features a DIP switch for address selection and is compatible with M5Stack Core and Grove ecosystems.

Features

  • PCA9548AP I2C multiplexer expands one I2C master port into six selectable channels for connecting multiple I2C devices.
  • Onboard DIP switch configures the base I2C address (0x70-0x77), enabling cascading of multiple hubs for large-scale sensor networks.
  • Features six extended Grove ports (HY2.0-4P) for plug-and-play connectivity with a wide range of M5Stack and Grove-compatible modules.
  • Supports multiple-unit nesting, allowing for scalable I2C bus expansion in complex embedded systems and IoT prototypes.
  • Compact LEGO-compatible design with mounting holes for easy integration into modular projects and enclosures.

Out of stock

Description

The M5Stack I2C Hub 1 to 6 Expansion Unit v2.1 is an essential accessory for embedded developers working with I2C sensor arrays. Built around the PCA9548AP multiplexer IC, it solves the common I2C address conflict problem by allowing a single microcontroller I2C bus to host up to six separate channels, each capable of supporting multiple devices. This enables the parallel use of identical sensors, such as multiple temperature or IMU modules, without hardware modifications.

The unit is designed for seamless integration into the M5Stack ecosystem, featuring the standard HY2.0-4P connector for connection to Core devices. Its channel-switching logic is controlled via I2C commands, allowing dynamic selection of which sensor bus is active. The onboard DIP switch provides hardware-level address configuration, facilitating the daisy-chaining of multiple hubs to create extensive I2C networks for data acquisition, robotics, and industrial monitoring systems.

Key Features

  • PCA9548AP I2C Multiplexer Chip provides reliable channel switching and low on-resistance for minimal signal degradation.
  • Six Independent I2C Channels enable connection of multiple devices with identical or different addresses, managed via software polling.
  • Configurable Base Address via 3-bit DIP switch, supporting eight unique addresses (0x70 to 0x77) for multi-hub setups.
  • Grove Ecosystem Compatibility through six HY2.0-4P ports, offering plug-and-play connectivity with hundreds of sensors and actuators.
  • Modular & Expandable Design supports cascading multiple hubs, dramatically scaling the number of connectable I2C peripherals.
  • Compact & Mountable Form Factor (24x48mm) with LEGO-compatible holes for secure integration into prototypes and finished products.

Applications

  • Multi-sensor data acquisition systems using identical I2C sensors (e.g., temperature arrays, air quality monitors).
  • Robotics and mechatronics projects requiring multiple IMUs, ToF sensors, or servo drivers on a single bus.
  • Modular IoT and smart home hubs based on M5Stack Core, expanding connectivity for environmental sensing.
  • Industrial prototyping and testing setups for parallel data logging from multiple I2C device units.
  • Educational STEM kits for teaching I2C communication and bus management principles.

Technical Specifications

Chipset / ICPCA9548AP
Interface / ProtocolI2C
Configurable I2C Address0x70 ~ 0x77 (via DIP switch)
Expansion Channels6
Port TypeHY2.0-4P (Grove compatible)
Operating Temperature0°C to 40°C
Dimensions (L x W)48mm x 24mm
Weight7.1g

Frequently Asked Questions

How do I set the I2C address of the M5Stack I2C Hub v2.1?

The base I2C address is configured using the onboard 3-bit DIP switch. The switch settings correspond to addresses from 0x70 to 0x77. Refer to the product documentation for the specific binary switch pattern. After setting the address, your microcontroller code must initialize communication using this configured address before selecting individual channels (0-5) via I2C commands to talk to the connected devices.

Can I connect multiple I2C Hubs to the same bus?

Yes, you can cascade multiple I2C Hub units. Assign each hub a unique base address using its DIP switch (0x70-0x77). Connect all hubs to the same master I2C bus (SDA, SCL lines). In your firmware, you will then communicate with each hub using its unique address to select channels and access the devices connected to that specific hub, allowing for significant expansion of your I2C network.

What is the purpose of the HY2.0-4P cable included in the package?

The included 20cm HY2.0-4P cable is used to connect the I2C Hub to the I2C port (typically labeled PORT A) on an M5Stack Core development board or other compatible host. This cable carries the I2C signals (SDA, SCL), power (3.3V/5V), and ground. Ensure the host device's I2C voltage level matches the requirements of the sensors you connect to the hub's Grove ports.

How do I select a specific channel to communicate with a connected device?

After initializing I2C communication with the hub's configured base address, you send a control byte to select the desired channel (0 to 5). For the PCA9548AP, this involves writing a single byte where each bit corresponds to a channel. Only one channel should be active at a time. Your code must manage channel switching by writing the appropriate control byte before reading from or writing to a device on that specific channel.

Package Includes

  • 1 x Unit PaHub v2.1 (I2C Hub Expansion Board)
  • 1 x HY2.0-4P Cable (20cm)

Additional Information

Weight 0.0071 kg
Dimensions 4.8 × 2.4 cm