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)
-multimeter
-soldering iron
-screwdriver
-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."

Participated in the
Epilog Challenge
39 Comments
3 years ago on Step 4
That link to the Synaptics company website has absolutely 0 technical specs anywhere on the site and even doing searches for anything remotely related to pinouts of their products comes back with nothing found.. waste of time to try and look there, trust me... natta nothin..
6 years ago
Hi,
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
Thanks
Reply 4 years ago
Hi! The video at the end of my reply is a great tutorial on how to find the pins. On my board, they were actually really logically labeled (TG for ground, TV for VCC, TC for clock, and TD for data). https://www.youtube.com/watch?v=XdznW0ZuzGo
7 years ago
Got a broken Toshiba LAPTOP from a friend & love to try this out!
10 years ago on Introduction
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.
Reply 8 years ago
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?
Reply 8 years ago
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.
Reply 8 years ago
sorry I had a big mental fart. I meant chromebook -_- but thanks I'll look into that
12 years ago on Step 6
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):
https://www.instructables.com/id/How-to-build-your-own-USB-Keylogger/step3/Solder-First-Zone/
Reply 8 years ago on Step 6
look at step one again.
10 years ago on Step 4
I need a pinout/diagram for a TM41PUG350
13 years ago on Step 6
i don't know for sure but ctrl click should work!? try it out
Reply 10 years ago on Introduction
Wait, what? That only works in Mac.
10 years ago on Introduction
Based on the button above the trackpad and the indicator lights below I have that same laptop and same exact trackpad. I will follow your steps quite nicely
11 years ago on Introduction
I'm working on a different project, but has anyone found a simple way to take the glue off of the sensor?
Reply 11 years ago on Introduction
I used rubbing alcohol for those things, and a q-tip
11 years ago on Step 4
Does anybody have the pinout for the Synaptic TM-00372-005? If so please give it to me.
11 years ago on Step 4
Mine is TM-00372-011 I need pinout quick
Reply 11 years ago on Step 4
please PM me
14 years ago on Introduction
hum... any idea on how to do usb?