Slashdot Mirror


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)"

17 of 131 comments (clear)

  1. Impressive... by xNoLaNx · · Score: 5, Funny

    That's a nice link there, I'm sure the first 1 or 2 people who saw it may have been interested.

  2. Re:already... by mordors9 · · Score: 4, Funny

    The article clearly says to go to your nearest Chem Dept Library and read the article.. Sheesh.

  3. It's been done before in a much cooler application by TurkishGeek · · Score: 4, Interesting

    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:

    http://csdl.computer.org/comp/mags/co/2004/09/r903 8abs.htm

    --
    Zigbee Central: A Zigbee weblog
  4. A similiar hack by Anonymous Coward · · Score: 5, Funny

    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

  5. Fun experiment by TrentL · · Score: 4, Interesting

    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.

    1. Re:Fun experiment by scribblej · · Score: 4, Funny

      Did you try picking it up first? Works for me...

      heh!

    2. Re:Fun experiment by Spy+Hunter · · Score: 4, Interesting

      In Robotics class some classmates and I made a robot that used an optical mouse to sense how far it had driven across the floor. We found that the accuracy of our optical mouse left a lot to be desired. The actual distance sensed by the mouse changed depending on the speed it moved across a surface (and didn't seem very accurate even after taking this into account). For normal use this doesn't matter a bit, because you get feedback from the movement of the mouse pointer on the screen, not from the absolute position of your hand on the mouse pad. However, for our robot, this meant that it quickly went off track. It couldn't even drive in a reasonable square on the floor. So it's fine to use optical mice to measure the presence of and probably also the direction of small-scale motion, but using them to measure absolute speed or distance on medium to large scales is not adviasble.

      --
      main(c,r){for(r=32;r;) printf(++c>31?c=!r--,"\n":c<r?" ":~c&r?" `":" #");}
  6. $10 Thermal Imager from a porch light by N8F8 · · Score: 4, Informative
    I was looking for an inexpensive option for thermal imaging and I came across this project for a $10 thermal imager using a automatic porch light and a frensel lense.

    Footprints project overview

    --
    "God fights on the side with the best artillery." - Napoleon, Marshal of France - speaking truth to power
  7. not to be picky or anything.... by carambola5 · · Score: 4, Informative

    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.
  8. Re:Can it be done for cell counting? by Anonymous Coward · · Score: 5, Informative

    60 microns is too low a resolution for that purpose.

  9. Slightly pedantic, but.. by oexeo · · Score: 5, Insightful
    Optical Mouse Used As Cheap Motion Sensor

    Isn't this what mice do already?

    1. Re:Slightly pedantic, but.. by Anonymous Coward · · Score: 4, Funny

      Yes. You must have missed the Slashdot story from 15 years ago with the headline "Cheap Motion Sensor Used as Optical Mouse".

  10. Re:What happened to mail order electronics? by kfg · · Score: 5, Insightful

    Well, an optical mouse is actually a rather complex piece of work that goes a bit beyond a sensor (which in the case of a mouse is actually a minicam), just pull the circuit board from one and have a look. Then add in the cost of the plug, wire, etc.

    Mice are cheap, and you can use the time you would have spent designing and building a data acquisition unit doing your real work.

    Where I can't get what I want, or where what I want cost thousands of dollars when I can build it myself, better, for ten, I build, and I'm glad to do it.

    When I can buy what I need off the shelf for twenty five dollars, or spend a week designing and building it myself for twenty dollars, well, I usually just go buy the sucker (unless I'm simply smitten by the intellectual challange of the thing for some reason).

    But here is what I suppose is the biggest reason for using the mouse:

    The software is already written, so you can just plug it in and it works.

    KFG

  11. WebCams by squoozer · · Score: 4, Interesting

    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.
  12. Re:Subscription Only Science = evil by norton_I · · Score: 4, Informative
    Restricting knowledge only serves to retard growth, and keep the 'special ones' in power.


    The results are public, just not the copyrighted article. Since tax dollars do not go to the journals, they charge for subscriptions -- print or electronic.

    That said, most scientists I know are frustrated by this as well, and do what they can to allow freer access to their work. So, if you want access to almost any scientific article, try the following (in order):

    1) Go to the author's web page. Most journals allow authors to put copies of their papers online, and many scientists take advantage of this.

    2) Go to a nearby university library. If they don't subscribe to the journal in question, ask a librarian, it may be possible to get it from another university.

    3) Go to arxiv.org (formerly xxx.lanl.gov). Many articles are published there as preprints, but may or may not be the final published version.

    4) Finally, email one of the authors. In all liklihood, they will be happy to send you a PDF of their article if it is not available via another mechanism.

    The restrictions on the dissemination of scientific literature do not stop anyone with even a tiny bit of motivation. Also, a few journals require subscriptions, but allow google to index the full text, which means the whole article may be in google's cache.
  13. This calls for Google Scholar by DaoudaW · · Score: 4, Informative

    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.

  14. How about using mouse for accelerometer? by Goldenhawk · · Score: 4, Interesting

    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