View Single Post
Old 03-17-2012, 09:53 AM   #5571 (permalink)
MPaulHolmes
PaulH
 
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
Is the RPM +/- 150, or is it consistently below or consistently above by 150? Or is it consistently below or consistently above by some value that's proportional to the rpm? Like at 500rpm, it reads 25 too high, 2500 it's 125 too high..?

Assuming the pin is free, I could do an input capture based rpm for more accuracy. I did that in the BMS, where there were 8 different input capture pins all listening to changes to their ports. It was interrupt driven, and would construct 0's and 1's based on the times each input capture pin would stay at 0.

Happy St. Patricks day to you too!!!!! My great grandpa would force my grandma to wear orange on St. Patricks day since he was british.

__________________
kits and boards
  Reply With Quote