View Single Post
  #45   Spotlight this post!  
Unread 16-01-2005, 14:17
Sparks333's Avatar
Sparks333 Sparks333 is offline
Robotics Engineer
AKA: Dane B.
FRC #1425 (Wilsonville Robotics)
Team Role: Alumni
 
Join Date: Feb 2004
Rookie Year: 2003
Location: Wilsonville, Oregon
Posts: 184
Sparks333 is a glorious beacon of lightSparks333 is a glorious beacon of lightSparks333 is a glorious beacon of lightSparks333 is a glorious beacon of lightSparks333 is a glorious beacon of lightSparks333 is a glorious beacon of light
Send a message via AIM to Sparks333
Re: Hall Effect Sensor.

Quote:
Originally Posted by Al Skierkiewicz
Mike,
I can't get to the page you are listing.
So for the meantime, think of this. You are able to get two pulses from two seperate sensors. As the gears turn, one sensor has an output slightly different in time from the other. (You are positioning them that way for this demo.) Each outputs exactly the same info, (error checking) and if you determine which sensor outputs first for a particular direction then you will always know that you are traveling in that direction. When the pulses change places you have reversed direction.
Al,
I was looking over the allegra datasheets (links up above... Thanks Caleb Fulton!) and on Page 9, it describes something regarding polarity and direction. I think its internal circuity makes it so when you are facing a tooth going one direction, it's high, but when you are going the other direction, it's low. If your gear teeth are fairly far apart, you would have to measure the duty cycle to see which way it's turning... not sure how it would be done, but it may be possible with a single sensor to tell direction.
Here's what I read. Please correct me if I'm wrong.

Quote:
Output Polarity: The output of the device will switch from off to on as the leading edge of the target passes the sensor in the direction indicated (look at the datasheet for the pic), which means output voltage will be low when the unit is facing a tooth. If rotation is in the opposite direction (again, see URL for datasheet), the output of the device will switch from on to off as the leading edge of the target passes the sensor, which means that the output voltage will be high when facing a tooth.

http://www.allegromicro.com/datafile/0660.pdf
, pg.9
__________________
ICs do weird things when voltage is run out of spec.

I love to take things apart. The fact that they work better when I put them back together it just a bonus.

http://www.ravenblack.net/random/surreal.html