View Single Post
Old 04-19-2015, 01:09 AM   #1806 (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
OK, I'll install mplab x tomorrow. Which new DC board? Do you mean the driver boards?

At the moment, the throttle is configured so that the middle is zero throttle, and twisting the throttle one way makes the motor spin clockwise, and then twisting the throttle the other way makes the motor spin the other way. If the motor is spinning in any particular direction, and you twist the throttle to fight against the direction it wants to spin, it goes into regen mode. I need to add a couple lines of code so that you don't come to a stop at a stop light, and start driving backwards. haha.
__________________
kits and boards
  Reply With Quote