M5Stack I/O Hub 1 to 6 Expansion Unit (STM32F0)
Product Link
Introduction
PbHUB Unit is a 6-channel expansion Unit with I2C control. Each Port B interface is capable of GPIO, PWM, Servo control, ADC sampling, RGB light control and other functions. Adopts STM32F030 for internal control.
Features
6 x GPIO Ports Expansion
1 x I2C Input
Internal STM32F030 control
2 x Brick holes
Specifications
Spec | Parameter |
---|---|
Communication protocol | I2C:0x61(Modified by register) |
Net weight | 6.7g |
Gross weight | 11.8g |
Pinout
Dimensions
Product Size | 48*24*12mm |
---|---|
Package Size | 13.6*9.1*12mm |
How to Use
UIFlow
Feature Introduction
Servo CH IO angle Set rotation angle of the servo
Servo CH IO pulse Write digital values to IOs
read status Read firmware version/I2C address
init I2C address Initialize I2C address
set I2C address Set I2C address
Example
Case study: Controlling repeated rotation of the servo
Communication protocols: I2C
I2C address: 0x61
Arduino
Here, the RGB driver can only be WS2812, not sk6812.
Last updated