View Single Post
Old 12-05-2009, 10:53 AM   #2688 (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
Quote:
Originally Posted by jackbauer View Post
Paul just thinking that as i'm running at 8mhz then all the timer loops in the micro are running at twice the intended delay. Will this effect things like the throttle ramp rate etc?
Yes! hehe. But if you just set the throttle ramp rate to maybe 16 instead of 8, then it's all good. And you may want to double the Kp and Ki constants, but your motor is so freakishly big, that maybe you need small Kp and Ki.

I wish I knew why in the heck it wasn't working with an 8MHz crystal (DCB! hahahaha Jack's not that cheap! You are thinking of Scottish people! Just kidding Scottish people). I bet it's something simple.
__________________
kits and boards
  Reply With Quote