Page 1 of 1
[Help!] Problem with my custom keyboard with teensy
Posted: 17 May 2016, 15:31
by Cortes
Hello, I've finished making a keyboard with teensy 2.0 + TMK, but I have a problem.
The keys of the column 17 do not work.
The funny thing is that when you press keys column 16 are pressed together adjacent column 17.
Example:
ScrollLock + ScrollLock = Pause
Home = Home + Pageup
End = End + PageDown
Down = Down + Right
The cables have checked with multimeter and well
Use base files GH60
Here I have the files:
https://dl.dropboxusercontent.com/u/505 ... /Torii.rar
Appreciate it some help.
And sorry for the English, I'm using google translator
xD
Posted: 17 May 2016, 17:36
by Matt_
Hi, and welcome to the forum. Have you wired diodes properly on columns 16 and 17?
Posted: 17 May 2016, 18:01
by matt3o
we might also need to see some pictures of the actual wire job
Posted: 17 May 2016, 18:02
by Cortes
If soldiers are properly, besides, I changed a few diodes by new ones if the problem was, but it was not.
The Rshift in that photo was wrong wiring, and this corrected
Nor is there shorts with crossed wires
Posted: 17 May 2016, 18:11
by matt3o
are you sure there are no shorts on the teensy pads? I see some extreme wire bending there
Posted: 17 May 2016, 18:15
by Cortes
This afternoon I will try to change the cable D1 to E6 cable, hopefully this will solve anything.
And if there are no shorts, I checked many times xDDDD
EDIT: I tested again all cables, plus I've changed several pin cables.
Row17 pin B1 to E6
Row16 pin B2 to B1
It is there some error in the code :S
Posted: 18 May 2016, 04:39
by Cortes
It is not fault wiring or the code, is failure programming language.
I read that does not support more than 16 columns, and I'll have to use the Soarer's keyboard controller firmware xD
User jgrade on this thread, same problem:
workshop-f7/how-to-build-your-very-own- ... ml#p150020
Or this:
workshop-f7/rebuilding-and-redesigning- ... ml#p146279
Another possible solution would be to adapt the firmware of my keyboard phantom, using 6 rows and 17 columns as my keyboard.
I'll have to relearn how to do everything xD
EDIT: I have corrected the code that put mtl
Code: Select all
static matrix_row_t read_cols(void)
{
return (PIND&(1<<7) ? 0 : ((matrix_row_t) 1<<0)) |
(PINB&(1<<4) ? 0 : ((matrix_row_t) 1<<1)) |
(PINB&(1<<5) ? 0 : ((matrix_row_t) 1<<2)) |
(PINB&(1<<6) ? 0 : ((matrix_row_t) 1<<3)) |
(PINF&(1<<7) ? 0 : ((matrix_row_t) 1<<4)) |
(PINF&(1<<6) ? 0 : ((matrix_row_t) 1<<5)) |
(PINF&(1<<5) ? 0 : ((matrix_row_t) 1<<6)) |
(PINF&(1<<4) ? 0 : ((matrix_row_t) 1<<7)) |
(PINF&(1<<1) ? 0 : ((matrix_row_t) 1<<8)) |
(PINF&(1<<0) ? 0 : ((matrix_row_t) 1<<9)) |
(PIND&(1<<4) ? 0 : ((matrix_row_t) 1<<10)) |
(PIND&(1<<5) ? 0 : ((matrix_row_t) 1<<11)) |
(PINC&(1<<7) ? 0 : ((matrix_row_t) 1<<12)) |
(PINC&(1<<6) ? 0 : ((matrix_row_t) 1<<13)) |
(PIND&(1<<3) ? 0 : ((matrix_row_t) 1<<14))|
(PIND&(1<<1) ? 0 : ((matrix_row_t) 1<<15))|
(PIND&(1<<0) ? 0 : ((matrix_row_t) 1<<16))|
(PINB&(1<<7) ? 0 : ((matrix_row_t) 1<<17))
;
}
Toriiboard
Plate: steel (from Gigabyte Aivia Osmium)
Switches: mx blue
Case: stainless steel plates
Keycaps: cheap abs (from Gigabyte Aivia Osmium)