PaHUB

SKU:U040

Description

PaHUB, is an I2C device splitter, which can expand a single I2C HY2.0-4P interface to six channels, and allows to mount slave devices with the same I2C address (by controlling to poll different channels to achieve the same Address device coexistence). Embedded TCA9548A-I2C multi-channel switch IC, supports 6 groups of I2C device expansion.

This product is EOL now. New PaHub2 View here.

Product Features

  • I2C GROVE PORTA Expander
  • Two Lego-compatible holes
  • Nested allowed
  • 1-to-6

Include

  • 1x PaHUB Unit
  • 1x Grove Cable

Specification

Resources Parameter
Communication protocol I2C: 0x70(can be modified by resistance A0, A1, A2)
Net weight 7g
Gross weight 19g
Product Size 48*24*12mm
Package Size 67*53*12mm

Note: When working, the splitter realizes the coexistence of devices with the same address by polling different channels. Please pay attention to the channel order when programming.

EasyLoader

download EasyLoader

1.EasyLoader is a simple and fast program burner. Every product page in EasyLoader provides a product-related case program. It can be burned to the master through simple steps, and a series of function verification can be performed. .

  1. After downloading the software, double-click to run the application, connect the M5 device to the computer through the data cable, select the port parameters, click "Burn" to start burning. (For M5StickC burning, please Set the baud rate to 750000 or 115200)

Schematic

Referring to the schematic diagram and the TCA9548A data sheet, it can be seen that the Unit can modify the I2C address of the device by controlling the level combination of the A0 ~ A2 pins. (Default address is 0x70)

Three chip resistance welding positions are reserved on the PCB of the Unit, which are A0-A2, as shown in the figure below.

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

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

  • protocol type - I2C
  • address - 0x70

Arduino

UIFlow

Feature Introduction

Extended I2C interface

  • set pos state Set the specified port I2C

  • set pos open Set port to open I2C

  • set port value Set port I2C

Usage