Hacker Read top | best | new | newcomments | leaders | about | bookmarklet login

@magduf has the correct answer. The Sun optical mouse used dual photodiodes and had two grids in the mousepad. One blue, one red. The filters on the photo diodes allowed one to see both x & y grid lines and the other to see only the red stripes. Then based on their signalling you could extract a motion vector. The upside was no ball to pick up dirt and clog sensors, the downside was you needed the mousepad with the lines etched on it. You would also get less reliable results if the mouse pad was not in the expected orientation with the mouse.

Still I really enjoyed that mouse. It had excellent tactile feedback on the buttons as well.



sort by: page size:

The old optical mice used IR to detect the grid lines on the old mouse pads. Today's mice take an image of the surface, and compare it to another image taken quickly after. Faster chips/better optics enabled this.

No, that's not it. Sun Microsystems had optical mice too, back in the early 90s, on their SPARCstations.

The difference was that the early optical mice required a special mousepad for them to work. I think they just used some photodiodes and looked at the reflections from the mousepad, which had a pattern built in. The optical mouse starting with MS's worked in a different way, using an actual camera to track movement, so you could use them on almost any surface.


Then there were the first-gen optical mice which required special mousepads with a grid on them for the mouse to know how it was being moved.

I remember Sun's mice. You needed a special mouse pad with a grid layout printed on it.

I had the same recollection - I'm pretty sure I used a Sun Workstation with an optical mouse back in the late 80s. Clearly Microsoft did not invent the optical mouse, but the early ones required a special gridded pad.

I remember those: https://en.wikipedia.org/wiki/Mouse_Systems

The pad did indeed have a special reflective pattern.

There was also a circular-shaped mouse from that era, now I can't remember if it was DEC or Sun.


I had always assumed that they worked like optical mice (i.e. shine a light at a slightly-textured surface and watch the surface move underneath), but it's much simpler than that.

Yeah.

But even Wikipedia got it wrong. Sun had optical mice in the 1980's and you could get a version for the PC from Hewlett Packard in 1997 that used an IR sensor.

This paper talks about the history of mice, and mentions that optical mice started in 1981. (though they required a special mouse pad) http://genevalunch.com/wp-content/uploads/2008/12/145378.pdf


TIL: the optical mouse works by taking a picture of the desk surface and does Optical Flow with the previous capture to get relative position.

The result reminded me of the old Logitech Scanman handheld scanner. except that had a 1d light sensor (like a flatbed scanner) and a radial encoder attached a to a roller to advance the scan lines down and the user pulled it down. (kind of like a 1d mechanical mouse.) I had a ton of fun with that growing up.


That answer is talking about the sensors used in mechanical mice, not optical mice. (Most mechanical mice did use optoelectronic sensors, but nobody would call the mice "optical" just for that.)

There was also a piece of software in the early days of optical mouse sensors that let you use your mouse as a scanner.

For old-school meaning about '85 or so, 'optical mouse' meant a mouse on a special gridded pad that worked optically.

See this: https://commons.wikimedia.org/wiki/File:Sun_optical_mouse.jp...

That's not a regular mouse pad, it's a special red/blue/silver grid detected by a laser in the mouse.


This might explain why early optical mice used a grid patterned mouse pad. I had one from Mouse Systems and the mouse pad it came with was a metal plate printed with a fine grid pattern.

How are modern mice different than those old 1980s Sun mice with the ground mouse pads? What allowed us to ditch the physical tracking surface?

Wow, that was an expensive mouse!

I remember working on a Sun Sparc 4 (I think, about 1996) with an optical mouse that would only work on a special mat, and wondering what was the point? Glad to see they solved that particular problem.


Neat.

And it's a curious feeling to stumble upon memories I haven't touched in years -- I used to love idly disassembling computer mice, cleaning out fuzz and gunk from the little rollers and the ball, and putting them back together. It was one of things I had to consciously stop myself from doing if I was sitting at someone else's desk.

Optical mice have been around so long now, I had completely forgotten how they used to work, and that odd little pleasure of maintaining a simple mechanical device.

Edit: this confuses me, though: The basic approach — pairing a freely-rolling ball with a optoelectronic system — was used by generations of mice that followed, changing only incrementally until optical mice did away with trackballs altogether.

Is that right? The mice I was always taking apart normally detected the motion of the trackball with two little white rollers, for Y and X motion. That's neither of these systems.


Is that kind of like optical mouse sensor?

There are CMOS sensors with in-array edge detection. More flexibly, all optical mice have integrated sensors that do motion processing in the same package if not the same die.

I think my first experience with an optical mouse was on a Data General unix workstation around 1990 or so. It needed a special pad; the pad was metal and had a grid pattern on it. The mouse was somewhat less responsive than ball mice at the time.
next

Legal | privacy