View Single Post
Old 03-17-2016, 12:46 PM   #2662 (permalink)
MPaulHolmes's Avatar
Join Date: Feb 2008
Location: Maricopa, AZ (sort of. Actually outside of town)
Posts: 3,832

Michael's Electric Beetle - '71 Volkswagen Superbeetle 500000
Thanks: 1,368
Thanked 1,202 Times in 765 Posts
aha!!! get rid of pull down resistors. And change the RC filter to just an R filter. 1k in series for index, qea, and qeb to the inputs of the microcontroller, and NO capacitance after that. The dspic has a "glitch ignore" feature. The RC time constant will just slow things down and confuse the quadrature encoder interface.

Or if you really want pull down resistors, just use something like 47k or 100k instead of whatever you are using. IT's too strong right now.
kits and boards
  Reply With Quote