Skip to main content

Worldwide Shipping · Secure Payments

AI Summary

This I2C multiplexer expands one I2C bus into six switchable channels using the PCA9548AP chip. Its DIP switch lets you set the hub address for cascading multiple units.

Key Highlights

  • PCA9548AP multiplexer expands one I2C bus to six channels
  • DIP switch sets hub address from 0x70 to 0x77
  • Six Grove-style HY2.0-4P ports for easy connections
  • Supports cascading multiple hubs for more devices
  • Compact 48 x 24 mm board weighs only 7.1 g
  • LEGO-compatible mounting holes for flexible installation

Ideal For

  • Makers building IoT sensor networks
  • Robotics hobbyists needing more I2C ports
  • FPV drone builders adding I2C peripherals
  • Students learning about I2C multiplexing
  • Developers prototyping with multiple identical sensors

Buying Tip

Check that your master device supports I2C clock stretching and can handle the total capacitance of all connected devices.

Elecvora expert review

Our verdict

The M5Stack I2C Hub 1 to 6 Expansion Unit v2.1 is a well-designed multiplexer that simplifies connecting multiple same-address I2C devices. Its DIP switch and cascading support make it flexible for growing projects.

AI-assisted analysis based on the manufacturer's specifications. Not a hands-on lab test.

Pros

  • Easy to set address with DIP switch
  • Six ports in a compact form factor
  • Cascading allows many devices
  • LEGO-compatible mounting holes

Cons

  • Requires software channel switching
  • No onboard voltage regulation
  • Limited to I2C devices only

Best for

Projects with multiple identical I2C sensors

Not ideal for

High-speed SPI or UART devices

Specifications

Item TypeAccessory
Model No. / NameExpansion Board, I2C Hub
CompatibilityI²C
CommunicationI2C:0x70~0x77
Operating Temperature (°C)0-40°
Length (mm)48
Width (mm)24
Weight (g)7.1
ColorRed and White
Shipping Weight0.09 kg
Shipping Dimensions7 × 7 × 2 cm

What's in the box

  • 1 x Unit PaHub v2.1
  • 1 x HY2.0-4P cable (20 cm)

Frequently Asked Questions

How do I select a channel on the hub?
You send an I2C command to the hub's address (set by the DIP switch) with a byte that enables the desired channel. Only the selected channel will be active for subsequent communication.
Can I connect devices with different I2C addresses to the same hub?
Yes, you can connect devices with any I2C addresses to the hub's channels. The multiplexer simply switches the bus, so devices with different addresses can coexist on the same channel or on separate channels.
What is the power requirement for the hub?
The hub is powered from the I2C bus via the HY2.0-4P connector. It does not have a separate power input, so ensure your master device can supply enough current for the hub and all connected devices.
Does the package include cables?
Yes, the package includes one HY2.0-4P cable (20 cm) for connecting the hub to your master device. Additional cables for your sensors are not included.
Can I use this hub with 5V I2C devices?
The hub itself does not level-shift signals. It passes the I2C bus voltage through, so you must ensure that all devices on the bus operate at the same logic level as your master.
How many hubs can I cascade?
You can cascade up to eight hubs by setting each to a unique address from 0x70 to 0x77, giving a maximum of 48 channels. However, practical limits depend on bus capacitance and power.

Overview

The M5Stack I2C Hub 1 to 6 Expansion Unit v2.1 solves a common problem in I2C projects: running out of unique addresses. Built around the PCA9548AP multiplexer, it takes one I2C interface and splits it into six separate channels. You can connect devices that share the same address to different channels and switch between them in software, avoiding bus conflicts. The board also includes a DIP switch for setting its own I2C address between 0x70 and 0x77, which means you can chain multiple hubs together when six ports are not enough.

Key Features

  • PCA9548AP multiplexer: Expands a single I2C bus into six independently selectable channels.
  • DIP switch address selection: Choose from 0x70 to 0x77 to avoid clashes when cascading hubs.
  • Six HY2.0-4P ports: Grove-compatible connectors make it easy to plug in sensors and modules.
  • Cascading support: Link multiple units to add more I2C devices as your project grows.
  • Compact and lightweight: 48 x 24 mm board weighs just 7.1 g, ideal for space-constrained builds.
  • LEGO-compatible holes: Mount the hub on LEGO structures or custom plates.

Specifications Explained

The I2C address range of 0x70 to 0x77 gives you eight possible addresses, so you can stack up to eight hubs on one bus in theory. Each hub then provides six channels, multiplying your available ports. The operating temperature range of 0 to 40 degrees Celsius covers typical indoor and sheltered use. With a length of 48 mm and width of 24 mm, the board fits neatly into small project boxes. The HY2.0-4P connectors are the same type used by many M5Stack and Grove modules, so you can use standard cables. The package includes a 20 cm HY2.0-4P cable to get you started.

Compatibility and Requirements

The hub is designed for I2C communication and works with any master device that supports I2C, such as microcontrollers and development boards. It does not require special drivers beyond the ability to send I2C commands to select channels. The DIP switch lets you set the hub address to avoid conflicts with other devices on the bus. Note that the hub itself does not include a microcontroller or power supply; it draws power from the I2C bus. Ensure your master device can supply enough current for all connected modules.

Typical Uses

  • Connecting multiple identical sensors (e.g., temperature, humidity) to one board.
  • Expanding the I2C capabilities of robotics projects with many peripherals.
  • Prototyping IoT devices that require several I2C modules.
  • Educational projects where multiple students share a single controller.

What's in the Box

  • 1 x Unit PaHub v2.1
  • 1 x HY2.0-4P cable (20 cm)

Quick specs

Item Type
Accessory
Model No. / Name
Expansion Board, I2C Hub
Compatibility
I²C
Communication
I2C:0x70~0x77
Operating Temperature (°C)
0-40°
Length (mm)
48
See all specifications