Turn a Trackpad From a Broken Laptop Into a PS/2 Mouse





Introduction: Turn a Trackpad From a Broken Laptop Into a PS/2 Mouse

A friend gave me a broken HP Pavilion laptop. With just a little work, you can remove the trackpad and connect to a PS/2 or 9-pin Serial port . Connect to your PC and use as a simple mouse, or even wire to an Arduino for a unique interface for your project. You can make this project entirely from recycled parts you may just have lying around.

What you need:
-trackpad (I used a Synaptics TM41PUZ307)
-male PS/2 connector with cable (or a 9-pin serial)
-soldering iron
-razor blade
-electrical tape

Step 1: Remove Trackpad From Laptop

Unscrew all the parts to the trackpad. Gently pry up any plastic. I used a hair dryer to help loosen the glue that held the pad to the laptop palm rest.

Step 2: Salvage a PS/2 Cable

I removed the PS/2 cable from an old broken keyboard. Alternatively, you can also wire to a 9-pin Serial cable.

Step 3: Cofirm Pinout of PS/2 Cable

Use a multimeter to confirm what the pinout of the PS/2 cable is.
Your wire colors may differ, mine where as follows:
pin1 = DATA = Red
pin3 = GND = Grey
pin4 = +5V = Brown
pin5 = CLK = Yellow

Or, you can wire to a 9-pin Serial port old school mouse style. This is also nice idea to use on a desktop as a secondary mouse.
pin4 = DATA
pin5 = GND
pin7 = CLK
pin8 = +5V

*You could even wire to an AT keyboard.

Step 4: Find Pinout for Trackpad.

Use the Internet and search for the pinout of your pad. Or you could use your multimeter again.
Synaptics has a great resource for helping you determine the pinouts of many of their models HERE.
My Synaptics TM41PUZ307 wasn't on the list, but an internet search turned up this:
pin5/6 = GND
pin7/8 = CLK
pin9/10 = DATA
pin11/12 = +5V

Step 5: Solder

I used a razor blade to carefully cut the ribbon cable to connect the 4 wires from the PS/2 cable. A quick dab of some cooling solder (too hot and you'll destroy the cable) and some electrical tape to reinforce.

Step 6: Mount

Ok, you'll want to test first. Just plug it in quickly and the standard windows mouse driver should work just fine. Without installing any drivers, I was able to navigate the mouse, left click, and use the mouse scroll wheel. I mounted it on my keyboard for now. But I plan on eventually using it in an Arduino project. Details on interfacing a trackpad to an Arduino can be found HERE
If you wish to use with USB, you must purchase a "PS/2 to USB Keyboard and Mouse Converter."



    • Paper Contest 2018

      Paper Contest 2018
    • Pocket-Sized Contest

      Pocket-Sized Contest
    • Science of Cooking

      Science of Cooking

    We have a be nice policy.
    Please be positive and constructive.





    I'm unable to find the datasheet/specs of my touchpad so I don't know the pinout...

    Can someone tell me how to do so with a multimeter ?

    Synaptics TM2997 / 920-002811-01rev2


    Got a broken Toshiba LAPTOP from a friend & love to try this out!

    I have a pad from a now gone HP Pavillion laptop circa 2005 hooked to my desktop. I couldn't find the pinouts to it online but a little multimeter work found what I needed. It is a Synaptics model. Forgot the model and don't feel like pulling the tape off it to find the model number. The pinout was easy. There were only 6 points on the connection and 3 of them were GND. VCC was easy to find as well. That left the DATA and CLK to guess. 50/ 50 chance and I got it right first time. With the official Synaptics driver that was released around April I now have Mac like gesture abilities with it. I don't even have physical buttons since I set it up with all possible functions I use on my mouses with the driver on the right side of the pad.

    Fun to use when I get tired of moving my whole arm around on the mouse.

    im trying to determine pinout on a chromecast touch pad, the flex cable also has 6 pins. my question is how do you determine which cable is GND, VCC data and clk?

    Chromecast touchpad? I looked but no such thing exists. Chromecast is a dedicated device for streaming media to from other devices. There is no mention of a dedicated chromecast touchpad anywhere. Best bet is to follow what I did to determine the power and ground connections. They will be thicker lines. The signal lines will be thin. Then you have to determine if it's PS/2 or USB as well as which ones are CLK and DATA (for PS/2) or DATA + and DATA - (for USB). Best bet is to look at the pad model label (if it's still on the pad) and see if you can find the tech specs for it. The wiring pinout will be in the specs if they can be found. That's all I can provide.

    sorry I had a big mental fart. I meant chromebook -_- but thanks I'll look into that

    like recordmasta001 said, how do you right clik? but first of all, is it even possible to right click?
    and for my own trackpad, i used a usb-B connector(went on pinout.ru and search for the usb connector page)
    and i got help from this instrutables(thanks Jamby):

    I need a pinout/diagram for a TM41PUG350

    i don't know for sure but ctrl click should work!? try it out