Author Topic: Teensy++ alternatives  (Read 2098 times)

0 Members and 1 Guest are viewing this topic.

Offline Hak Foo

  • Thread Starter
  • Posts: 1270
  • Make America Clicky Again!
Teensy++ alternatives
« on: Sat, 20 February 2021, 15:49:03 »
I have a dream of building something along the lines of the GH-122... basically big enough that it will be a pain to try to wedge it into the number of I/O pins of a standard Pro Micro/Teensy/Elite-C controller.

The Teensy++ is expensive unless I want one of the Chinese knockoffs, and the supply long-term is questionable-- they're threatening they may not be able to supply much beyond 2021-2022, and if I have a stash of PCBs for future use, I don't want to be met with out-of-stock.

What else is a good choice for a giant matrix controller?  The Proton-C seems to be out-of-stock everywhere.  The CodeMercs Keywarrior-100 is interesting in that it's a purpose-built keyboard controller, but it's physically very large (especially in breakout board form) and may be less flexible than an all-software solution.
Overton130, Box Pale Blues.

Offline Findecanor

  • Posts: 5036
  • Location: Koriko
Re: Teensy++ alternatives
« Reply #1 on: Sat, 20 February 2021, 16:47:53 »
If you tweak the matrix, you could fit 122 keys with ceil(sqrt(122) * 2) = 23 GPIO pins, i.e. 10×13 or 11×12.
Easiest way to map it might be to have two physical columns per logical column.
Other options would be to strobe the columns with external shift registers requiring only 3 pins or an I/O expander requiring only two (I²C), leaving the rest of the GPIO pins for reading the rows.

The "Black Pill" boards come with various STM32F MCUs (same chip family as QMK Proton C) and 30 GPIO pins for around $5. I think there are several manufacturers (like the Pro Micro has).
There should be support for STM32F in QMK, Keyberon and ZMK.
« Last Edit: Sat, 20 February 2021, 16:59:09 by Findecanor »

Offline Hak Foo

  • Thread Starter
  • Posts: 1270
  • Make America Clicky Again!
Re: Teensy++ alternatives
« Reply #2 on: Sat, 20 February 2021, 17:58:09 »
"122" was sort of a rough estimate-- it may well be a touch higher.  The one I'm using as a model is technically 131 keys right now.  And then I'd want I/O pins for LEDs.  And an encoder, since I'm being greedy.  So I'm looking at like 36 pins (main matrix being 24x7 or 25x6 without fighting with it, 3 LED lines, and 2 for the encoder)

Overton130, Box Pale Blues.

Offline Findecanor

  • Posts: 5036
  • Location: Koriko
Re: Teensy++ alternatives
« Reply #3 on: Sat, 20 February 2021, 18:17:49 »
If you'd double the rows going from 25×6 to 13×12, then the sum would be 30.

BTW, I have wondered sometimes if a rotary encoder could not be put into a keyboard matrix with two rows on the same column. Then it would have to be decoded as key codes...