
U027 · M5Stack

Unit Button is a single-button Unit that detects changes in the input pin's high/low voltage levels to determine the button's state. Features HY2.0-4P interface, supports UIFlow and Arduino. 2 x LEGO-compatible holes Includes 1 x Unit Button 1 x HY2.0-4P Grove connection cable (20cm) Applications Lamp switch Remote control switch Specifications Specification Parameter Net Weight 4g Gross Weight 16g Product Size 32 x 24 x 8mm Package Size 136 x 92 x 9mm Learn and Documents → DOCUMENTS (M5Stack U027)
| Part number | U027 |
|---|---|
| Manufacturer | M5Stack |
| Category | User Input & Controls › Buttons & Keypads |
| Pins | 4 |
Mini 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