USB Keyboard adapter - working

T60/T61 series specific matters only
Post Reply
Message
Author
rampadc
Posts: 19
Joined: Wed May 08, 2013 8:13 am
Location: Adelaide, Australia

USB Keyboard adapter - working

#1 Post by rampadc » Sat Sep 14, 2013 2:40 pm

Hey guys, I started working on a T60 USB keyboard adapter that connects both the trackpoint and keyboard about 4 months ago. Today, I got it working. This is a video showing it at work! https://www.youtube.com/watch?v=50qiHnZofSY Sorry about the poor video quality but that's the max resolution my iPad goes up to.

I don't think that I'll be sharing the source code. Reason being my code isn't the best implementation there is, the code is fairly messy so it would require some documentation to understand, and I'm using an MSP430 microcontroller which is fairly unpopular among hobbyists.

As far as the adapter goes, I guess it would work with most to all T60 keyboards. I'm testing this with a 42T4066 from eBay, which I don't think is genuine at all. Now given that the R60, R61, T61 and Z60 uses the same connector and the same keyboard (searching through eBay returns the same keyboards), I would assume this would work with those as well.

dr_st
Senior ThinkPadder
Senior ThinkPadder
Posts: 6654
Joined: Sat Oct 29, 2005 6:20 am

Re: USB Keyboard adapter - working

#2 Post by dr_st » Sun Sep 15, 2013 12:22 am

Impressive work! :bow:
Current: X220 4291-4BG, T410 2537-R46, T60 1952-F76, T60 2007-QPG, T42 2373-F7G
Collectibles: T430s (IPS FHD + Classic Keyboard), X32 (IPS Screen)
Retired: X61 7673-V2V, A31p w/ Ultrabay Numpad
Past: Z61t 9440-A23, T60 2623-D3U, X32 2884-M5U

rampadc
Posts: 19
Joined: Wed May 08, 2013 8:13 am
Location: Adelaide, Australia

Re: USB Keyboard adapter - working

#3 Post by rampadc » Mon Sep 16, 2013 7:23 am

dr_st wrote:Impressive work! :bow:
Thanks. I'm thinking of porting this to Arduino, hoping it would perform better in terms of connecting to the computer. Right now I'm having a some trouble with getting the computer to recognize the mouse part of the device.
I need more keyboards to play with :|

rweickelt
Posts: 2
Joined: Mon Sep 16, 2013 9:53 am
Location: Berlin, Germany

Re: USB Keyboard adapter - working

#4 Post by rweickelt » Mon Sep 16, 2013 12:34 pm

Great! I admire Your tenacity and persistence in this topic. I ripped off a keyboard connector from a broken T60 mainboard and soldered it to a breakout board. Could You please share the pinning You got so far? Just from looking at the mainboard I got this:
| 1  |     | 40 |     |
| 2  |     | 39 | VCC |
| 3  |     | 38 | GND |
| 4  | NC  | 37 | GND |
| 5  | GND | 36 |     |
| 6  |     | 35 |     | 
| 7  |     | 34 |     |
| 8  |     | 33 |     |
| 9  | NC  | 32 |     |
| 10 | NC  | 31 |     |
| 11 |     | 30 |     | 
| 12 |     | 29 |     |  
| 13 |     | 28 |     |
| 14 |     | 27 |     |
| 15 |     | 26 |     |
| 16 |     | 25 |     |
| 17 |     | 24 |     | 
| 18 |     | 23 |     |
| 19 |     | 22 |     |
| 20 |     | 21 |     |
Don't hesitate to share Your code. I am familiar with the MSP430 as well as AVR and would love to contribute to a port. Sounds like a good project for the upcoming autumn.

rampadc
Posts: 19
Joined: Wed May 08, 2013 8:13 am
Location: Adelaide, Australia

Re: USB Keyboard adapter - working

#5 Post by rampadc » Mon Sep 16, 2013 1:29 pm

rweickelt wrote:Don't hesitate to share Your code. I am familiar with the MSP430 as well as AVR and would love to contribute to a port. Sounds like a good project for the upcoming autumn.
If you already know AVR, talk to Lars Pontoppidan. Google him. He uses an Atmel microcontroller to interface with his T6000x (I think that's the model).
rweickelt wrote:Could You please share the pinning You got so far?
There are a few T60 schematics out there. I'm not sure what the policy here is on sharing files so you will need to search it up yourself. Anyway, you first need to know where pin 1 is. In the T60 ribbon cable case, pin 1 is on the opposite side to the pointy end. Given that is the case, the pinout I'm working with is:
42	GND	|	| GND		41

2	ROW4	|	| FN KEY	1
4	ROW5	|	| COL5		3
6	ROW8	|	| COL0		5
8	ROW6	|	| COL3		7
10	ROW3	|	| COL2		9
12	ROW7	|	| COL4		11
14	ROW2	|	| COL1		13
16	ROW10	|	| COL6		15
18	ROW1	|	| COL7		17
20	ROW9	|	| PWRSWTICH	19
22	ROW0	|	| NC		21
24	ROW11	|	| NC		23
26	ROW14	|	| UNSURE	25
28	ROW12	|	| UNSURE	27
30	ROW15	|	| UNSURE	29
32	ROW13	|	| GND		31
34	GND	|	| NC		33
36	GND	|	| NC		35
38	TP_5V	|	| TP_DATA	37
40	TP_RST	|	| TP_CLOCK	39

44	GND	|	| GND		43
How did you do yours so perfectly aligned?
Last edited by rampadc on Tue Sep 17, 2013 5:24 am, edited 2 times in total.
I need more keyboards to play with :|

rweickelt
Posts: 2
Joined: Mon Sep 16, 2013 9:53 am
Location: Berlin, Germany

Re: USB Keyboard adapter - working

#6 Post by rweickelt » Mon Sep 16, 2013 2:52 pm

That's smart! I've not even thought about searching for a leaked thinkpad schematic. Thank You. Found it. That also explains the pin-numbering in Your post and the reason why You are sure about the connector type.

Regarding the alignment: Have a look into the BBCode documention and the tag "pre" for preformatted text.

rampadc
Posts: 19
Joined: Wed May 08, 2013 8:13 am
Location: Adelaide, Australia

Re: USB Keyboard adapter - working

#7 Post by rampadc » Tue Sep 17, 2013 5:25 am

rweickelt wrote:Regarding the alignment: Have a look into the BBCode documention and the tag "pre" for preformatted text.
Wonderful. Thanks for that.
I need more keyboards to play with :|

Post Reply
  • Similar Topics
    Replies
    Views
    Last post

Return to “ThinkPad T6x Series”

Who is online

Users browsing this forum: BigT0ny and 4 guests