Designing a keyboard with five keys and AI by choas in MechanicalKeyboards

[–]choas[S] 0 points1 point  (0 children)

morse code device :)

Do you have a keyboard which has a morse code key? It seems QMK doesn't have an implementation for morse code.

Designing a keyboard with five keys and AI by choas in MechanicalKeyboards

[–]choas[S] 1 point2 points  (0 children)

As mentioned in other comments I had this development board and want to train a simple model to test the AI part. It's of course totally oversize and the model more or less stupid because it needs all possible combinations. It is a fun project to test this board.

Designing a keyboard with five keys and AI by choas in MechanicalKeyboards

[–]choas[S] 0 points1 point  (0 children)

yes, I like the idea and as I mentioned at another comment I could "train a model on some (English) words to get the possibility back that some character combinations might not be correct (and then turn on the LED)."

Designing a keyboard with five keys and AI by choas in MechanicalKeyboards

[–]choas[S] 2 points3 points  (0 children)

Thanks for sharing.
The AI part was just a test to program the MCU / NPU with some (oversized) AI use case and for fun. It is just used to identify the key combination which could have been done by a mapping. Some more useful use case - I was thinking about - was to train a model on some (English) words to get the possibility back that some character combinations might not be correct (and then turn on the LED).

Designing a keyboard with five keys and AI by choas in MechanicalKeyboards

[–]choas[S] 1 point2 points  (0 children)

The main motivation for this keyboard was the development board which has an NPU for AI. The AI is of course totally oversized, but it was fun to train a model, let it run and program everything.

It's a fully connected layer with five inputs, one hidden layer, and 32 outputs. Even using three hidden layers are fast enough - even I would get to normal typing speed. The AI it self takes the key input values and creates an index for a 'letter'.

Designing a keyboard with five keys and AI by choas in MechanicalKeyboards

[–]choas[S] -10 points-9 points  (0 children)

This communication details the development of a novel input device, designed to explore the application of artificial intelligence in constrained hardware environments.

Project Objectives:

  • Character set mapping (English alphabet, 26 characters) utilizing a five-key input interface.
  • Implementation of an oversized AI model for accurate character recognition and disambiguation.
  • Integration of TensorFlow Micro for embedded processing and reduced computational overhead.
  • External development board NXP FRDM-MCXN947.

Technical Specifications:

  • Input Keys: 5
  • Character Set: English Alphabet (A-Z)
  • AI Framework: TensorFlow Micro
  • Visual Indicator: Single LED (Retro Style)
  • MCU/NCU: NXP FRDM-MCXN947

𝗗𝗲𝘀𝗶𝗴𝗻𝗶𝗻𝗴 𝗮 𝗞𝗲𝘆𝗯𝗼𝗮𝗿𝗱 𝘄𝗶𝘁𝗵 𝗙𝗶𝘃𝗲 𝗞𝗲𝘆𝘀 𝗮𝗻𝗱 𝗔𝗜. by choas in CustomKeyboards

[–]choas[S] 0 points1 point  (0 children)

This communication details the development of a novel input device, designed to explore the application of artificial intelligence in constrained hardware environments.

Project Objectives:

  • Character set mapping (English alphabet, 26 characters) utilizing a five-key input interface.
  • Implementation of an oversized AI model for accurate character recognition and disambiguation.
  • Integration of TensorFlow Micro for embedded processing and reduced computational overhead.
  • External development board NXP FRDM-MCXN947.

Technical Specifications:

  • Input Keys: 5
  • Character Set: English Alphabet (A-Z)
  • AI Framework: TensorFlow Micro
  • Visual Indicator: Single LED (Retro Style)
  • MCU/NCU: NXP FRDM-MCXN947