geekhack
geekhack Community => Keyboards => Topic started by: woody on Wed, 02 March 2011, 11:02:19
-
To those that have mucked into their keyboard intestines:
What configurations of keyboard scanning matrices in terms of rows and columns have you seen? Examples with the respective keyboard names would be additional plus.
That's just my own curiosity, but could make a nice Wiki, too.
EDIT: Example: 11x9, "UltraBestest KBD"
-
I need just the matrix size and eventually which keyboard it is. The matrix layout, i.e. key coordinates, is not needed at all.
-
I suppose this is for your controller that you announced to be working on a while ago. If it is indeed for that, imo solve the problem like the Aikon. Offer 8x18 or something by default, but let them change rows and cols if needed. For example to 9x17.. etc
If that is not related to it, I have a collection of a few matrixes somewhere. I'll find it later.
-
It is indeed related. Still just tinkering with the idea, not sure what I will do and when (and whether at all), but collecting bits and pieces won't hurt.
Few example matrix sizes would be good information, thanks. It will be funny if the IC I have in mind doesn't have that much I/O.
-
18x8, Cherry G80-3600-LYCEU-0
8x8, PFU HHKB professional(not 2)
-
14x8, Cherry G84-4400
-
14x8, Cherry G84-4100 (plus three LEDs on the keyboard PCB)
-
13x8, Ortek MCK84
16x8, Cherry G80-8200 (NKRO)
Not sure it's worth listing all the ones that are 'something x 8' though :-/
-
I'll dig up pictures of my SSK membrane later.
-
Not sure it's worth listing all the ones that are 'something x 8' though :-/
Are there any that aren't x8? Looks they choose to be lazy and fitted the readback data into a single port.
What I don't like so far is the MCU I have has only 23 I/Os. Bummer.
-
Are there any that aren't x8? Looks they choose to be lazy and fitted the readback data into a single port.
I bet there's at least one awkward board out there! But 8 is the sensible size to use - it's not just the reading, it's the processing after that as well. The processors might have a 4MHz clock, but (I think) they're 4 clocks per instruction cycle, and some instructions will take more than one cycle... so not the most powerful!
What I don't like so far is the MCU I have has only 23 I/Os. Bummer.
Not really enough :(
Of course, you could use a 3 to 8 line decoder or two on the output side, since only one line at a time is active. Or an external latch on the input side. Bit messy.
The Ortek does a neat trick of using 3 diodes so it can use 3 of the lines for both LEDs and scanning.
-
Yup, many solutions to I/O extending. None as simple as matrix with min. required rows/columns (square root of key count).
-
Hmm. Let's say we want to allow for 128 keys. That's 16x8, so 24 lines.
Or... sqrt(128) = 11.314 ... which needs to be rounded up to 12x11, so 23 lines.
OK, 23 fits your chip and 24 doesn't, but in general Nx8 isn't particularly inefficient.
The worst waste of lines comes from modifiers on non-NKRO boards :-/
-
The worst waste of lines comes from modifiers on non-NKRO boards :-/
That might explain the strange matrices I traced on 4100 and 4400 (both 14x8).
-
most apple boards are _x9 btw.
-
most apple boards are _x9 btw.
That got me intrigued. Took apart Apple Keyboard II (M0487), membrane with upside-down rubber sleeves and ... my desk doesn't have enough space to have the guts and a IIgs on it to be checked with LA. Meh, some other time.
EDIT: BTW, it's Mitsumi inside.