Units – CardKB Mini Keyboard Unit MEGA328P GROVE Port



Description


CardKB is a unit can implement a full-featured QWERTY keyboard. Consider that you want make some cool stuff that require keyboard typing and interaction, but M5 core it self just have 3 buttons, here comes the flexible and powerful CardKB unit.

It also can achieve button combination(Sym+Key, Shift+Key, Fn+Key) and output richer key value. This unit communicates with M5Core through GROVE A port(IIC interface). Address is 0x5F.

Feature


  • Full-function keyboard, multi-key combination
  • Program Platform: Arduino, UIFlow(Blockly, Python)

 

Application


  • Keyboard peripherals for M5Stack Core

Source PinMap


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


Include

  • 1x CardKB unit
  • 1x GROVE Cable

Button combination description:

  • Single button pressed, keyborad will output the first key value(letter button will output lower case form). E.g if “Q” was pressed, keyboard will output “q”(lower case).
  • Sym+key, keyborad will output the second key value. E.g if “Sym” was single pressed, then “Q” was pressed, the keyboard will output “{“. If “Sym” was double clicked, 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 single pressed, then “Q” was pressed, the keyboard will output “Q”. If “Shift” was double clicked, then the keyboard will lock this function, all letter key pressed will output it’s upper case form.
  • Fn+key(custom function key combination), keyborad will output the third key value. You can custom what function the key pressed corresponds.

Document