29

Firstly, let me say that I've never seen how a laptop's internal keyboard interface with the motherboard. Hence the question.

The thing is I use an external keyboard and monitor, but I like how internal keyboards are, and I simply can't find a decent external keyboard that makes me happy.

So it just occurred to me if it could be possible to interface an internal keyboard through USB or PS/2, so I could use it as an external one... and so I could be happy once and for all.

Followup:
If anyone wants to know, I ended up buying this keyboard which has a key-layout exactly like a laptop's. It hasn't the touch feel of a real laptop's keyboard (it's noisier), but that was the best I could find at that time.

pkamb
  • 4,775
  • 6
  • 40
  • 52
GetFree
  • 3,230

16 Answers16

12

Here is a solution to enable laptop bottom case keyboards as USB keyboards using a Teensy microcontroller. The author has tested a wide variety of keyboard models, including Dell Inspiron, HP Presario, Sony Vaio, and IBM / Lenovo ThinkPad.

A typical laptop keyboard relies on the motherboard for the scanning circuitry. I use a Teensy microcontroller mounted on a connector board to take over this function.

https://hackaday.com/2018/12/04/teensy-liberates-the-thinkpad-keyboard/

Frank Adams liked the keyboard on his Lenovo ThinkPad T61 so much that he decided to design an adapter so he could use it over USB with the Teensy microcontroller. He got the Trackpoint working, and along the way managed to add support for a number of other laptop boards as well. Before you know it, he had a full-blown open source project on his hands.

Links for this project:

enter image description here

pkamb
  • 4,775
  • 6
  • 40
  • 52
8

I tracked down and purchased the mystery board shown in the answer above.

The keyboard within the tablet case connects via ribbon cable to this PCB, which converts the laptop keyboard to micro USB.

It came from the TA_Keyboard_9inKBCase_GPCT240 tablet keyboard case. This case is notable for having the "ZZZ" key, which you should look for if buying from a random website.

This is available on Amazon and eBay, etc., under titles similar to:

9" Carrying Case Tablet Stand With Keyboard & Stylus For 9" Tablets

The board is labeled GL-NBK14-HY. The ribbon is labeled YT-K07 WJT-261. Tablet keyboard case labeled GPCT240. Item number is possibly 223228583400.

board GL-NBK14-HY

ribbon YT-K07 WJT-261

keyboard case GPCT240

keyboard + board

Happy to share, as the shipping label says:

We don't believe in secrets, so feel free to tell all your friends about us!

I have not yet done any testing with other laptop ribbon cables plugged into this board. Would love to see any research done, especially on if it works with any ThinkPad laptop keyboards!

pkamb
  • 4,775
  • 6
  • 40
  • 52
8

There are controller circuits that will convert a laptop keyboard to usb, i'm currently using one. I'm not sure where you can get them but they obviously exist. They are used to create keyboards for tablets.

Laptop keyboard to usb

Journeyman Geek
  • 133,878
7

There's now a product available for easily using several different types of laptop keyboard ribbon cables via a USB interface.

Product number QK-AK5, possibly made by Rinbers Tech. Available on Amazon, eBay, AliExpress, etc., with titles such as:

Universal Laptop Keyboard Tester Testing Device Machine Tool USB Interface Keyboard Test Tool

It's ostensibly a "testing" device, presumably to easily test refurbished laptop parts.

Updated version: we updated the keyboard tester with 2 more connectors, one is used for testing keyboard of DELL TOSHIBA laptops, like Dell Inspiron N4110, 3521, 3421, Toshiba Satellite A300, L850, L600, C850, L50 and so on, the other is used for testing keyboard of Apple keyboard like a1278 1369 and so on, so this keyboard tester tool is very very useful for your business, actually, I think this tool could be used to test more than 90% laptop keyboard in the market.

Notebook Keyboard Test Tool

pkamb
  • 4,775
  • 6
  • 40
  • 52
Tech
  • 81
7

Doing some research, it turns out that laptop keyboards dont have the controller circuit. They are just the keys with the contacts, and that ribbon cable connects those contacts to the controller circuits which is inside the laptop.
So there is no way to convert that ribbon cable alone to a PS/2 interface. You need first the controller circuit, and only then you can think about converting it to a PS/2 plug.

And depending on how the keyboard's wire matrix is, the ribbon cable will have more or less contacts which match those on the controller. So you either need the exact same controller for the keyboard you want, or you can get a controller from a spare keyboard and manage to rewire the connections to the controller so they match correctly.

GetFree
  • 3,230
6

I did little googling and found how it works inside. Basically every keyboard works the same, when a key is pressed, then current flows between two of the wires on the ribbon cable.

The controller circuit can be taken from any (old) keyboard and you would only need to solder the wires together. Of course then the keys would be probably mixed up randomly, but custom keyboard layout in OS would fix it.

Here are links for techies:

Gareth
  • 19,080
zbycz
  • 179
  • 1
  • 3
6

You just have to ask for it and a good computer shop will simply order it from their distributor.

Here is a catalog of most Acer Laptop Keyboards, please note that this is not a store but rather an extensive catalog, they share the same product code/name as the manufacturers/distributors.

To make the process easier, look for a product code at the bottom of your laptop keyboard.

This keyboard on icecat is compatible with Aspire 4736G/4736Z Series, product code: KB.INT00.261.


Instructions from the service guide hosted on icecat:

(Remove power connector and power first!)

enter image description here

enter image description here

enter image description here

enter image description here

3

This is an old question, but one that I've heard many times over the years and until recently never had a good answer for, but now I do so I'll share:

You can use a Ribbon Cable Breakout Board that requires soldering the ribbon cable on. The best thing to start searching for a breakout board might be to look for ones for breaking out laptop LCDs for connecting to FPGAs (its a weirdly common thing). The breakout board has a set of solder points spaced that match those on your keyboards ribbon cable, so you need to measure that and find a breakout board to match. Once you have those wired up the breakout board will give you large enough points to attach wires to connect it to something like the Teensy, which can act as a usb keyboard. You would need to write some code, but it is simple code, and hobby level, so most people can do it with a bit of reading and following a few tutorials.

The most difficult thing would be connecting the ribbon cable to the breakout board. It can be done, but you may ruin a ribbon cable (and the laptop keyboard it is attached to) or a few in your attempts, so if you are going to try be prepared to buy more hardware in the case you don't get it right the first try. Maybe try with some broken keyboards first (you can probably get some cheap from a PC recycling store).

This might be a good option for someone who has found a keyboard that really works well for them, and is committed to making it work outside the laptop it is designed for.

Everyone has their own taste in interface devices and it can be difficult to find a good fit for some people, so I hope this helps some of those with tastes/needs that do not fit into the usual spectrum of shelf-found products.

3

Internal keyboards typically use a PS/2 interface, but the connectors are not designed in such a way that they could be used easily externally from the laptop. Here is an image of a keyboard being replaced; you can see how the keyboard is attached by a narrow ribbon cable. This is not an industry-standard connection, and varies from laptop to laptop.

laptop keyboard ribbon

If you are looking for a keyboard which feels like a laptop keyboard, there are some that exist. Apple's keyboards have a style almost identical to the popuplar "chiclet" style of keyboard found on many laptops today. They are however very expensive, and I don't personally like the aesthetic.

apple keyboard

Newegg sells a wireless keyboard from i-rocks which is very similar to older non-chiclet laptop keyboards. I haven't personally used it, but it has decent reviews.

newegg's keyboard

Newegg also sells a similar design from Rosewell which looks even more appealing to me:

rosewill keyboard

And Microsoft makes a very nice, spill-resistant, laptop-style keyboard as well, the Digital Media Keyboard 3000. You can probably find it from other retailers as well if you want. I've used one of these before and liked it very much.

Microsoft keyboard

nhinkle
  • 37,661
2

The only stand-alone laptop-like keyboard I've seen is this: Lenovo ThinkPad USB Keyboard with TrackPoint

1

This is the PCB harvested from a SK-8855 ThinkPad USB Keyboard with TrackPoint.

  • SK8855_V0.6
  • Parts Number P/N: 812-00491-02A

This is the ThinkPad / IBM / Lenovo part that allows you to convert a ThinkPad Keyboard to USB.

Keyboards from ThinkPad T410 T420 T510 T520 W510 W520 X220 computer models can be plugged into this board and converted to USB.

812-00491-02A front

812-00491-02A back

The ThinkPad keyboard connector ribbon cable and socket is discussed and identified here:

Links that demonstrate swapping ThinkPad keyboards to USB and vice-versa using this board:

pkamb
  • 4,775
  • 6
  • 40
  • 52
1

A laptop keyboard connects via a ribbon cable, so you would first need to find some way to adapt that ribbon cable to a ps2 or USB connector. Laptop keyboard are also very flat, so it would be difficult to type on in my opinion. Here is basically what you would be dealing with:

alt text

Unless you like to make and modify stuff I would look harder for a real keyboard that you like... or maybe get a roll up keyboard or search for slim keyboards at Newegg.

ubiquibacon
  • 8,244
  • 3
  • 31
  • 37
1

Keysonic appears to be a company that make keyboards with "notebook" layouts, though they all appear to be wireless rather than USB, though I would expect them to come with a USB wireless converter.

While it may not exactly match your machine I suspect it is the closest you will get.

Check out the Keysonic Compact Wireless Keyboard

There is also the Toshiba Slim Keyboard - Notebook Layout that is very similar in style to a notebook keyboard but has a separate number pad.

In general though "notebook layout" keyboards do not appear to be very popular and I would not expect to find one that exactly matches your current keyboard, simply because there are likely to be too many slight variations of notebook keyboards and the design work necessary to turn every one of those in to full working keyboards would be insane.

The keyboard you see in front of you on your laptop is generally just a passive set of wires and contacts and to turn it in to a full USB keyboard would require a keyboard-USB controller, a case, cable and everything and given that there are already a lot of compact keyboards out there to choose from I would not expect any manufacturer to go to the effort.

Oded
  • 1,146
Mokubai
  • 95,412
0

I do not think there is a single solution.. laptop keyboards have different mappings and sized connectors.

There was an answer here that showed a controller/pcb that no one knew where to buy it.. the controller also appears in this video: https://www.youtube.com/watch?v=AKWheG8wKxM

The controller is within cheap ebay leather cased min keyboards with a micro usb.

0

I also like Laptop keyboards as opposed to regular ones.

I used to use an older version of this keyboard: http://www.gyration.com/index.php/us/products/in-air-micekeyboards/go-air-mouse.html#thumb4

Buying a wireless keyboard/mouse suite may not be what you want to do, especially if you are not fond of the wireless mouse idea, but the keyboard was pretty excellent (at least when I used it)

0

If you need a replacement part, the best source is one of the several outfits that disassemble damaged laptops into component parts.

If you want a desktop keyboard that matches your laptop keyboard, lotsa luck. I prefer a "compact" keyboard without the extra keypad, etc, and they are scarce as hen's teeth. And the few you can find are poor quality or have the keys laid out strangely. Used to be (maybe 10 years ago) that there was an outfit in Kentucky that made nice keyboards in various styles, but they went out of business, and now all you can find is the standard monstrosity, for the most part.