View Single Post
  #5   Spotlight this post!  
Unread 17-01-2006, 10:18
Joohoo's Avatar
Joohoo Joohoo is offline
Registered User
FRC #0340 (G.R.R.)
Team Role: Mentor
 
Join Date: Jun 2005
Rookie Year: 2005
Location: Rochester
Posts: 241
Joohoo is just really niceJoohoo is just really niceJoohoo is just really niceJoohoo is just really niceJoohoo is just really nice
Send a message via AIM to Joohoo Send a message via Yahoo to Joohoo
Re: Gear tooth sensor vs. Optical Encoders

Quote:
Originally Posted by BradAMiller
I've been very successful using them to detect pulses, but the direction is very unreliable. In EasyC and WPILib they are currently just counting pulses. I hope to have a new version out soon that will count up and down for clockwise/counterclockwise.
One way to make this work is to trigger a timer and since one direction sends a 20something microsecond pulse and the other sends about a 83 microsecond pulse have the timer go for 60 microseconds and the check if the pulse is present you can then add or subtract to your count accordingly