Filco MiniLa + Teensy
-
- Location: USA
- Main keyboard: Das Keyboard Model S Professional For Mac
- Main mouse: Magic Trackpad
- Favorite switch: Kailh BOX Jade
- DT Pro Member: -
I have a Filco MiniLa on the way and I would like to swap the Alt and Win keys. I would just remap them using an application but I don't have admin permissions on some machines that it will be used with. Also eventually I would like to further customize the layout.
I wonder if I could somehow rewire it to work with the Filco tenkeyless custom ATmega32u4 controller?
Here is what the board on the Filco MiniLa looks like:
I'm hoping if this works out I could make a similar plug in play board like the Filco tenkeyless custom ATmega32u4 controller.
Any ideas?
I wonder if I could somehow rewire it to work with the Filco tenkeyless custom ATmega32u4 controller?
Here is what the board on the Filco MiniLa looks like:
I'm hoping if this works out I could make a similar plug in play board like the Filco tenkeyless custom ATmega32u4 controller.
Any ideas?
Last edited by alfa147x on 11 May 2013, 04:01, edited 1 time in total.
- Muirium
- µ
- Location: Edinburgh, Scotland
- Main keyboard: HHKB Type-S with Bluetooth by Hasu
- Main mouse: Apple Magic Mouse
- Favorite switch: Gotta Try 'Em All
- DT Pro Member: µ
Isn't that what one of the DIP switches is for? Alt<>Win switcheroo is standard operating procedure for use on Macs. And Ctrl<>Caps is SOP for anyone still retaining their sanity.
- BimboBB
- Location: Germany
- Main keyboard: Filco Majestouch 2 (mx brown)
- Main mouse: Logitech G400
- Favorite switch: mx brown
- DT Pro Member: -
It seems you cannot swap Alt/Win via DIP. According keyboardco these are the functions:
5 dip switch settings:-
Switch off Windows and App keys
Swap left CTRL and CapsLock (key caps included)
Change left FN key into space
Change right FN key into space
Swap ESC / [`¦¬] function (key cap included)
5 dip switch settings:-
Switch off Windows and App keys
Swap left CTRL and CapsLock (key caps included)
Change left FN key into space
Change right FN key into space
Swap ESC / [`¦¬] function (key cap included)
-
- Location: USA
- Main keyboard: Das Keyboard Model S Professional For Mac
- Main mouse: Magic Trackpad
- Favorite switch: Kailh BOX Jade
- DT Pro Member: -
I was hoping for the same but having a custom controller and being able to map the two fn keys to two different layers would be cool. That way I could have a keypad if needed.Muirium wrote:Isn't that what one of the DIP switches is for? Alt<>Win switcheroo is standard operating procedure for use on Macs. And Ctrl<>Caps is SOP for anyone still retaining their sanity.
Question about keyboard matrix circuit. On the multipin connector above would a single pin represent a row or column?Muirium wrote:<Grumble.>
I'd like to like the Minila, but it is definitely one strange keyboard. Teensy required.
And would each LED use two pins? I'm pretty sure once I get the board I can answer the questions my self but was just wondering what was standard procedure.
Last question. Would the Teensy 2.0 suffice for this project or should I go with the Teensy++ 2.0 ? I have a friend who has a Teensy 2.0 which he never used and is offering it for free.
Thanks!
- matt3o
- -[°_°]-
- Location: Italy
- Main keyboard: WhiteFox
- Main mouse: Anywhere MX
- Favorite switch: Anything, really
- DT Pro Member: 0030
- Contact:
It seems that only 18/19 pins are actually connected. If that is the case you can use a teensy 2. Such small matrix will hardly need more than that.
Each pin represents a column OR a row. You have to figure that out when you receive the board. Also the LEDs need their pins.
Each pin represents a column OR a row. You have to figure that out when you receive the board. Also the LEDs need their pins.
- Grond
- Location: Milan, Italy
- Main keyboard: Keychron K2
- Main mouse: Kensington Slimblade
- Favorite switch: Cherry MX Blue
- DT Pro Member: -
I believe you could swap them by software. I did something similar on my filco tenkeyless by swapping right menu and alt. This was made with KeyRemap4MacBook (on OS-X of course).
http://deskthority.net/workshop-f7/a-li ... t=keyremap
http://deskthority.net/workshop-f7/a-li ... t=keyremap
- Muirium
- µ
- Location: Edinburgh, Scotland
- Main keyboard: HHKB Type-S with Bluetooth by Hasu
- Main mouse: Apple Magic Mouse
- Favorite switch: Gotta Try 'Em All
- DT Pro Member: µ
Yes, software is enough for the simple key swap described. But a hardware hack makes more sense every time you plug in to another computer; especially those you can't administer. Not a problem with Macs, but this sounds like a corporate and therefore Microsoft environment.
matt3o knows a lot more about matrices and teensies than I do. Fortunately, the Minila's minimal layout sounds quite compatible with the smaller chip.
matt3o knows a lot more about matrices and teensies than I do. Fortunately, the Minila's minimal layout sounds quite compatible with the smaller chip.
-
- Location: USA
- Main keyboard: Das Keyboard Model S Professional For Mac
- Main mouse: Magic Trackpad
- Favorite switch: Kailh BOX Jade
- DT Pro Member: -
Great. I should receive it today so I'll be able to start tracing the coloums and rows to pins. I'm really pumped about this project!matt3o wrote:It seems that only 18/19 pins are actually connected. If that is the case you can use a teensy 2. Such small matrix will hardly need more than that.
Each pin represents a column OR a row. You have to figure that out when you receive the board. Also the LEDs need their pins.
I could just have the IT guys at work install what ever keymapping software I want but I don't really want to bother them. Plus I don't always use the same machine so it would be too much to ask them to install the keymapping software on multiple machines. Thanks for the link. I'm sure that will come in handy at some point.Grond wrote:I believe you could swap them by software. I did something similar on my filco tenkeyless by swapping right menu and alt. This was made with KeyRemap4MacBook (on OS-X of course).
http://deskthority.net/workshop-f7/a-li ... t=keyremap
Thanks for the help!Muirium wrote:Yes, software is enough for the simple key swap described. But a hardware hack makes more sense every time you plug in to another computer; especially those you can't administer. Not a problem with Macs, but this sounds like a corporate and therefore Microsoft environment.
matt3o knows a lot more about matrices and teensies than I do. Fortunately, the Minila's minimal layout sounds quite compatible with the smaller chip.
I wonder if the dip switches on the bottom are mounted to the controller or another card. It would be cool to use it to switch between a Mac friendly, Windows friendly, or iPad friendly layout. But that's a project for another day. Seeing as I haven't even embedded the teensy the switch seems complicated.
- Muirium
- µ
- Location: Edinburgh, Scotland
- Main keyboard: HHKB Type-S with Bluetooth by Hasu
- Main mouse: Apple Magic Mouse
- Favorite switch: Gotta Try 'Em All
- DT Pro Member: µ
Looks pretty complex, doesn't it? The joy of PCB's…
Each switch has a central stub(?) where it slots into the PCB. Around that there's either 2 or 4 solder joints. 2 are for the switch (the others are things like diodes or connects to other parts of the board, and whatever LEDs it has). The Cherry MX switches always have the same pattern of joints because their legs are all the same. Though sometimes a switch is rotated for whatever reason.
And so ends what I know about this. Learned from watching WhiteFireDragon's switch-swapping tutorial. What you're after is the matrix. What's the way people go about mapping that? I suspect it involves a bleepy continuity tester, some pins, and a lot of patience.
Each switch has a central stub(?) where it slots into the PCB. Around that there's either 2 or 4 solder joints. 2 are for the switch (the others are things like diodes or connects to other parts of the board, and whatever LEDs it has). The Cherry MX switches always have the same pattern of joints because their legs are all the same. Though sometimes a switch is rotated for whatever reason.
And so ends what I know about this. Learned from watching WhiteFireDragon's switch-swapping tutorial. What you're after is the matrix. What's the way people go about mapping that? I suspect it involves a bleepy continuity tester, some pins, and a lot of patience.
-
- Location: USA
- Main keyboard: Das Keyboard Model S Professional For Mac
- Main mouse: Magic Trackpad
- Favorite switch: Kailh BOX Jade
- DT Pro Member: -
Thanks for the info. I was planning on taking a multimeter to the pins that connect the controller and then going key by key and figuring out which key reacts to which pin. Then ask for help on creating the matrix from that.Muirium wrote:Looks pretty complex, doesn't it? The joy of PCB's…
Each switch has a central stub(?) where it slots into the PCB. Around that there's either 2 or 4 solder joints. 2 are for the switch (the others are things like diodes or connects to other parts of the board, and whatever LEDs it has). The Cherry MX switches always have the same pattern of joints because their legs are all the same. Though sometimes a switch is rotated for whatever reason.
And so ends what I know about this. Learned from watching WhiteFireDragon's switch-swapping tutorial.
What you're after is the matrix. What's the way people go about mapping that? I suspect it involves a bleepy continuity tester, some pins, and a lot of patience.
Good thing this weekend I have no work left over from the week and my girlfriend is out of town. Plenty of time.
- Muirium
- µ
- Location: Edinburgh, Scotland
- Main keyboard: HHKB Type-S with Bluetooth by Hasu
- Main mouse: Apple Magic Mouse
- Favorite switch: Gotta Try 'Em All
- DT Pro Member: µ
Yeah, I think you'll need it!
You know about anti-ghosting diodes in the matrix, right? That could affect the polarity your measurements need to take. Other than that, it's all just going through combinations.
Unless of course there's a sneaky way the old hands know.
You know about anti-ghosting diodes in the matrix, right? That could affect the polarity your measurements need to take. Other than that, it's all just going through combinations.
Unless of course there's a sneaky way the old hands know.
-
- Location: USA
- Main keyboard: Das Keyboard Model S Professional For Mac
- Main mouse: Magic Trackpad
- Favorite switch: Kailh BOX Jade
- DT Pro Member: -
I didn't realize the would mess with the polarity. I thought if you tried to feed power in from the "wrong" side of a diode nothing / very little would make it through.Muirium wrote:Yeah, I think you'll need it!
You know about anti-ghosting diodes in the matrix, right? That could affect the polarity your measurements need to take. Other than that, it's all just going through combinations.
Unless of course there's a sneaky way the old hands know.
I think the easiest route is to hook it up to a Teensy and then spam button and figure out which wire is carrying which switch. Lol
- Soarer
- Location: UK
- Favorite switch: F
- DT Pro Member: -
The main thing is just to separate the connections into 'rows' and 'columns' - after that you can just change the firmware to cope with the key mappings.
(I put rows and columns in quotes because it's better to think of strobes and senses, in other words, outputs and inputs on the controller).
Start with finding a pin on the connector that connects to a switch pin. Then find all of the other switch pins that connect to that line. Then for each of those switches, find the connector pin that is connected to the other pin of each switch you've just identified. That should give you most if not all of either the strobes or the senses.
To find the other group, you just do a similar thing with one of the lines you found in the first group - find the switches, find the connections for the other pin of those switches.
If you're lucky there will be a pattern, such as strobes being on the left hand pin of each switch, and senses being on the right, which will give some confimation that you got it right, and let you spot any gaps you might still have in your collection of strobes and senses.
As just said, what's missing from that procedure is dealing with the diodes. If you first work out which diode goes with which switch, and which end of it is connected to the switch, you can then treat the switch + diode as just a switch with one pin on the switch, and one on the diode (as in, the two pins of the switch+diode that aren't joined together).
(I put rows and columns in quotes because it's better to think of strobes and senses, in other words, outputs and inputs on the controller).
Start with finding a pin on the connector that connects to a switch pin. Then find all of the other switch pins that connect to that line. Then for each of those switches, find the connector pin that is connected to the other pin of each switch you've just identified. That should give you most if not all of either the strobes or the senses.
To find the other group, you just do a similar thing with one of the lines you found in the first group - find the switches, find the connections for the other pin of those switches.
If you're lucky there will be a pattern, such as strobes being on the left hand pin of each switch, and senses being on the right, which will give some confimation that you got it right, and let you spot any gaps you might still have in your collection of strobes and senses.
As just said, what's missing from that procedure is dealing with the diodes. If you first work out which diode goes with which switch, and which end of it is connected to the switch, you can then treat the switch + diode as just a switch with one pin on the switch, and one on the diode (as in, the two pins of the switch+diode that aren't joined together).
Last edited by Soarer on 11 May 2013, 00:28, edited 1 time in total.
- kbdfr
- The Tiproman
- Location: Berlin, Germany
- Main keyboard: Tipro MID-QM-128A + two Tipro matrix modules
- Main mouse: Contour Rollermouse Pro
- Favorite switch: Cherry black
- DT Pro Member: 0010
Words of a keyboard addictalfa147x wrote:[…] Good thing this weekend […] my girlfriend is out of town. Plenty of time.
-
- Location: USA
- Main keyboard: Das Keyboard Model S Professional For Mac
- Main mouse: Magic Trackpad
- Favorite switch: Kailh BOX Jade
- DT Pro Member: -
Wow. Thanks for taking the time to write all that out! How can I figure out which end is connected to the switch using a multimeter?Soarer wrote:The main thing is just to separate the connections into 'rows' and 'columns' - after that you can just change the firmware to cope with the key mappings.
(I put rows and columns in quotes because it's better to think of strobes and senses, in other words, outputs and inputs on the controller).
Start with finding a pin on the connector that connects to a switch pin. Then find all of the other switch pins that connect to that line. Then for each of those switches, find the connector pin that is connected to the other pin of each switch you've just identified. That should give you most if not all of either the strobes or the senses.
To find the other group, you just do a similar thing with one of the lines you found in the first group - find the switches, find the connections for the other pin of those switches.
If you're lucky there will be a pattern, such as strobes being on the left hand pin of each switch, and senses being on the right, which will give some confimation that you got it right, and let you spot and gaps you might still have in your collection of strobes and senses.
As just said, what's missing from that procedure is dealing with the diodes. If you first work out which diode goes with which switch, and which end of it is connected to the switch, you can then treat the switch + diode as just a switch with one pin on the switch, and one on the diode (as in, the two pins of the switch+diode that aren't joined together).
Just got my 1st mechanical keyboard! No longer using a Apple chiclet keyboard!kbdfr wrote:Words of a keyboard addictalfa147x wrote:[…] Good thing this weekend […] my girlfriend is out of town. Plenty of time.
Also the Filco works with my iPad
- Soarer
- Location: UK
- Favorite switch: F
- DT Pro Member: -
Just by looking at the PCB pic, I'd say it's the square pad and the right hand switch pin, at least for quite a few of them!alfa147x wrote:How can I figure out which end is connected to the switch using a multimeter?
Multimeter on resistance range, or continuity test if it has one. Touch the probes together and you'll see it go to 0, or close to it. That's what you're looking for when probing - pads that are shorted together
-
- Location: USA
- Main keyboard: Das Keyboard Model S Professional For Mac
- Main mouse: Magic Trackpad
- Favorite switch: Kailh BOX Jade
- DT Pro Member: -
So it looks like most diodes are directly below the switches and some are next to their switch. I tried the red probe on C6 and the black probe on the ninja turtles green dot and vice versa. I got nothing. Any idea what that means? Should the Diodes + read 0 or the - side?
- Muirium
- µ
- Location: Edinburgh, Scotland
- Main keyboard: HHKB Type-S with Bluetooth by Hasu
- Main mouse: Apple Magic Mouse
- Favorite switch: Gotta Try 'Em All
- DT Pro Member: µ
Try pressing the switch that the diode is connected to. If you can see the diode itself, the stripe marks the cathode: the end that points down on this diagram.
The diodes are hooked up to isolate each switch from the rest it shares a row and column with.
They block out the extra paths that open up when you press multiple keys. You want to have your polarity the same way around as the keyboard's controller scans the matrix. Otherwise you'll see ghosting and masking going on in the unintentional new circuits. You'll find out when you press multiple keys.
Or I guess just be careful to press one switch at a time…
The diodes are hooked up to isolate each switch from the rest it shares a row and column with.
They block out the extra paths that open up when you press multiple keys. You want to have your polarity the same way around as the keyboard's controller scans the matrix. Otherwise you'll see ghosting and masking going on in the unintentional new circuits. You'll find out when you press multiple keys.
Or I guess just be careful to press one switch at a time…
- Soarer
- Location: UK
- Favorite switch: F
- DT Pro Member: -
Try measuring across the diode the other way round, you should find it's different. But really, it's not important to work that connection out precisely Also, try the R2 pin to the square diode pin in both directions - should be 0 both ways (0.8 ohms is close enough to call 0).
Haha... they're all labelled anyway... C6 = column 6, R2 = row 2, etc.
So I reckon the R pin of a switch connects to the square pin of its diode, and the round diode pins connect to somewhere on the connector. The C pin of each switch connects to the connector too.
Haha... they're all labelled anyway... C6 = column 6, R2 = row 2, etc.
So I reckon the R pin of a switch connects to the square pin of its diode, and the round diode pins connect to somewhere on the connector. The C pin of each switch connects to the connector too.
-
- Location: USA
- Main keyboard: Das Keyboard Model S Professional For Mac
- Main mouse: Magic Trackpad
- Favorite switch: Kailh BOX Jade
- DT Pro Member: -
Also each switch is labeled on the PCB with a C# and R#
like the esc key is C1 and R3 while right arrow key has C12 and R5.
Yup every R pin is connects to the square pad. Which means the square pad = - on the diode.
Sweet. Progress.
like the esc key is C1 and R3 while right arrow key has C12 and R5.
Yup every R pin is connects to the square pad. Which means the square pad = - on the diode.
Sweet. Progress.
- Soarer
- Location: UK
- Favorite switch: F
- DT Pro Member: -
Yay! So now running through each C#, find which pin it is on the connector. Easy. For each R#, slightly more trouble, but just pick a switch where it's obvious which diode is used, then find the connector pin joined to the round diode pad.
BTW, how many Rs and Cs? I'm guessing more Cs than Rs...
BTW, how many Rs and Cs? I'm guessing more Cs than Rs...
-
- Location: USA
- Main keyboard: Das Keyboard Model S Professional For Mac
- Main mouse: Magic Trackpad
- Favorite switch: Kailh BOX Jade
- DT Pro Member: -
8 R's and 15 C'sSoarer wrote:Yay! So now running through each C#, find which pin it is on the connector. Easy. For each R#, slightly more trouble, but just pick a switch where it's obvious which diode is used, then find the connector pin joined to the round diode pad.
BTW, how many Rs and Cs? I'm guessing more Cs than Rs...
Should I continue filling this out or is it useless?
Edit: I'll go ahead and finish it. I'm 2/5 of the way done.
Haha I love how I still have yet to pull a keycap off of a board but I'm here prancing around the pcb with a multimeter
Last edited by alfa147x on 11 May 2013, 01:29, edited 2 times in total.
- Muirium
- µ
- Location: Edinburgh, Scotland
- Main keyboard: HHKB Type-S with Bluetooth by Hasu
- Main mouse: Apple Magic Mouse
- Favorite switch: Gotta Try 'Em All
- DT Pro Member: µ
Fill it out. Gotta catch 'em all. Soarer will show you what to do with it.
Playing with caps can wait. This is the business end!Haha I love how I still have yet to pull a keycap off of a board yet I'm here prancing around the pcb with a multimeter
Last edited by Muirium on 11 May 2013, 01:30, edited 1 time in total.
-
- Location: USA
- Main keyboard: Das Keyboard Model S Professional For Mac
- Main mouse: Magic Trackpad
- Favorite switch: Kailh BOX Jade
- DT Pro Member: -
I should have read this thread before finishing off the table! Oh well all done!Soarer wrote:Sure, that'll be useful later, once the Teensy is connected... finding those 8 Rs and 15 Cs on the connector comes first
Handy tip for filling out that map - take a picture of the keys and mirror it
also what's the deal with the column named "OC13" ?
Time to find where those pins connect and possibly get some food
Thanks again for all the help you guys have been!
Edit: Successful map making!