Hi folks!
I try to control my VESC 6 using an arduino nano.
I use FOC with “Current” setting and the latest firmware.
The motor direction test spins the motor very nice and smoothly.
The RT app display in vesc tool shows the correct input values and the motor spins up once.
However the motor does not spin up again after ppm is set to neutral (1500). I have to reverse it (1400) or turn it in the opposite direction manually.
Could you please confirm that VESC 6 does work using the servo library and maybe provide some debug tips?
Thank you very much!
I chose “Current” mode and send 1600 which worked!
I discovered when I send 1500 which is neutral I am not able to drive the motor anymore afterwards except I send 1440 or less. Please note that i set safe start to false.
This basically means that i have to reverse the direction (brake) or turn the motor backward manually to spin the motor up a second time.
Do you mean “Pulselength Start, End and Center” ? I went with the default settings.
Vesc tool always shows the correct values but the motor doesn’t spin up again as described above.
You don’t need to ground any ADC. How do you connect the Arduino to the VESC? Isn’t the problem that you connect the servo signal to the ADC pin on the COMM port rather than to the servo port?
No i checked the connections. After trying ADC (and the comm port) i switched back to PPM (with the servo pin).
I don’t know why i have to turn the motor backwards before it spins up again.