Hat CardKB is a fully functional QWERTY keyboard. If you want to achieve some complex keyboard input interactions, relying solely on the buttons on the M5StickC can be quite challenging. To solve this problem, we have introduced the Hat CardKB.
Using the Hat CardKB not only allows for full keyboard input but also supports various key combinations (Shift + Key, Fn + Key) to output richer key values. An onboard colorful LED can provide different color light prompts based on the input mode. The I2C address of Hat CardKB is 0x5F.
Specification | Parameter |
---|---|
Communication Protocol | I2C:0x5F |
Net Weight | 17g |
Gross Weight | 21g |
Product Size | 84.6 x 54.26.5mm |
Package Size | 115 x 96 x 40mm |
Button Combination Instructions:
Press a single key (blue light flashes once), the keyboard will output the first key value (for letter keys, it outputs in lowercase). For example, pressing "Q" will output "q" (lowercase).
Double-click Shift or Fn, to lock Shift (red light stays on) or Fn (green light stays on), making it convenient to output the second or third key value multiple times.
Shift+key (red light flashes), the keyboard will output the uppercase form of the letter, and reuse keys will output the second key value. For example, after clicking "Shift" once, pressing "Q" will output "Q" (uppercase). Double-clicking "Shift" locks the function, and any letter key pressed afterward will output in uppercase, while number and symbol keys will output the second key value. Click "Shift" again to unlock.
Fn+key (custom function key combination) (green light flashes), the keyboard will output the third key value. You can customize the function corresponding to the pressed key.
Mega328 ISP download interface pin definition
/*--------------------------------------------------------------------------------------------------*/
| KEYBOARD REG | 0x5F
| ------------------------------------------------------------------------------------------------
| keyboard_value_reg[0] | R | KEYBOARD VALUE
/*----------------------------------------------------------------------------------------------------
Easyloader | Download Link | Remarks |
---|---|---|
Hat CardKB Easyloader | download | / |
Usage demonstration of Hat CardKB