Filco MiniLa + Teensy
-
- Location: Australia
- Main keyboard: New Model F
- Main mouse: XM1r
- Favorite switch: Buckling Spring
- DT Pro Member: -
In order to get free shipping on a Digi-Key order, I've got an Arduino Leonardo (http://arduino.cc/en/Main/arduinoBoardLeonardo) coming. Is that just as good as a Teensy 2?
-
- Location: Stockhom, Sweden
- Main keyboard: Symmetric Stagger Board
- Main mouse: Kinzu
- Favorite switch: Topre
- DT Pro Member: -
I didn't bother checking all of them, but they are all the same http://deskthority.net/wiki/Controller_ ... and_matrix (feel free to add the MiniLa) And it's not just Filco it's all the Costar keyboards.Soarer wrote: The matrix layout is funny, but then Filco do keep using pretty much the same old controller! For one thing, having shifts, alts and ctrls take up a line each is what you'd expect on a non-NKRO matrix, that has no diodes. Secondly, look at all that empty space where pgup, pgdn, ins, del, home, end and the numpad would fit in :lol:
(Not that it matters).
-
- Location: Australia
- Main keyboard: New Model F
- Main mouse: XM1r
- Favorite switch: Buckling Spring
- DT Pro Member: -
I'm ready to start trying to get the Arduino to start recognising key-presses. Do the rows (the ones with resistors) need to be connected to analog pins? I assume the columns are digital.
- 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: µ
The whole matrix is digital.
And by "resistors" I hope you mean "diodes" or you have some work to do! (I hand wired >60 diodes myself and it takes hours.)
And by "resistors" I hope you mean "diodes" or you have some work to do! (I hand wired >60 diodes myself and it takes hours.)
-
- Location: Australia
- Main keyboard: New Model F
- Main mouse: XM1r
- Favorite switch: Buckling Spring
- DT Pro Member: -
oh shit, I thought they were resistors (couldn't see them because they were on the other side of the board. Now that you mention it I'll have to double-check I've taken my connections from the right side of the diodes. I think it's good... I hope it's good. 

-
- Location: Australia
- Main keyboard: New Model F
- Main mouse: XM1r
- Favorite switch: Buckling Spring
- DT Pro Member: -
I'm having some trouble getting my keys to register. Using the matrix code pulled straight from the gh60 keyboard I was getting some keys to register, not the right ones and not all of them, but some of them at least worked. You can see the code while it was somewhat working at https://github.com/jonhiggs/ml62/blob/d ... 7/matrix.c
After that, I configured the matrix to line up with my configuration and now I'm getting nothing. Can anyone see what I'm doing wrong? You can see the current state of things at https://github.com/jonhiggs/ml62/blob/master/matrix.c
What I'm intending, incase it's not clear from the code is pins 0-7 are my rows which are on DDRD. The columns are on pins 8-13 (DDRB) and continue over to pins A0-A3 (DDRC).
Any help would be much appreciated. Cheers.
After that, I configured the matrix to line up with my configuration and now I'm getting nothing. Can anyone see what I'm doing wrong? You can see the current state of things at https://github.com/jonhiggs/ml62/blob/master/matrix.c
What I'm intending, incase it's not clear from the code is pins 0-7 are my rows which are on DDRD. The columns are on pins 8-13 (DDRB) and continue over to pins A0-A3 (DDRC).
Any help would be much appreciated. Cheers.
- 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: µ
Matrix code is too fiddly for my liking. That's why I use Soarer's Controller.
http://deskthority.net/workshop-f7/soar ... t6767.html
To see how simple it is: here's my 60%'s matrix:
Self explanatory, just the way I like it. Then add layers and macros to taste. Voila!
http://deskthority.net/workshop-f7/soar ... t6767.html
To see how simple it is: here's my 60%'s matrix:
Code: Select all
matrix
blocking 0
sense PF7 PB6 PB5 PB4 PD7 PC7 PC6 PD3 PD2 PD1 PD0 PB7 PB3 PB2 PB1 PB0
strobe PF0 esc 1 2 3 4 5 6 7 8 9 0 minus equal back_quote backslash unassigned
strobe PF1 tab q w e r t y u i o p left_brace right_brace unassigned backspace unassigned
strobe PF4 fn1 a s d f g h j k l semicolon quote unassigned enter unassigned unassigned
strobe PF5 lshift z x c v b n m comma period slash unassigned rshift unassigned fn2 unassigned
strobe PF6 lctrl lalt lgui unassigned unassigned space unassigned unassigned unassigned rgui ralt unassigned rctrl unassigned pad_enter unassigned
end
-
- Location: Australia
- Main keyboard: New Model F
- Main mouse: XM1r
- Favorite switch: Buckling Spring
- DT Pro Member: -
Well, I worked out the problem. Half the pins don't do anything, and worse, some of them make the whole thing go mental. I've given up on the Leonardo and have a Teensy 2.0 on it's way.
-
- Main keyboard: Logitech di novo
- Main mouse: Logitech mx
- DT Pro Member: -
This can solve my mechanical keyboard in a managed environment plus a personal phone using colemak use case.
Still not sure whether I will adjust to the minila layout but with a teensy it puts a check mark in all the boxes.
Still not sure whether I will adjust to the minila layout but with a teensy it puts a check mark in all the boxes.
- pandp
- DT Pro Member: -
Additional information about LEDs.
PIN 11 (marked early as LED) have to be connected to VCC
PIN 12 and PIN 13 connect to teensy ports.
For examle to D4 and to D7 pins on teensy board.
Than to light up LEDs you can use commands
PIN 11 (marked early as LED) have to be connected to VCC

PIN 12 and PIN 13 connect to teensy ports.
For examle to D4 and to D7 pins on teensy board.
Than to light up LEDs you can use commands
Code: Select all
DDRD |= (1<<4);
PORTD &= ~(1<<4);
DDRD |= (1<<7);
PORTD &= ~(1<<7);
- pandp
- DT Pro Member: -
This code works for my MiniLa https://github.com/app/tmk_keyboard/tre ... ard/minila
See matrix.pdf for pinouts and teensy ports.
MiniLa pin numbering I use is
1 3 5 ... 27
2 4 6 ... 28
as marked on PCB.
See matrix.pdf for pinouts and teensy ports.
MiniLa pin numbering I use is
1 3 5 ... 27
2 4 6 ... 28
as marked on PCB.
-
- Main keyboard: Filco Majestouch Minila
- Main mouse: Myonix Naos 7000
- Favorite switch: Topre
- DT Pro Member: -
bit late to this discussion - just ordered my filco and tweensy - but uh why are there 3 pins for LED when there's only 2 LEDs on the board?
- pandp
- DT Pro Member: -
-
- Main keyboard: Filco Majestouch Minila
- Main mouse: Myonix Naos 7000
- Favorite switch: Topre
- DT Pro Member: -
I derp, thanks!
Just 1 further question for now... did you connect it directly to the teensy's 5V source or do we need a regulator/resistor in line?
Just 1 further question for now... did you connect it directly to the teensy's 5V source or do we need a regulator/resistor in line?
-
- Main keyboard: Filco Majestouch Minila
- Main mouse: Myonix Naos 7000
- Favorite switch: Topre
- DT Pro Member: -
nice
that makes things easier
I'm documenting my progress/plans on google docs for future reference should anyone else be interested https://docs.google.com/document/d/1at7 ... V-XJmJh-zs
I'm also considering rewriting a bunch of the code to be a bit more readable/specific to my setup but not really sure if it's worth the time.



I'm documenting my progress/plans on google docs for future reference should anyone else be interested https://docs.google.com/document/d/1at7 ... V-XJmJh-zs
I'm also considering rewriting a bunch of the code to be a bit more readable/specific to my setup but not really sure if it's worth the time.

-
- Location: Australia
- Main keyboard: New Model F
- Main mouse: XM1r
- Favorite switch: Buckling Spring
- DT Pro Member: -
I've been hacking again on a new Minila with TMK's firmware.
The documentation I've written may be useful to others who are interested in hacking these boards.
https://github.com/jonhiggs/ml67/tree/master/doc
The documentation I've written may be useful to others who are interested in hacking these boards.
https://github.com/jonhiggs/ml67/tree/master/doc
-
- Main keyboard: Filco Majestouch Minila
- Main mouse: Myonix Naos 7000
- Favorite switch: Topre
- DT Pro Member: -
Neat!
My project is on github too
https://github.com/isometric/EasyHackingKeyboard
I broke my Teensy 2.0 desoldering some headers soldering like an idiot so I'm using the 3.1 now.
I'm going to try and refactor the mouse/keybaord libs into something smaller and a bit more sane. I think I have a pretty good grasp of how the HID spec works now though though I really couldn't say the same about their code...
My project is on github too

https://github.com/isometric/EasyHackingKeyboard
I broke my Teensy 2.0 desoldering some headers soldering like an idiot so I'm using the 3.1 now.
I'm going to try and refactor the mouse/keybaord libs into something smaller and a bit more sane. I think I have a pretty good grasp of how the HID spec works now though though I really couldn't say the same about their code...