You are here

Acceleration ramping using UART communication with arduino on VTool 6.0

2 posts / 0 new
Last post
Kokonenen
Offline
Last seen: 1 year 7 months ago
Joined: 2023-02-16 08:41
Posts: 12
Acceleration ramping using UART communication with arduino on VTool 6.0

Hey, I'm using an arduino connected to my VESC with UART to rev a BLDC motor, and that works fine. But I can't get the motor to accelerate smoothly with my potentiometer on the arduino.

The potentiometer can kind of control the speed of the motor, the first 20% it runs rather slowly, and anything above that is max speed. And if I ONLY connect the vesc to my computer and motor and use the build in rev function. It can only accelerate at max speed.

I would like to add a ramp time when I start accelerating so it slowly increments during an adjustable amount of time. and I can only find this setting under the VESC Remote settings in the App settings, but since Im not using the VESC remote this isn't very useful. Under Sensorless settings in the FOC section on motor I've played around with openloop ramp time and such but It gives me no response to my acceleration curve.

Is there an integrated way to achieve ramp acceleration with the UART connection?

Kokonenen
Offline
Last seen: 1 year 7 months ago
Joined: 2023-02-16 08:41
Posts: 12

And honestly I can't even rev the motor, I get the ABS_Overcurrent_fault instantly and cant spin. I set the limit to 70A as the 48V motor is rated for 30 and peak 90, but it shouldnt need anything near that amount as I only have a small cog connected to the motor with free spin (no load)