pdf-icon

Unit CardKB v1.1

SKU:U035-B

Description

CardKB v1.1 is a card-size '50 key' QWERTY keyboard. Adpots ATMega8A as the MCU, communication port I2C, and one 'RGB-LED' indicator.

Product Features

  • Full-function keyboard, multi-key combination
  • GROVE interface, support UIFlow and Arduino
  • Two Lego compatible holes

Include

  • 1x CardKB1.1 unit
  • 1x GROVE Cable

Applications

  • Keyboard peripherals for M5Stack Core

Specification

Resources Parameter
MCU ATMega8A
Number of keys 50
RGB LED 1 piece
Communication method I2C
Net weight 17g
Gross weight 18g
Product Size 88*54*5mm
Package Size 136*92*5mm

Docs

  • Single button pressed, keyboard will output the first key value (the letter button will output in a lower case form). E.g if "Q" was pressed, keyboard will output "q" (lower cased).

  • Sym+key, keyboard will output the second key value. E.g if "Sym" was pressed and then "Q" was pressed, the keyboard will output "{". If "Sym" was double pressed, then the keyboard will lock this function, all key pressed will output it's second key value.

  • Shift+key, if a letter button was pressed, it'll output upper case form. E.g if "Shift" was pressed and then "Q" was pressed, the keyboard will output "Q". If "Shift" was double pressed, then the keyboard will lock this function, all letter key pressed will output it's upper case form.

  • Fn+key(custom function key combination), keyboard will output the third key value. You can customize what function the key presses corresponds to.

EasyLoader

download EasyLoader

What is EasyLoader?
1.EasyLoader is a simple and fast program burner. Every product page in EasyLoader provides a product-related case program. It can be burned to the master through simple steps, and a series of function verification can be performed. .
  1. After downloading the software, double-click to run the application, connect the M5 device to the computer through the data cable, select the port parameters, click "Burn" to start burning. (For M5StickC burning, please Set the baud rate to 750000 or 115200)

PinMap

ATMega8A ISPDownload interface Pin foot definition

M5Core(GROVE A) GPIO22 GPIO21 5V GND
CardKB SCL SDA 5V GND

Protocol

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

Example

Arduino

To get the code, please click here

UIFlow

How to use Unit cardkb and related API instructions in the UIFlow1.0
How to use Unit cardkb and related API instructions in the UIFlow2.0