English
English
简体中文
日本語

Unit PbHub

SKU:U041

Description

Unit PbHub is an I2C GPIO expansion unit that adds six PORT.B interfaces through a single host PORT.A connection. The onboard MEGA328 receives I2C commands from the host and handles digital input and output, PWM output, ADC sampling, and RGB LED control on the expansion channels. The default I2C address is 0x61 and can be changed by soldering the A0–A2 address configuration resistors.

Use it in projects that connect multiple buttons or analog sensors, or to build interactive devices with button input and RGB lighting feedback.

Features

  • MEGA328 MCU
  • 1 x HY2.0-4P I2C port with hardware address configuration
  • 6 x HY2.0-4P expansion ports
    • Digital input and output
    • PWM output
    • 10-bit ADC sampling (IO0)
    • RGB LED control
  • 2 x LEGO-compatible holes

Includes

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

Specifications

Specification Parameter
MCU MEGA328
Protocol I2C @0x61 (modifiable via resistors A0, A1, A2)
Product Size 48.0 x 24.0 x 10.8mm
Product Weight 7.1g
Package Size 138.0 x 93.0 x 11.8mm
Gross Weight 12.4g

Learn

The PbHub expansion ports do not support Units that require dedicated communication timing, such as Unit Weight with the HX711.

Changing the I2C Address

The I2C address of this Unit is 0x61 (can be changed by soldering resistors A0 ~ A2, with an address range of 0x61 ~ 0x68).

A0 A1 A2 I2C Address
/ / / 0x61
Soldered / / 0x62
/ Soldered / 0x63
Soldered Soldered / 0x64
/ / Soldered 0x65
Soldered / Soldered 0x66
/ Soldered Soldered 0x67
Soldered Soldered Soldered 0x68

Schematics

PinMap

Unit PbHub

HY2.0-4P Black Red Yellow White
PORT.A GND 5V SDA SCL

Mega328 ISP Download Interface Pin Definition

Softwares

Arduino

UiFlow1

Protocol

EasyLoader

Easyloader Download Link Note
Unit PbHub Test Easyloader download /

Video

Page Tools
PDF