I'd like to setup my VESC 6 with two ADC throttles so #1 goes forward (current control) and #2 goes backwards and can also act as a brake. Can the standard software do this? Otherwise, I'd like to program it myself. Any advice is appreciated.
I'd like to setup my VESC 6 with two ADC throttles so #1 goes forward (current control) and #2 goes backwards and can also act as a brake. Can the standard software do this? Otherwise, I'd like to program it myself. Any advice is appreciated.
The stock firmware allows adc2 to be used as a brake. For reverse, a button needs to be setup and adc2 acts as reverse if the button is held down.
On my bike I modified this control mode to allow adc2 to act as reverse without the button. So if you are moving forward and hold adc2, the motor regens until zero speed and immediately reverses, without any delay or transition.
That's exactly what I'm looking for. Do you have any code to share? It's a personal project for a motorized front wheel for a wheelchair. The stock controller uses two throttles, but doesn't have the sweetness of FOC.
Writes: Firefly blog
Try compile with this app.adc source file. It should remove the need for a button from the adc2 rev button brake control mode. https://1drv.ms/u/s!An3SFyJipS1KhJcbzk9bXphJM-G-lQ?e=ibx47a
Interesting project. I've never that sort of contraption before. Also love the field weakening wheelchair motor!
Your code works like a charm on my test stand and I hope to try it outside later this week. Thanks a lot!
Writes: Firefly blog