pdf-icon

PaHUB2

SKU:U040-B

Description

PaHUB2, is an I2C Expandable Hub, which can expand a single I2C HY2.0-4P interface and connects up to 6 I2C channels. It allows you to mount slave devices with the same I2C address (by polling control the different channels to achieve in-device coexistence). Embedded PCA9548AP-I2C multi-channel switch IC, Save you worries with insufficient I2C interface of the expansion.

Product Features

  • I2C HY2.0-4P PORTA expansion
  • 2x LEGO compatible holes
  • Support multiple nesting
  • 1-6 expansion

Include

  • 1x Pahub2 Unit
  • 1x HY2.0-4P Cable

Application

  • I2C device expansion

Specification

Specifications Parameters
Channel Control IC PCA9548AP
Communication protocol I2C: 0x70 (can be modified by resistance A0, A1, A2)
Net weight 7g
Gross weight 19g
Product size 48 * 24 * 12mm
Packing size 67 * 53 * 12mm
Note: When it's connected, the PaHUB2 will be polling control the different channels to achieve in-device coexistence. Please pay attention to the order of channels when programming.

Please refer to the schematic and PCA9548AP data manual, the Unit can modify the I2C address of the device by adapting the level combination of A0~A2 pins. (The default address is 0x70)

3 Position of Welding patch are reserved on the PCB board of the Unit, A0-A2 respectively, as shown in the figure below.

After welding the 0 ohm resistor, the corresponding pin will change from low level to high level. The pin level combination and its corresponding I2C address are shown in the table below.

EasyLoader

Click to download EasyLoader

1.EasyLoader is a concise and fast program burner, which contains the test program used by Pahub2 & M5Core.

Schematic

Learn

Building a smart planting system using M5Stack to monitor the lights, humidity, temperature, watering your plant automatically.
We aim to build a robot that is effective in sanitizing surfaces without putting cleaners in harm's way.
We have devised with an innovation that dispenses hand sanitizer, measures the temperature of user, shows the count of people in vicinity.
Hand Hygienics aims to reduce spread of Covid-19 through contact.
An automatic system to perform the tasks of Safe Entry. It consist an adjustable Thermometer, RFID / QR Code Check in and Counting.

Example

Arduino

UIFlow

Feature Introduction

  • set pos state Set designated port I2C

  • set pos open Set the port to enable I2C

  • set port value Set up port I2C

Usage