Optical Mouse Used As Cheap Motion Sensor
drphil writes " Dr. Tuck Wah Ng, a member of the Faculty of Engineering at the National University of Singapore uses an optical mouse as a cheap non-contact motion sensor in his research. If a resolution of a little less than 60 microns is sufficient, you really can't beat the price. Dr. Ng has studied the viscoelastic deformation of plastics using a hacked optical mouse - published in J. Chem. Ed. vol 81, p 1628, 2004. You'd need to be a subscriber of the journal to see anything but the abstract, but any university science/chemistry library would have a copy of this issue of the Journal of Chemical Education. (Viscoelastic deformation, in plain English, is the degree to which a plastic stretches when you pull on it)"
Coralized link here.
That's a nice link there, I'm sure the first 1 or 2 people who saw it may have been interested.
The article clearly says to go to your nearest Chem Dept Library and read the article.. Sheesh.
Not really new-I'm sure many Slashdotters who are IEEE members enjoyed the September 2004 issue of IEEE Computer magazine which covered the theme of biologically inspired robotics. There is a paper in that issue by S. Thakoor et al. which uses an optical mouse chip for terrain feature tracking for a flying aerial robot. You can't read the paper if you don't have IEEE digital library access, but here is the link:
3 8abs.htm
http://csdl.computer.org/comp/mags/co/2004/09/r90
Zigbee Central: A Zigbee weblog
I wonder if the sensor can be used to create cheap cell counting devices. It could be used say in the clinic for a quick complete cell count (wouldn't be able to distinguish the different types of cells, but could still prove useful). Or in other areas, it could be used to count beads (nano beads).
Linux at home
..who are trying to use this server's enrollment system just right now.
Well, I can't access the page currently but if it is what I think it is this has already been done. A high school student I knew built a optical mouse motion sensor as a project. It tracked the floor, and could be used as a human-interface controller for a robot or as the robot's position tracking mechanism.
He interfaced it to a microcontroller as well, which was the real difficult part. PS2 to a serial port, then the software to interpret it. Unfortunately the thing was handicapped by the 8 bit memory, but it was still pretty darn cool.
This was part of Andrew's Leap, a program sponsored by CMU and taught by professors to a select few high school students. Hopefully what this doctor has done is a bit more complicated.
Just how is "Wah Ng" pronounced...?
Researchers looking into the hearing of flies attach the fly to a fixed support above it, and allow it's feet to touch a ping pong ball dotted with sharpie-marker dots. The ball rests on an optical mouse with some foam to hold it in place. By playing sounds from different directions and measuring where the fly moved in reaction they where able to determine how directionally-accurate the hearing of the fly was.
This is all per some TV show, maybe Discovery's This Week
If a resolution of a little less than 60 microns is sufficient, you really can't beat the price
Hmmm. This inspired me to try to see if I could move my optical mouse without moving the cursor. It's possible, but very difficult. It obviously depends on the sensitivity setting.
Ng of Ng Technologies. from Neal Stephenson's book cryptonomicon. someone had to say it.
-Dan
I'm not surprised that regular or optical mouses are used for something else than moving a cursor on the screen. I had a Path Finder Robot project back in 1998.
It was a very dumb small robot but it had to be able to move forward, backward and rotate, which needed some way to estimate distaances. And the cheapest way of doing it was to put a mouse underneath.
Basicaly a mouse is a tool to measure delta's (differences in distances), the optical ones are doing it very accuratly and without actual contact. That's why it's a good tool in that case.
You used to be able to order optical sensors and other generic components by the box for less than the cost of a mouse.
I haven't checked lately, but why is it cheaper to hack a mouse than build a simple circuit? ...]
[Sound of luser googling
Hmmm, maybe it is cheaper.
I can't find prices at places like http://www.aromat.com/pcsd/product/sens/select_mot ion.html
, so maybe "if you have to ask the price, you can't afford it".
sigs, as if you care.
What plastic was he testing? Was it his mouse cable?
--- MS: "Working software is soooo nineties!"
Footprints project overview
"God fights on the side with the best artillery." - Napoleon, Marshal of France - speaking truth to power
but "motion" cannot be described in "microns." I think you mean "cheap displacement sensor".
And viscoelasticity is not necessarily a plastic-related thing. Some metals and composites may strain in a viscoelastic manner. Biological tissue is also generally deemed viscoelastic. Basically, it means: the amount of stress in the material is proportional to the rate at which it is displaced (or strained, in more correct terms).
IWARS.
People, in general, disappoint me. Politicians even more so.
Isn't this what mice do already?
Just another way to restrict the flow of publicly funded research.
Schools get tax dollars, therefore the results of any research should be freely available to the public, unless its some sort of classified governmental stuff...
Restricting knowledge only serves to retard growth, and keep the 'special ones' in power.
---- Booth was a patriot ----
They've built a better mouse trap - for humans! Now, Slashdotter,s beat down the bridge to their door, before the world beats a path, and never escapes!
--
make install -not war
Read about it here. The work was presented at Ubicomp 2004 a couple of months ago.
their webserver has undergone Viscoelastic deformation
any university science/chemistry library would have a copy of this issue of the Journal of Chemical Education
Not Bob Jones university. On the 2,253,532nd day, God created the optical mouse, and thou shalt not play God, except on TV with an (800) number subtitle for donations.
--
make install -not war
I've seen quite a few papers recently that talk about using multiple cheap (<£30) webcams to do gesture recognition. Ok the images aren't great but the improvements you get from using £1000+ video set-ups with fancy lenses etc aren't that great.
I used to have a better sig but it broke.
Go to the fucking library before commenting on this article!
"Here's a quarter, buy yourself a vowel."
A shiny for the first person to get that one.
People often have one or two of the buggers just lying around not doing anything in particular, and there's nothing quicker and cheaper than "We've already got one."
KFG
Now that we are talking about /cool/ applications using simple computer hardware...
In our coffee room, the switch of the fridge light is connected to the F11 key of a keyboard. If you open the fridge without entering a correct access code (using the same keyboard), there is an alarm :-)
Too bad that there aren't any photos on-line of this hi-tech fridge intrusion detection system...
He was testing strips of low density polyethelene (probably a strip cut out of a plastic grocery bag).
Check with you local library, they may be able to give you a password for logging in to the journal link in the article. I know mine did.
Allthough this might be slightly offtopic:
There are games for Nokia mobile phones that use the built in camera as a motion tracker. So you can control the cursor by moving the phone. Looks pretty weird, though.
Old style mice (with mouse balls and encoder wheels) can also be used in scientific experiments. A bit of hacking can get the sensor and encoder wheel mounted to a shaft or to watch the slots of a homemade encoder disk (a laser printer and transparency material makes a good disk). Any basic software that can monitor mouse movement can be used to count revolutions of the wheel (just turn off mouse acceleration to get absolute mouse movement in encoder ticks). One old PC can measure 2 axes of motion for animal activity studies, windspeed & direction, robotics, etc.
Two wrongs don't make a right, but three lefts do.
Wow, I guess some guys will do anything to get an academic publication. Our lab has been using an inexpensive optical mouse to guide an X-Y positioner for our atomic force microscope for about a year now. It works flawlessly, and allows excellent resolution to better than 100 Angstroms. It's a neat hack, but hardly worth publishing in a scientific journal. We were thinking of sending a draft to Circuit Cellar.
Those singaporians :ROFL:
___________________
Free Website Templates
Affordable Web Hosting
Visit eYell.com
"He says they've already got one..."
Yea, and my first ball mouse cost me over $75. Last week I got an optical mouse free, after rebate. Do you expect a mail order house to supply you with a box of sesors and other generic components for less than that?
I'm an American. I love this country and the freedoms that we used to have.
Could it also be used for scanners? It would make it way more practical to see exactly where it is. This might even be used for a led handheld scanner. Especially if one would put 2 of these (laser powered) optical detectors on both sides.
You read it here first (I hope).
Searching Google Scolar for "optical mouse motion sensor Ng" provides some useful information. The PDFs are slashdotted like others have mentioned, but the "View as Html" pages are the google cache. The graphs are worthless, but the text is all there.
I had a great idea about using optical mice last year. I was going to take one down to my electric meter, so I could get a realtime reading of power consumption as the wheel on the meter rolled by.
So I went out to my meter and damned if they hadn't replaced it with a digital display.
Buggers!
Someone had to do it.
test test test
This got me thinking... me and my geek engineer brain...
Seems to me by mounting a small mass between springs right above the sensor, you could probably measure acceleration fairly accurately. The spring deflection would be precisely related to the acceleration, the mass, and the spring constant, two of which are known (or can be measured independently) and are fixed values.
F=ma, where force = mass times acceleration
F=kx, where force = spring constant times displacement
so
a = kx/m
(Figuring out the units is left as an exercise for the reader.)
So as the combined mouse/spring/mass assembly was accelerated, the cursor would deflect accordingly. Calibration would be straightforward: since k is fairly linear for most springs (within small ranges), and m is fixed, simply turning the sensor on its side (e.g., subjecting it to exactly 1.0g) gives a very nice data point.
Might be a cheap and fun way to build a sensor, say for measuring cornering force on your car, etc. Also might be a neat high school physics class experiment.
That is, unless Microsoft already patented that use... *grin*
--Brandon / Split Infinity Music
...but I'm certain we all already knew what viscoelastic deformation is!
I once shot a man in Reno 'cause they cancelled Firefly.
Well if this is the Cantonese "Ng" then it is pronounced like this. That is a wave file of the Cantonese pronunciation from the same CSU Pomona website.
And thanks to the respondents for their jovial spirit.
Of blankness, I know nothing.
Another case of University people being ingenious as they are wont to do.
[% slash_sig_val.text %]
- T.W.Ng 2003
If I had mod points I'd give them to you. Good idea.
An optical mouse is essentially an optical camera combined with an onboard DSP chip that processes the stream of images and generates mouse coordinates. So, I got thinking, hey, given enough passes over whatever serves as your mousemat, you could build an image of it!
I remember taking a look at spec sheets for one or two optical mouse sensor chips. The sensor is generally pretty low res (30x30 pixels or something similar),but has an astounding frame rate (500 or 2000 fps or something like that) . However, the IC had a instruction that caused it to dump the full image back to mouse controller (the host PC theoretically). So, as long as nothing in the mouse hardware controller itself stopped it, it would be possible to write an OS mouse driver that accessed these raw images.
Did anyone notice on Dr. Ng's webpage about the invention of the optical mouse? The text states, as well as the two links he provides, that the optical mouse was invented by Agilent in 1999. Umm... I guess the Genius optical mouse I bought for my Amiga in 1995 was a figment of my imagination? (it was switchable between PC, Mac, and Amiga/Atari protocols... ah, the days) And the fact that I bought it USED and abused? And that I had wanted an optical for years before that (since 1990 IIRC; I think I remember seeing one in Compute magazine for use with the C=128 with GEOS)?
Now, it may well be that it was Agilent's sensor in it, but it was well before 1999! Is my MMU going, or does anyone else remember these things?
I'm just wonder, is that any attempt to use optical mouse to play optical media like CD?
-- Hasbullah bin Pit (sebol)