I/O Hub 1 to 6 Expansion Unit (MEGA328)

I/O Hub 1 to 6 Expansion Unit (MEGA328)

MODEL: AE - M5U041

SGD $ 14.20
In Bulk
(per piece)

10 or more SGD $ 11.40
50 or more SGD $ 10.00
100 or more SGD $ 9.20

PbHUB, is a expander for singel-bus GROVE PORTB(Black port on M5GO Base). 1-to-6. PortB can be used as GPIO and analog in two data lines connected to GPIO36 and GPIO26 on ESP32. Same as PaHUB, it provides a solution for mutiple device control by PORTB. With PbHUB each of the IO can be configurated to input, output and analog in as you like. Unfortunatly this Unit is unnested. It is build with a MEGA328, with a simple driver firmware inside.

Notice1: Please pay attention to the channel order while programing

Notice2: Not all M5Units with PortB(Black) is able to extended by PbHUB. PbHUB can only apply to basic single-bus communication like digital read and write, analog read and write, which is implemented by I2C protocol(MEGA328 inside).
The mechanism of PbHUB as an extension of PortB which inplement the single-bus data transfer, is using the resource on Mega328 include GPIO, AD, DA ports, to inplement the functionality of digital read and write , analog read and write. So there must be exceptions in which case a PbHUB is not a option. For example, PortB M5Unit like WEIGH (HX711 inside), whose communication protocol is applied more than just anglog read, instead with a timing sequence. In that case PbHUB can't be helpful dirving those device or sensor.
 See the below picture for timing sequence of HX711:

Product Features

  • Single-Bus GROVE PORTB Expander
  • Two Lego-compatible holes
  • 1-To-6


  • 1x PbHUB Unit
  • 1x Grove Cable


Resources Parameter
net weight 7g
Gross weight 19g
Product Size 48*24*12mm
Package Size 67*53*12mm