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 / 1877
1876  |  1878
Subject: 
Re: (long) Rotation Sensor from "Extreme Creatures" Fiber Optics
Newsgroups: 
lugnet.robotics
Date: 
Tue, 29 Dec 1998 19:06:35 GMT
Viewed: 
1348 times
  
Ben Kimball wrote:

-Now, if i could just tell which direction it was rotating...that would be
somthing.

You could make a paper disc that has a radial pattern of 3 repeating colors that
the light sensor can distinguish... for example: red, blue, white, red, blue,
white... Then by watching the pattern of colors that go by the light sensor, the
RCX can determine what direction the disc is turning in.

A variation on that theme: Suppose you printed out a little paper disc that has
a radial gradient from white to black (gradual shift from white to black in a
circle).  If you put a light sensor in front of it, as it turns, you could
sample the light reading every so often and subtract the sequential readings
from each other.  The difference would be either positive or negative.  This
would tell you in what direction it is turning.  Also, if you sampled it at a
high enough rate, you could use the absolute value of the difference to
determine the degree of rotation... though this might be more difficult.

The big trick here would be to write code to account for the large value shift
when the disc passes from white to black or black to white, as both the
difference and the sign will give erroneous readings at this point.



Message has 1 Reply:
  Re: (long) Rotation Sensor from "Extreme Creatures" Fiber Optics
 
(...) Nice idea, Karim. The gradient idea keeps it down to one sensor. If you are willing to use two sensors, then the usual method is to add a second photo sensor out of phase by half a slot. You interrupt when the first sensor goes low (or high). (...) (26 years ago, 2-Jan-99, to lugnet.robotics)

Message is in Reply To:
  Re: (long) Rotation Sensor from "Extreme Creatures" Fiber Optics
 
(...) Here are some ideas Maurice Hilarius sent me on the subject. I hope he doesn't mind my reposting them. "1) You attach a smaller wheel on a shaft which is part of the drivetrain. This wheel rotates on the shaft, but with a small amount of (...) (26 years ago, 29-Dec-98, to lugnet.robotics)

3 Messages in This Thread:

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

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    
Active threads in Robotics

 
Verified and Trusted Team of Hackers
46 minutes ago
Custom Search

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