Description
PbHub Expander unit is a single-bus board which is controlled using GROVE PortB connector (The black port on the M5Go Base).
The expander unit contains 6 ports all in 1 unit. PortB can be used as GPIO and Analog in (the two data lines are connected to GPIO36 and GPIO26 on the ESP32 module).
Similar to the PaHub Unit, the PbHub provides solution for multiple devices control using a single port - PortB. With PbHub each of the IO can be configured as input and output, it has a built-in MEGA328 MCU with a simple driver firmware installed.
Notice: Please pay attention to the order of the channels while programing the PbHub
Note 1: The default range of the ADC input voltage of the built-in MCU is 0-5V
, and the corresponding ADC resolution is 10bit
(1024), so when using an analog signal input with an input range less than 5V, it will not reach the maximum The value is 1024.
Note 2: Not all Units with a black interface (PortB) support expansion through PbHUB. PbHUB can only be applied to basic single-bus communication, through the I2C protocol (built-in MEGA328) to achieve basic digital read and write, analog Read and write. But for units such as Weight (built-in HX711) that not only need to read anglog, but also depend on the timing of the Unit, PbHUB cannot be expanded.
Product Features
- Single-Bus GROVE PORTB Expander
- Two Lego-compatible holes
- 1-To-6
Include
- 1x PbHUB Unit
- 1x Grove Cable


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