View Single Post
  #2   Spotlight this post!  
Unread 24-01-2006, 13:48
Matt Krass's Avatar
Matt Krass Matt Krass is offline
"Old" and Cranky. Get off my lawn!
AKA: Dark Ages
FRC #0263 (Sachem Aftershock)
Team Role: Mentor
 
Join Date: Oct 2002
Rookie Year: 2002
Location: Long Island, NY
Posts: 1,187
Matt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond repute
Send a message via AIM to Matt Krass
Re: Gear Tooth Sensor Trouble

The Gear Tooth Sensor emits a pulse whenever a tooth passes it, varying in length vased on the direction, however our controller isn't very capable of decoding the direction while remaining stable and functional But you can measure the counts by setting up an interrupt to fire on each pulse, then incrementing a counter, take a look at Kevin Watson's interrupt and encoder code at http://kevin.org/frc/

Also, it goes in a digital input, 1 to 6 for interrupts.
__________________
Matt Krass
If I suggest something to try and fix a problem, and you don't understand what I mean, please PM me!

I'm a FIRST relic of sorts, I remember when we used PBASIC and we got CH Flightsticks in the KoP. In my day we didn't have motorized carts, we pushed our robots uphill, both ways! (Houston 2003!)