You are here

How to control motor using VESC tool in computer at constant rpm?

4 posts / 0 new
Last post
vimi94
Offline
Last seen: 3 years 2 months ago
Joined: 2019-04-26 16:24
Posts: 18
How to control motor using VESC tool in computer at constant rpm?

How can I control motor using VESC tool from my computer? I need my motor to run at constant rpm? Can anyone please help  me with it

foreclosurecat
Offline
Last seen: 2 months 1 day ago
VESC Free
Joined: 2022-10-04 14:09
Posts: 2

Bump up... newbie has same question about the GUI.  Would like to know how to simply get the motor to run at any RPM via the VESC tool GUI. Config and parameter setting session runs fine to set up the motor.

F.Cat

Rick van der Sloot
Offline
Last seen: 2 months 3 weeks ago
VESC Free
Joined: 2022-09-16 21:32
Posts: 5

 Bottom bar on the left there are 6 input fields.

Top middle field you can enter the required rpm,

After entering RPM value you have to press the 'play' button on the right side of the input field.

When you want to change the RPM the new value must be confirmed/send to the VESC by pushing the play button again.

The other fields can be used for Duty cycle control, Current Control, Position Control, Brake and Handbrake Control.

Rick

foreclosurecat
Offline
Last seen: 2 months 1 day ago
VESC Free
Joined: 2022-10-04 14:09
Posts: 2

Thank for the add'l info. For those who are also new to all of this, here are my steps to replicate.

  1. Using the wizard, I connected and configured the motor/controller.  (no details since each situation will be different)
  2. Far right side of GUI, there's an icon of keyboard arrow keys, click it on
  3. Far right side of GUI, there's and icon of RT chartline, click it on
  4. Press an arrow key just for a quick bit to see if the motor responds, if so, then,
  5. Enter an eRPM value and press the Play button next to the value. For example, my Hall effect sensor on my Neo motor sticks out 42 pulses per rev, and there are 7 pole pairs. 42/7=6. So for motor shaft RPM of 1,000 the eRPM is 6,000 in the GUI.
  6. Things should be spinning at this point and you can see a chart of things. 

Thanks for the help!!  Keep motor'ing!  

F.Cat