Author Options:

What do I need to do to make my own computer PS2 mouse from scratch? Answered

I want to make my own PS2 style computer mouse (so I can learn better how one works, and get my own personal style, hack able computer mouse), but I frankly have come to a stand still. I have searched the internet and found things explaining how a mouse works, which isn't very helpful in building one. I have been able to find pin-outs, which told me a mouse runs on 5 volts, has one pin for data and a clock pin (as well as a ground pin, but what don't have a ground pin?). I have also been successful in finding the order in which data was sent out, but the way it was said and displayed wasn't very helpful.

What I am asking for is the frequency the clock runs at, and a more usable code explanation (what information is sent, and if I am receiving any information, what can I expect). Source code would be absolutely amazing (just specify the processor), but I don't expect anyone but the one who programs PS2 computer mice would have it. in the end I just want examples of what comes out the data pin, and what the numbers mean.

This is ultimately going to be applied to an arduino, if that helps with anything. (I know an arduino has its own clock, but I still want to know the frequency of the clock pin just so I could figure what data I should send)


The forums are retiring in 2021 and are now closed for new topics and comments.

Answer 8 years ago

Thank you so much, this is just what I needed.