
U025 · M5Stack

Unit Dual Button is a dual-button Unit that provides two physical buttons of different colors for you to operate. By detecting the high/low voltage changes of different button input pins, the button status can be determined. This Unit communicates with M5Core through the PORT B port. Features HY2.0-4P interface Supports UIFlow and Arduino 2 x LEGO compatible holes Includes 1 x Unit Dual Button 1 x HY2.0-4P Grove connection cable (20cm) Applications Game controller Remote control switch… (M5Stack U025)
| Part number | U025 |
|---|---|
| Manufacturer | M5Stack |
| Category | User Input & Controls › Buttons & Keypads |
| Pins | 4 |
Mini Dual Button Unit pinout
| Pin | Name | Type | Description |
|---|---|---|---|
| 1 | SIG1 | bidirectional | PORT.B: GPIO/analog; PORT.C: UART - see the unit's pin map |
| 2 | SIG2 | bidirectional | PORT.B: GPIO/analog; PORT.C: UART - see the unit's pin map |
| 3 | 5V | power | |
| 4 | GND | ground |
Schematic symbol and footprint
Schematic symbol
Footprint: Grove HY2.0 4-pin through-hole, 2.0 mm pitch — to scale, pad 1 in yellow (mm). Check against the datasheet before ordering PCBs.
Related parts

Adafruit CH9328 UART to HID Keyboard BreakoutADA5973

Adafruit NeoKey BFF for Mechanical Key Add-On for QT Py and XiaoADA5695

SparkFun Qwiic Button - Green LEDBOB-16842

SparkFun Qwiic Button - Red LEDBOB-15932

SparkFun Qwiic Button BreakoutBOB-15931

SparkFun Qwiic Keypad - 12 ButtonCOM-15290

Adafruit EYESPI Pi Beret - Buttons, EYESPI and STEMMA QTADA5783

Adafruit LED Arcade Button 1x4 - STEMMA QT I2C BreakoutADA5296