View Single Post
  #5   Spotlight this post!  
Unread 22-08-2013, 12:53
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,563
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Encoder problems

Quote:
Originally Posted by Mark McLeod View Post
There are a few simple ways to extend the rpm range of your encoder.
  1. Use an encoder that produces fewer counts per revolution, e.g., pick a 64 count encoder rather than a 256 count encoder.
  2. Use 1x sampling in your code rather than 4x sampling.
  3. For measuring a shooter wheel that only goes in one direction, you can also leave disconnected the encoder B channel. Since you won't care about determining direction the A channel is all you really need.
  4. Gear down the encoder shaft so it revolves more slowly that the shaft you want to measure.
For (3), if you disconnect the encoder B channel, you will also need to change the LabVIEW code from the encoder library to the counter library.
Reply With Quote