[Help!] Problem with my custom keyboard with teensy

User avatar
Cortes

17 May 2016, 15:31

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.

Image

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 :oops: xD

Matt_

17 May 2016, 17:36

Hi, and welcome to the forum. Have you wired diodes properly on columns 16 and 17?

User avatar
matt3o
-[°_°]-

17 May 2016, 18:01

we might also need to see some pictures of the actual wire job

User avatar
Cortes

17 May 2016, 18:02

Image

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

User avatar
matt3o
-[°_°]-

17 May 2016, 18:11

are you sure there are no shorts on the teensy pads? I see some extreme wire bending there

User avatar
Cortes

17 May 2016, 18:15

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

User avatar
Cortes

18 May 2016, 04:39

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)

Image

Image

Image

Image

Post Reply

Return to “Workshop”