View Single Post
Old 07-14-2014, 02:38 PM   #6676 (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
Oh crap. I forgot that your throttle is inverted. I almost sent you the wrong code. PHEW. I'll try to find some time today to make the modification so it goes 5k = zero throttle and 0k = max throttle. There will be a little dead zone, so as to guarantee that the throttle contactor closes well BEFORE the throttle is considered nonzero. You definitely don't want the throttle to be nonzero, and the poor pwm ramping up to 100% in the vain attempt to see a nonzero current feedback (no current can flow when the contactor is closed).
__________________
kits and boards

Last edited by MPaulHolmes; 07-14-2014 at 02:51 PM..
  Reply With Quote
The Following User Says Thank You to MPaulHolmes For This Useful Post:
jedsmd (07-14-2014)