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 / 3166
3165  |  3167
Subject: 
Re: mouse
Newsgroups: 
lugnet.robotics
Date: 
Mon, 25 Jan 1999 00:24:44 GMT
Original-From: 
Ray Kelm <rhk@newimage.^nospam^com>
Viewed: 
1087 times
  
Quadrature encoding.

Essentially, there are two light sensors on the rotating disk, which are
placed
at distance such that when you rotate one direction, you get the
following two
waveforms:

--    ----
  ----    ----

----    ----
    ----    --

and when you rotate the other direction, you get these:

  ----    ----
--    ----

----    ----
    ----    --


so one input is used as a clock to signal a motion has occurred, and the
other
input tells what the direction was. If you use the leading edge of input
2, as
the trigger here, then you can see that input 1 is in a different state
for each
of the two diagrams above.

Jasper Janssen wrote:

On Tue, 5 Jan 1999 01:57:33 GMT, lego-robotics@crynwr.com (Virginia
Campbell) wrote:

May I suggest looking at the inside of a computer mouse to get an idea
of how to let your rotation sensor know which direction the rotation is
spinning.

Personally, I've never been able to figure out just jow a mouse does
that, either :)

Jasper
--
Did you check the web site first?: http://www.crynwr.com/lego-robotics
--
Did you check the web site first?: http://www.crynwr.com/lego-robotics



Message is in Reply To:
  Re: mouse
 
(...) Personally, I've never been able to figure out just jow a mouse does that, either :) Jasper (25 years ago, 23-Jan-99, 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