Author Topic: Need help identifying some pins on keyboard matrix  (Read 2233 times)

0 Members and 1 Guest are viewing this topic.

Offline yzdnegel

  • Thread Starter
  • Posts: 16
Need help identifying some pins on keyboard matrix
« on: Sun, 27 June 2021, 13:29:59 »
271378-0

So right now I'm in the middle of replacing my TKL microcontroller and adding a trackpoint and rotary encoder (might add a OLED screen too). I have mapped the whole matrix and all the rows and columns. What's left is to identify the circuits for the USB/JST connector (see the image the pins marked with a red circle, you might have too zoom in a bit).

On the left side pins I believe that the bottom two pins are ground and the upper are some sort of USB (not sure tho)
On the right side pins (2x2) I think that the bottom two pins also are ground (not sure about these either).

Bonus question: Am I right to assume that the pins that don't have any wires/circuits leading up to it are empty and can be ignored?

Help would be greatly appreciated!  ;D

Offline suicidal_orange

  • * Global Moderator
  • Posts: 4771
  • Location: England
Re: Need help identifying some pins on keyboard matrix
« Reply #1 on: Sun, 27 June 2021, 16:02:40 »
Good work :thumb:

The PCB looks to be single sided so if there is no trace going to a pin it goes nowhere and is available to use for your trackpoint or OLED.

There are two pins on the JST that have black wires, those would be ground and shield ground and they go to the bottom two pins in both the red circles as you said.  The other side (blue on the JST) is 5v and that goes to the pin above the two grounds on the left.

The USB data pins don't have as much current so are much thinner, these go to the top two of the right red circle set.  In a standard USB cable D- is white and next to 5v while D+ is green and next to ground and that matches your JST so that's probably accurate.  If not it just wont work and you would need to swap them, no harm done.  It's only if you plug the 5v into a data pin that you release the magic smoke.

I'm not sure where the top pin of the left set goes - maybe it loops under the JST socket to be yet another ground?  Just ignore it, you have somewhere to connect all four of the wires needed to get the USB to the Teensy.
« Last Edit: Sun, 27 June 2021, 16:04:24 by suicidal_orange »
120/100g linear Zealio R1  
GMK Hyperfuse
'Split everything' perfection  
MX Clear
SA Hack'd by Geeks     
EasyAVR mod

Offline yzdnegel

  • Thread Starter
  • Posts: 16
Re: Need help identifying some pins on keyboard matrix
« Reply #2 on: Mon, 28 June 2021, 06:27:07 »
Good work :thumb:

The PCB looks to be single sided so if there is no trace going to a pin it goes nowhere and is available to use for your trackpoint or OLED.

There are two pins on the JST that have black wires, those would be ground and shield ground and they go to the bottom two pins in both the red circles as you said.  The other side (blue on the JST) is 5v and that goes to the pin above the two grounds on the left.

The USB data pins don't have as much current so are much thinner, these go to the top two of the right red circle set.  In a standard USB cable D- is white and next to 5v while D+ is green and next to ground and that matches your JST so that's probably accurate.  If not it just wont work and you would need to swap them, no harm done.  It's only if you plug the 5v into a data pin that you release the magic smoke.

I'm not sure where the top pin of the left set goes - maybe it loops under the JST socket to be yet another ground?  Just ignore it, you have somewhere to connect all four of the wires needed to get the USB to the Teensy.

Damn thanks a ton!! :D this project would never be possible without you haha learned so much
(for anyone wondering, the left two wires of the JST connectors are a quickfix when I accidentally broke of the wire :'( )