pdf-icon

Unit CardKB v1.1

SKU:U035-B

Description

Unit CardKB v1.1 is a card-sized QWERTY 50-key PCB matrix keyboard that uses ATMega8A as the encoding MCU, with an output interface of I2C. It has one onboard RGB-LED to indicate keyboard status.

Features

  • Full keyboard input with multiple key combinations.
  • HY2.0-4P interface, supports UIFlow and Arduino .

Includes

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

Applications

  • Keyboard peripheral for M5Stack Core

Specifications

Specification Parameter
MCU ATMega8A
Number of Keys 50
RGB LED 1 piece
Communication I2C
Net Weight 17g
Gross Weight 18g
Product Size 88 x 54 x 5mm
Package Size 136 x 92 x 5mm

Learn

  • Press a single key, the keyboard will output the first key value (letter keys will output in lowercase). For example, pressing "Q" will output "q" (lowercase).

  • Sym+key, the keyboard will output the second key value. For example, after clicking "Sym", pressing "Q" will output "{". Double-click "Sym" to lock the function, and all subsequent key presses will output the second key value. Double-click "Sym" again to unlock.

  • Shift+key, the keyboard will output the uppercase form of the letter. For example, after clicking "Shift", pressing "Q" will output "Q" (uppercase). Double-click "Shift" to lock the function, and all subsequent key presses will output in uppercase. Double-click "Shift" again to unlock.

  • Fn+key (custom function key combination), the keyboard will output the third key value. You can customize the function of the pressed key.

PinMap

Unit CardKB v1.1

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

ATMega8A ISP Download Interface Pin Definition

Softwares

Arduino

UIFlow 1.0

UIFlow 2.0

Internal Firmware

Protocol

  • Protocol Type: I2C
  • I2C Address: 0x5F
/*--------------------------------------------------------------------------------------------------*/
| KEYBOARD REG       | 0x5F
| ------------------------------------------------------------------------------------------------
| keyboard_value_reg[0] 0x5F        |  R |  KEYBOARD VALUE
/*----------------------------------------------------------------------------------------------------

EasyLoader

Easyloader Download Link Note
Unit CardKB example with M5Core download /

Video