View Single Post
  #39   Spotlight this post!  
Unread 27-12-2007, 13:07
Uberbots's Avatar
Uberbots Uberbots is offline
Mad Programmer
AKA: Billy Sisson
FRC #1124 (ÜberBots)
Team Role: College Student
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Avon
Posts: 739
Uberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond repute
Re: Gear Tooth Sensor

Quote:
Originally Posted by Steve_Alaniz View Post
NO... the Gear Tooth sensor only give ONE signal. The Quadrature output refers to a device that can give two signals with one being 90 degrees from the other. IF you could use TWO GTS sensors and align one so that it peaks 90 degrees after the other then you could use the Quad scheme for direction.
Single GTS is intended to give you theoretical distance traveled on a wheel but you keep track of direction by knowing WHICH direction you are driving the motor.
IN other words if my PWM is > 127 and I get a signal I add to my counter... < 127 and I get a signal then I subtract from the count. Same with a relay driving a motor. if the forward direction is set and the interrupt occurs you add to the count...well you get the idea.
assuming a momentum-less world, are we?
__________________
A few of my favorite numbers:
175 176 177 195 230 558 716 1024 1071 1592 1784 1816
RPI 2012
BREAKAWAY