logo elektroda
logo elektroda
X
logo elektroda

Mouse museum - gallery - inside an old PS/2 ball mouse, how does it work?

p.kaczmarek2 4980 29
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
📢 Listen (AI):
  • Old Trekker and A4Tech computer mice with PS/2 cables. .
    I will present here the insides of several old computer mice. Some of these mice are only two-button and do not even have a wheel. Here we will see how they are built and what circuits they are based on, we will also look at their communication protocol. What does the ball mouse look like inside? Let's find out.

    Trekker mouse .
    We start with a mouse without a wheel. Personally I don't remember ever having one, was it even possible to work on this? What were those times like? That's all I can find out from your comments.
    Old Trekker computer mouse with two buttons on a wooden surface.
    Trekker Two Button Mouse 2.0A PS/2 Compatible
    PN X04-81530 90318-OEM-
    5V 15mA

    Old Trekker computer mouse with a visible label on its bottom. .
    Unscrew one screw and look inside:
    An old Trekker mouse on a wooden surface next to a screwdriver with a removed screw. .
    The mouse is based on the SPMC01A-19B. In the centres you can see two buttons (left and right) and two diode-phototransistor pairs, one each for the X and Y axis.
    Interior of a disassembled ball mouse showing the circuit board and components .
    These teeth, due to the rotation of the ball, cover and expose the diode and the phototransistor collects the pulses and determines the movement on this basis. But we still need to know which way the movement is, for this reason two phototransistors are needed per axis. Here, by the way, you can see that the diode has two legs and the receiver has three:

    Printed circuit board with exposed tracks and soldered connections. .
    A similar concept with encoders is used in printers and I discussed this in more detail in the printer topic:
    Teardown of the HP Deskjet D1360 printer and an example of using its parts with Arduino .
    The same mechanism is also, for example, with the scanner motor from the printer, a DC motor, as manufacturers do not want to use stepper motors there as a cost-saving measure:
    DC motor with a circuit board on a workbench. DC motor from a printer with a visible encoder. Small DC motor with an encoder from a dismantled printer. .
    Anyway, see to the mentioned topic , there I implement support for this in the Arduino.
    Interior of a classic ball mouse. Interior of an old ball mouse without a scroll wheel. Interior of an old ball mouse with visible SPMC01A-19B chip and dirt. Inside view of old ball computer mice Interior of an older ball mouse with electronic components. .
    Let's get the ball rolling:
    Interior of an old ball mouse without the ball Interior of an old ball mouse, consisting of a casing and a circuit board. Interior of a computer mouse with SPMC01A-19B chip from 1999 Circuit board of a computer mouse with electronic components. Close-up of a circuit board from an old computer mouse with visible electronic components. Close-up of a circuit board from an old computer mouse with visible electronic components.

    Trekker mouse with wheel .
    The second mouse is also a Trekker, this time 3.0A, interestingly here at 5V and 20mA current rather than 15mA. Is this because there is a wheel here too?
    Old Trekker computer mouse with PS/2 connector on a wooden background. .
    PN X05-53753 Product ID 83351-OEM-
    .
    Old Trekker ball mouse with visible cable and PS/2 connector on a wooden table. .
    The screw is behind the ball:
    Old ball mouse Trekker without the ball. Interior of an opened Trekker ball computer mouse on a wooden table. .
    Here we have two additions - a third axis (wheel) and a third button.
    Inside view of an old ball mouse with an opened casing. The image shows the interior of an old ball mouse with visible internal components. Interior of an old ball mouse showing electronic components. .
    But the third axis is realised in the same way as the first two:
    Inside view of an old ball computer mouse with electronic components .
    The controller is the SPCP05A-04B:
    The interior of an old ball mouse with a close-up on the SPCP05A-04B chip. Interior of a Trekker ball mouse with visible circuit board. .
    Ball attachment:
    Photo of the underside of a ball mouse with the ball visible. Trekker ball mouse with identification stickers on the casing. Photo of the bottom of an old Trekker ball mouse showing the ball. .
    It is interesting to note that the SPCP05A is programmable:
    PS/2 3D mouse controller documentation. .


    Third Trekker Third Trekker.
    This time a mouse with a wheel but rated at 5V 15mA, could it be that they have optimised something?
    Old Trekker computer mouse with PS/2 plug.
    Old computer mouse lying on a wooden surface, with visible cable and green connector. .
    We take a look inside - the build is very similar to previous builds. This one is based on the SPMC01A-19B:
    Interior of an old ball mouse with visible SPMC01A-19B chip and electronic components. Interior of an opened ball mouse showing electronics and mechanism. Interior of a disassembled ball mouse with old mechanism Interior of an old ball mouse showing visible electronic components. Inside of a disassembled ball mouse. Interior of an old computer mouse with visible electronic components .
    Removed:
    Interior of an old computer mouse with a circuit board. Interior of a disassembled computer mouse on a wooden surface .

    A4Tech OK-720 .
    Time for a break from the Trekker. This time a mouse under the famous A4Tech logo:
    Old A4Tech computer mouse with PS/2 connector on a wooden table. .
    
    Fast Mouse 
    OK-720
    12V.....10mA
    
    .
    12V? It's the PS/2 port that doesn't have 5V?
    Identification sticker on the bottom of the A4Tech OK-720 mouse Back of an old A4Tech OK-720 mouse on a wooden surface. .
    This mouse is two-button, but the board was also for the wheel version:
    Interior of an old ball mouse showing the mechanism. Interior of an old ball mouse with visible electronics and ball .
    The date on the board is 2000-12-15, at this point it's about 24 years ago! The main controller is an EM84502AP.
    Circuit board of an old computer mouse with electronic components. .
    Switches:
    Inside view of a circuit board from an old computer mouse with visible wires and a PS/2 connector. .
    Simple, single-sided board:
    EM84502AP chip on the PCB of an A4Tech OK-720 mouse. Interior of an old computer mouse with visible circuit board and wiring. Printed circuit board with electronic components from an old computer mouse. Interior of an old computer mouse with visible EM84502AP chip Printed circuit board from a computer mouse with a PS/2 connector cable. .
    The EM84502AP, on the other hand, does not appear to be programmable:
    General description and features of the EM84502 mouse controller. .

    Slightly newer Genius .
    Another mouse:
    Old Genius computer mouse with cord and PS/2 plug on a wooden surface. .
    Model: NetScroll, a little less information.
    Bottom of NetScroll mouse with label and cord .
    Looking in:
    Back of an old ball mouse on a wooden table. .
    As usual, the mouse qualifies for cleaning inside:
    Interior of an old ball mouse showing the ball and mechanism. .
    Oh, that's interesting, here the wheel is implemented differently - there is an encoder for the wheel.
    Interior of an old ball mouse with circuitry and scroll wheel Interior of an old computer mouse with visible circuit board and wheel. Inside view of an old computer mouse with visible PCB and components. .
    But where is the integrated circuit? Let's make the PCB free:
    Interior of an old computer mouse with visible components Interior of an old ball mouse with electronic components on a circuit board. Inside of an old computer mouse with a visible encoder and colored wires Interior of an old computer mouse with a visible encoder and colored wires. .
    Unfortunately.... and the wires are also soldered to the PCB, you can see that they have learned to save money over time. Why pay for a plug and connector?
    Interior of an old computer mouse with visible circuit board and wiring.

    Profiled mouse .
    Now it is time for equipment that is not symmetrical:
    Old ball mouse with a cable ending in a PS/2 plug, lying on a wooden table. .
    This time without the ball. We are looking for a screw:
    Label on the bottom of an old Microsoft IntelliMouse. Photo of the bottom of an old PS/2 computer mouse with a screw for opening the case. .
    We take a look inside:
    Interior of a disassembled ball mouse showing the circuit board and mechanical components. .
    This mouse is based on the SPCP05A:
    Inside view of an old computer mouse featuring the SPCP05A-04B chip. Interior of an old computer mouse with SPCP05A-04B chip Interior of a computer mouse showing mechanical components. .
    I have already mentioned the SPCP05A a few mice above.

    This is another one.... but without the ball .
    A slightly newer mouse this time - a laser mouse. Do you prefer this solution or the classic ball-and-socket?
    Old A4Tech computer mouse with PS/2 cable on a wooden table.
    Old ball mouse with PS/2 cable on a wooden surface. .
    Let's take a look inside:
    Interior of an old computer mouse with visible electronic components. .
    Someone here has replaced the wire and without soldering.
    Interior of an old laser mouse with TP8472BP chip .
    The mouse is based on the TP8472BP.
    Inside old computer mice with a visible scroll wheel and electronic circuits. Interior of an old computer mouse with visible circuit board and electronic components. PCB board inside an old computer mouse. Interior of a classic computer mouse with a circuit board and connector. Close-up of a printed circuit board inside an old computer mouse. .
    The U2 is probably an optical sensor, so the layout probably looks more or less like this:
    Connection diagram of a laser mouse with TP8472 and HDNS-2000 ICs .
    The optical sensor receives the light from the LED reflected from the desk and converts it into movement along the X/Y axis.

    Mouse communication protocol with PS/2 .
    We will use the EM84502AP catalogue note here. But first we will start with the basics.
    Here we have 4 signals:
    - 5V
    - ground
    - clock (CLK)
    - data (DATA)
    Communication here is bidirectional. Normally it is the mouse that sends data to the computer.
    The clock and data are pulled up to 5V through resistors.
    The data sent to the PC is read during the falling edge of the clock.
    One byte is sent between the start bit (0), the parity bit (1 if the number of ones is even), and the stop bit (1).
    Diagram of data transmission in a PS/2 mouse with clock and data signals. .
    The format of the frame reported by such a mouse is really very simple. The individual bits correspond to the keys, we also have bits encoding the characters and the X and Y overflow, and separately we have the 8-bit values of these X and Y.
    Data report format for a mouse, divided into bytes and bits. .
    Now just a question, how can we here still add sending data to the mouse from the computer? Or to the keyboard, e.g. sending Caps Lock?
    If the host wants to send data, it just has to signal it - set a low state on the clock line for at least 100 microseconds, then the data line too. Then the clock is released and the mouse controls it again, then the data transfer takes place. The data sent by the PC to the mouse is read on the rising edge of the clock:
    PS/2 mouse communication diagram. .
    The catalogue note also describes the commands that this chip receives:
    Table of PS/2 mouse commands with hexadecimal codes and corresponding EM84502 echo codes. .
    Of course, these are not commands just for this chip, they are basically standard, you can read more here: https://wiki.osdev.org/PS/2_Mouse

    Perhaps for a more detailed presentation of the protocol I will try to implement it e.g. on an AVR, but there are also ready-made libraries for Arduino under keyboard and mouse on the internet, e.g:
    https://github.com/PaulStoffregen/PS2Keyboard
    https://github.com/jazzycamel/PS2Mouse
    You can take a look at their code to see how the implementation of the communication protocol looks like in practice.

    Summary .
    I myself already started with a USB mouse so the topic of older versions of "rodents" interested me enough to make the gallery shown here. Probably the biggest curiosity I got from this topic is that older ball mice work on the same principle as encoders from printers, which I discussed in a separate topic:
    Teardown of an HP Deskjet D1360 printer and an example of using its parts with an Arduino .
    By the way, I already showed a mouse on the forum, but one still on RS232:
    Interior of an old RS232 ball mouse and its communication protocol .
    Aside from that, I'd like to add that I'm nostalgic for this type of mouse - these were in my primary school computer lab. What kind of mice have you used? Do you have any interesting exhibits?

    Cool? Ranking DIY
    Helpful post? Buy me a coffee.
    About Author
    p.kaczmarek2
    Moderator Smart Home
    Offline 
    p.kaczmarek2 wrote 12305 posts with rating 10194, helped 582 times. Been with us since 2014 year.
  • ADVERTISEMENT
  • #2 21221463
    tos18
    Level 42  
    You have brought back memories.
  • #3 21221601
    pawlik118
    Level 33  
    Is the communication in mice with an RS232 connector the same?
    In other words, if I put an RS232 plug into an optical mouse, will it work on "old computers" (without PS/2)?
  • #5 21221612
    jajacek44
    Level 25  
    @pawlik118 unfortunately not .
    There were "special" mice and PS2 , and RS232 supplied with an adapter (cables only) .
  • #6 21221641
    LA72
    Level 41  
    And here's something similar.
    A mouse from an Amiga under DB9.
    This is how it came to me.
    Here pics before restoration and repair.

    Old computer mouse for Amiga before refurbishment. Old Commodore computer mouse from 1993, viewed from the bottom. Interior of a disassembled computer mouse from an Amiga, with visible electronics and wires. Interior of an Amiga computer mouse with cables and a wiring diagram. Electronic circuit of a Mitsumi mouse for Amiga, before restoration. Printed circuit board from Amiga mouse before refurbishment.

    With wiring diagram on the wire.
    Drawing of a DB9 connector wiring diagram for an Amiga mouse. .
  • ADVERTISEMENT
  • #7 21221903
    acctr
    Level 38  
    Interesting thing about these holographic stickers.
    It shows an attempt to combat fakes. I remember from the beginning of the century pictures on TV of a steamroller smashing up counterfeit computer equipment, including mice, in protest.
    Today, no one fights it any more and the world has come to terms with the flood of rubbish, even from well-known brands.
    Helpful post? Buy me a coffee.
  • #8 21221962
    ZnAl
    Level 15  
    p.kaczmarek2 wrote:
    12V? It's the PS/2 port that doesn't have 5V?
    .
    Probably the mouse was also adapted for RS232, where such a voltage can appear.
    jajacek44 wrote:
    There were "special" mice and PS2 , and RS232 supplied with an adapter (cables only) .
    .
    E.g. such as this one: https://www.robotyka.net.pl/mysz-ps2-i-przejsciowka-na-rs232/
  • #9 21221973
    a_noob
    Level 23  
    At my place so far the ball mouse is working at the computer to operate the cutting plotter and is doing very well! Two months ago I changed the monitor to an LCD because the CRT got "foggy" :D .
  • ADVERTISEMENT
  • #10 21222033
    misiek1111
    Level 36  
    I saw one a long time ago which, instead of a scroll wheel, had a small bar sticking out:
    Computer mouse with a scroll stick instead of a traditional wheel .

    By pushing, or pulling it towards you, you achieved a scrolling movement on the screen proportional to the pressure.
    It was fast and convenient. Unfortunately, despite searching, I have not been able to find another one like it.
  • #11 21222041
    szeryf3
    Level 29  
    Blimey, and a few days ago, while doing some tidying up for an older colleague, I disposed of some technical relics.
  • #12 21222554
    ArturAVS
    Moderator
    I've been using wireless "chews" for a few years now (mostly in keyboard+mouse sets). In the spring, I bought a Logitech set. It works with infrared. Supposedly the claimed run time on one set of batteries is a year (for KB+Mouse), after about a month it loses range (batteries are Varta Industrial). A similar set, no-name in the workshop, runs for over a year on the same batteries in worse conditions. When I remember those balls, and cleaning the "rodent" every week, it brings a tear to my eye....
  • #13 21222635
    stachu_l
    Level 37  
    RS232 and PS/2 ball mice are still in the basement somewhere.
    There were also "cats" or trackballs. I have a NEC laptop, probably a 386 or 486, with such a patent - the touchpad was not yet popular then.
    As far as the museum is concerned, in such a CHM (https://computerhistory.org/) they had such a set of manipulators (because I guess not all of them can be called mice) on display in 2015:
    Mouse museum - gallery - inside an old PS/2 ball mouse, how does it work?IMG_37..JPG Download (2.43 MB) .
    Mouse museum - gallery - inside an old PS/2 ball mouse, how does it work?IMG_37..JPG Download (2.46 MB)

    Wiki mentions (https://pl.wikipedia.org/wiki/Computer_History_Museum) that the Boston museum was closed and some of the exhibits went to the CHM and some to the Boston Science/Technology Museum.
    The concept in the 90s was that you walked around inside the PC and in one place was a trackball with a ball about 1.5m in diameter and a keyboard with keys the size of a small puff, stool or stool.
    This trackball worked and you could select regions on the world map and zoom in.
    I think I have already scanned the negative from a trip to this museum and I will find it I will insert this trackball.
    I would also add that there was a WC :-) in the PC power supply.
  • #14 21222940
    kotbury
    Gantry automation specialist
    Around high school (1986) I had the original Microsoft mouse, still on RS232, Trekker j/w symmetrical I used throughout my studies, on the way there was Esperanza, and identical to the topic A4tech on PS2 I still keep efficient for possible repairs of Vintage computers (I have some in character from the museum).
    And how did you do without the wheel? Win 3.1 as far as I remember only supported 2 buttons at all (still more than the first adult MACs, whose mice had only one button). Older windos had sliders a centimetre thick so it was easy to hit. Millimetre-wide hexagons, which are impossible to hit with the cursor, started to appear from Win 8 onwards.

    PS. Can someone say something about keyboards? E.g. I own and use (mainly to play the latest Tomba) a BTC keyboard from 91. All the gaming inventions of today on clickers it has underneath. It's capacitive (one capacitor facings two fields of copper on the circuit board, the other a circle of film adhered to the underside of the key), has an outstandingly long key travel, a pronounced mechanical strike, and a profile like that of a professional typographer....
  • #15 21222951
    stachu_l
    Level 37  
    kotbury wrote:
    And how was it done without the wheel? Win 3.1 as far as I remember only supported 2 buttons at all
    .
    RS232 mice often had an MS/PC switch because there were two communication standards and indeed in the Microsoft version only two keys worked and in the latter 3.
    kotbury wrote:
    (and so more from the first adult MAC's whose mice had only one button).

    Interestingly it was the GUI of this MAC that operated perfectly with this one button.
  • #16 21223103
    gregor124
    Level 26  
    In the 1980s/90s there were also wireless optics. Interestingly, they did not have batteries. They worked with a special stand with lines in two colours traced in parallel. In the mouse there were two photodiodes sensitive to the different colours, which read this pattern as they moved. Something like barcode readers. They were powered from a pad that was connected to the computer.
    Here is one with a cable but I remember without the cable.
    Computer mouse with three buttons on a black pad with a cable. .
  • #17 21223589
    puchalak
    Level 17  
    In the early 1990s, the adjective "optical" next to a mouse meant something different than it does now. Optical meant an optical encoder - as in the ones in the subject author's photos. The cheapest non-optical ones had a contact encoder. So in addition to cleaning the ball and rollers, you sometimes had to clean the contacts.
  • #18 21224173
    krzbor
    Level 27  
    ArturAVS wrote:
    As I recall those balls, and cleaning the "rodent" every week, it brings a tear to my eye...
    .
    Well that's exactly it - that was the fundamental shortcoming of these mice. The perpetual cleaning and "scraping" of the rollers. But the current mice have another affliction - the switches stop working well in them, they do double-click, etc. and I'm talking about Logitech hardware. There used to be no such problem.
  • #19 21224207
    szeryf3
    Level 29  
    I realised that when I bought my first optical mouse it was a huge leap in technology for my young children who were playing games on the ,,computer".
    Something like the first man on the moon.
  • #20 21224228
    acctr
    Level 38  
    Today, the only valid solution is a wireless mouse powered by a rechargeable battery or a single AA/AAA cell.
    The cable-powered mouse is a similar relic as CRT monitors or wired telephones, which are only a passing invention.
    Helpful post? Buy me a coffee.
  • #21 21224305
    tos18
    Level 42  
    acctr wrote:
    The cable mouse is a similar relic as CRT monitors or wired telephones, which are only a temporary invention.
    .
    A mouse is supposed to have a tail and a cunic.
    What is a mouse without a tail
  • ADVERTISEMENT
  • #22 21224604
    szeryf3
    Level 29  
    Look what beauty has been saved from disposal.
    She will stay with me for a while.
    Transparent Datalux computer mouse with visible internal components. Transparent Datalux computer mouse, model SV-712, with visible internal electronic components. Interior of an old model computer mouse with disassembled plastic casing. .
  • #23 21224953
    forest1600
    Level 20  
    >>21224228 .

    Well I'm the odd one out because I have my mouse on cable, keyboard on cable, headphones on cable.
  • #24 21225006
    jajacek44
    Level 25  
    And less electromagnetic junk in the environment .

    Added after 2 [minutes]:

    To @stachu_l it worked because they subbed it from PARC .
  • #25 21225669
    Rack70
    Level 11  
    >>21224953 Mouse, keyboard, headphones, internet - normally only over cable. Wireless, only when I don't have an outlet :) .
  • #26 21228531
    ksiezykmirek
    Level 5  
    Years ago a friend showed me an interesting mouse, I only saw the kind once then never met one again.

    The unusual thing about it was the way it tracked movement, it didn't have a ball, it didn't have an optical sensor either, I saw it in the 90's and it was already an antique then, it could have been from the 70's.

    How does it work?

    In place of a ball it had an inverted mushroom which was loose enough to "dangle" freely under the mouse.
    The direction of movement was detected by tilting the 'mushroom' under the mouse.
    The speed was read from the speed of rotation of the mushroom which, when moved, swung and rotated.
    That much I remember, but it was a long time ago, I might have twisted something.

    Anyone know of this type of mouse? Does he have one of these?
  • #27 21228675
    ta_tar
    Level 41  
    And this is my collection (only optical anymore). The best one is the biggest one. It worked very well in graphics programs. The thumb was very well worked out.
    A collection of various computer mice, including one large with a trackball. .
  • #30 21244872
    ksiezykmirek
    Level 5  
    >>21228531 .

    I managed to find it:
    KeyTronic Lifetime model
    Bottom of KeyTronic Lifetime computer mouse with two rubber feet instead of a ball.

    Advertised as "The only mouse with feet!"

    As you can see, instead of a ball it has two mushrooms (here I misremembered that there was only one) well and thanks to their rotation the mouse knows where the cursor is moving.
    The IR encoders work the same as in the classic ball mouse, the difference is that the mouse can work on any surface and does not catch dirt.

    The patent has not gained popularity, perhaps the accuracy was poor, but I would be happy to purchase such a mouse for my collection, please contact me if anyone has something like this at the bottom of their desk drawer.
📢 Listen (AI):

Topic summary

The discussion revolves around the internal mechanisms of old PS/2 ball mice, particularly focusing on the Trekker Two Button Mouse. Participants reminisce about the functionality of early mice, including those without scroll wheels, and share insights on their construction and communication protocols. Questions arise regarding compatibility with RS232 connectors, with clarifications that standard PS/2 mice cannot directly interface with RS232 without special adapters. Users also share experiences with various mouse types, including Amiga mice and unique designs like the KeyTronic Lifetime model, which utilized mushrooms instead of a ball for movement detection. The conversation highlights the evolution of mouse technology, including the transition from ball mice to optical and wireless models, and the challenges of maintaining older devices.
Summary generated by the language model.
ADVERTISEMENT