CardKB v1.1 is a card-size '50 key' QWERTY keyboard. Adpots ATMega8A
as the MCU, communication port I2C
, and one 'RGB-LED' indicator.
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 |
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.
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. .
ATMega8A ISPDownload interface Pin foot definition
M5Core(GROVE A) | GPIO22 | GPIO21 | 5V | GND |
---|---|---|---|---|
CardKB | SCL | SDA | 5V | GND |
/*--------------------------------------------------------------------------------------------------*/
| KEYBOARD REG | 0x5F
| ------------------------------------------------------------------------------------------------
| keyboard_value_reg[0] 0x5F | R | KEYBOARD VALUE
/*----------------------------------------------------------------------------------------------------
To get the code, please click here
Enter information via the keyboard
Get key Return ASIIC value
Get string Return character
Get pressed Detect button, press to return true
To get the complete code, please click here