To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.roboticsOpen lugnet.robotics in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / 13300
13299  |  13301
Subject: 
Re: Ball-less mice (was :Re: FW: Another DIY sensor)
Newsgroups: 
lugnet.robotics
Date: 
Thu, 30 Nov 2000 14:57:34 GMT
Viewed: 
1016 times
  
Oh. I sort of figured that you took the stuff out of the mouse (i just went
back and read all the messages ;), it just that I have an optical mouse and i
wouldn't want to take it apart. if the rcx could read the outputs from the
mouse directly, then you wouldn't have to take hte mouse apart. All you would
have to do is hook up a ps/2 or usb connector to a lego connetor brick (what
ever they are called). Then when you wanted to use the mouse with the rcx, all
you would have to do is plug it in to the previce device and plug that into the
rcx. When you where done, you could plug the mouse back into your computer.
That way you could use the mouse as both a mouse and as a rcx sensor!

Jason

John Barnes wrote:

Jason wrote:

Doing a little research, I found out that, when
used with ps/2, mice are supplied 5 volts dc and have two data outputs, • for a total
of 4 wires. I'm not sure how much power the rcx supplies, but optical • mice should
be able to work with the rcx. The only problem is getting the rcx to • understand the
inputs and what to do with them...

I was the one doing the experiment. But my investigation is not to use the
mouse as
is, but to use the parts, which I have done. There are two optical shaft
encouders per
mouse in the ball type. Each one can be built into a brick* with an LM393
to square
up the A and B channels to give outputs that the RCX can use, just as if it
were reading
from a Lego rotation sensor. I get 144 counts per rev, which is quite an
improvement
on 16 if you need increased precision. (You do have to be careful you don't
turn it too
fast otherwise the firmware skips/misses counts.)

(*The "brick" in my case is 2x4 x3 high, slightly taller than the Lego
rotation sensor
but not bad.)

I haven't managed to get my hands on one of those ball-less ones yet, but
someone
posted the url for the Agilent data sheet for the key part and I note that
it can run in
quadrature mode,  which means that it too can probably be interfaced
directly with
the RCX. If and when I get to try it, I'll let you know.

JB

ps: I am teaching myself "front page". When I get a bit better at it, I
plan on making
some of the sensor designs I have been working on more accessible via my
web page.
www.borg.com/~pinkmice. Of course, that means I'll need a digital camera to
take all
the pictures with, and with Christmas coming .. umm there's a plan.

So please be patient.



Message is in Reply To:
  Re: Ball-less mice (was :Re: FW: Another DIY sensor)
 
Jason wrote: >Doing a little research, I found out that, when >used with ps/2, mice are supplied 5 volts dc and have two data outputs, for a total >of 4 wires. I'm not sure how much power the rcx supplies, but optical mice should >be able to work (...) (24 years ago, 30-Nov-00, to lugnet.robotics)

6 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