🐾 Shipping paused for Easter bank holiday weekend - back on 2nd April! 🐇🥚
🐾 Shipping paused for Easter bank holiday weekend - back on 2nd April! 🐇🥚

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

by M5Stack

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

Include

  • 1x PbHUB Unit
  • 1x HY2.0-4P cable (20cm)

Specification

Spec Parameter
Communication protocol I2C:0x61(Modified by register)
Net weight 6.7g
Gross weight 11.8g
Product Size 48x24x12mm
Package Size 13.6x9.1x12mm

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

  • Text - PbHUB
  • Case study: Controlling repeated rotation of the servo
  • Communication protocols: I2C
  • I2C address: 0x61