To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.handyboardOpen lugnet.robotics.handyboard in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / Handy Board / 8653
8652  |  8654
Subject: 
Re: optical mouse as sensor?
Newsgroups: 
lugnet.robotics.handyboard
Date: 
Wed, 1 May 2002 16:04:30 GMT
Viewed: 
7463 times
  
Hi Scott,
You should consider taking the mouse appart and hooking up directly to the
sensor.
Most (all?) optical mice use sensors made by Agilent Technologies (formely
part of HP). The early mice used the HDNS2000 sensor which had a PS/2 mode
and a weird, non standard quadrature mode.
The newer sensor, including their latest:
http://literature.agilent.com/litweb/pdf/5988-5686EN.pdf use a simple
synchronous serial port and standard quadrature that are very easy to
interface to. I'm not sure which sensor is used in your particular mouse but
in any case, getting information directly from the sensor should be a lot
simpler than talking to the mouse through USB.
I hope this helps...

Greetings,
David

In lugnet.robotics.handyboard, Scott Moskowitz writes:
HI,
  I am currently working on a handyboard based dust buster bot(goofy, I
know) and have been trying to design an algorithm where my vehicle could
methodically cover all the area in a given room, starting by following along
the perimeter walls and then spiraling inward while avoiding obstacles(thus
dynamically modifying its saved path).  I've come to the conclusion that
inorder to get back on track after avoiding an obstacle, my bot needs to
accurately determine its location.  I figured a dead reckoning system to
establish a coordinate grid for any given room that it is navigating would
be inorder.  To implement this I began using a system of perpendicular shaft
encoders, much like those found in an ordinary ball mouse.  I had slippage
problems, however, (much like a regular ball mouse) and these manifested
inaccurate measurements.  I have noticed that optical mice such aas the
Logitech M-BJ58 does not suffer slippage problems like an ordinary mouse,
and is in fact navigable on a wide variety of surfaces. I was wondering if
it would be somehow possible to adapt my optical mouse as a sensor.  I would
need to determine the number of pulses/distance moved in both the x and y
axis, much like using to shaft encoders.  The mouse is usb and I know it
uses CMOS based movement interpretation.  Would anyone have any ideas on how
to adapt something like this to measure movement, or on how to modify a USB
device to read signals with a handy board(also how i would approach the
programming to interpret signals)
I know this is a large and complicated request, but if anyone has any ideas,
I would greatly appreciate it.



Message is in Reply To:
  optical mouse as sensor?
 
HI, I am currently working on a handyboard based dust buster bot(goofy, I know) and have been trying to design an algorithm where my vehicle could methodically cover all the area in a given room, starting by following along the perimeter walls and (...) (22 years ago, 24-Apr-02, to lugnet.robotics.handyboard)

3 Messages in This Thread:


Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR