View Single Post
Old 07-29-2017, 11:56 AM   #3145 (permalink)
shaggythegangsta
EcoModding Lurker
 
Join Date: Mar 2016
Location: italy
Posts: 40
Thanks: 5
Thanked 2 Times in 2 Posts
Quote:
Originally Posted by thingstodo View Post
If you set your pot to minimum, type config and write down the number
Set your pot to maximum, type config and write down the number

Let's guess that you get 500 for minimum and 700 for maximum (based on your description). I'd change these numbers

max-regen-position=0042
min-regen-position=0339
min-throttle-position=0539
max-throttle-position=0837

to these numbers

max-regen-position=0042
min-regen-position=0510
min-throttle-position=0539
max-throttle-position=1023

For testing, you would get a small amount of reverse, only the part from 510 down to 500. If I guessed wrong and your numbers are different, give yourself about 10 counts of reverse that you can get to just to show that it works.

You still have a deadband where the motor does not turn, from 510 to 539. It needs to be big enough that you can easily get the motor speed to 0

I doubt that your reading will go up to 1023 so you will get less aggressive acceleration for your testing, but you won't be able to get to max speed.

Have fun!
Thanks sir i will give a try update you guys.. thanks again for helping
  Reply With Quote