View Single Post
  #13   Spotlight this post!  
Unread 22-06-2015, 00:13
AustinSchuh AustinSchuh is offline
Registered User
FRC #0971 (Spartan Robotics) #254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Feb 2005
Rookie Year: 1999
Location: Los Altos, CA
Posts: 803
AustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond repute
Re: Talons without libraries?

Quote:
Originally Posted by GeeTwo View Post
Check to see what the maximum reliable reporting rate of your microcontroller is, and make sure your encoder won't overwhelm it when running at free speed. If it does, you may need a counter divider as an input prefilter, though that will likely ruin the quadrature function of your encoder. This won't be much of a problem if your goal is to set speed, but it could prevent you from specifying an output position based on the encoder.
If that specific chip won't work, there are other chips out there that support hardware quadrature decoding, and some of them support decoding multiple encoders at once.

For a Cortex-M3 (100 mhz), I've been able to decode around 500,000 edges/sec reliably in software using edge triggered interrupts.