You are here

VESC Firmware

App development and Debug

Submitted by dpeinado on Fri, 2022-04-01 13:22

Hello. I had some background programming in embedded systems, but I'm new to VESC programming. I've done an application very simple, but now I plan to make an application more complex, so debugging is a must. How do you debug an application? There is a dev tools console in VESC-Tool, and communications via USB between VESC and VESC-Tool, so the printing should not be an issue. How is it made? How can I print from VESC application so the result is written out in VESC-Tool console??

Thanks in advance,

Diego

Write motor configuration from XML file in 3rd app

Submitted by jernejm on Tue, 2022-03-29 11:56

Hello,

I am writing my own application in C++ for running Trampa VESC 6MK V. In my program, I manage to integrate functions for running motor and reading parameters, but I can not integrate function for writing motor configuration from default XML file. 

What I did, I took and connected function (from vesc tool) in next order:

Sending Negative Values to VESC over CAN bus

Submitted by olivierabristol on Fri, 2022-03-25 09:11

I am currently working on a winch with multiple ESC. As I need to go forward and backward, I send positive and negative commands over CAN to VESC. to go forward, no problem.

Problem is for backward motions, it does not works really well , the motor can go backward but with it's maximum allowable current... Does somebody already face this issue? How does you solved it ?

VESC firmware to programmable Sabvoton ml60 controller.

Submitted by Maciejwarloch on Tue, 2022-03-08 13:25

Hi, I have a question, is it possible to upload a vesc to the motor driver which is based on stm32, it only has measuring resistors that measure the current from the battery, how does it look with uploading such a software, is there any pinout to define for it to work? Any of you guys tried something like this? Controller: Sabvoton ml60 in the programmable version, of course. Thank for answers!!

Where to find codelines for speed and position control structure

Submitted by kianK on Tue, 2022-03-01 15:25

Hi people,

For the last few days, I was digging myself into the source-code of vesc-tool in order to find out how the control structure is build up.

I already found the PI-Current-Controller (detectfoc.cpp), but where is the speed and position control hidden?

Also, where is the anti-windup, deadtime-compensation etc.?

Thanks

VESC with propeller, not reaching max performance

Submitted by ogent on Tue, 2022-02-01 16:31

Hi all, I've been using the forum a lot to troubleshoot but this is my first post :)

I'm an undergrad engineer - 

We've had a lot of problems trying to replicate T motor test data in FOC and BLDC mode

So I've been wanting to use the VESC for use in UAVs due to the potential efficiency benefits as well as wanting to be able to use reverse thrust and record data.

We've been testing these 3 motors in a wind tunnel: AT3520 (550kv, 1000W, 14x7e), AT4125(540kv, 2000W,16x8e) & AT5220 (220kv, 3000W, 19x10e).

Loss of control during regen

Submitted by mckenzie.keith on Fri, 2022-01-28 02:42

I am not sure if the problem I am having is hardware or FW related but I have seen it on three different controllers so I am guessing it is firmware.

During regen braking, when the motor current gets to some critical threshold, it seems that the ESC loses control and is no longer tracking the rotor position or electrical phase properly.

how to download v5.03 firmware?

Submitted by barncat08 on Wed, 2022-01-26 18:35

hi all- i just loaded VESC-tool silver on my windows laptop. is it possible to upgrade a maker-x HI200 to v5.03 firmware, and if so, how is that done? i see the Firmware tab in the tool and install new firmware and firmware changelog, but i have no idea whether this vesc will accept the upgrade or how start the download...

 

i'm running a T-motor U15 off this esc on an ebike, and got pretty close with manual tuning thus far but want to test the latest version. thanks.

 

Pages

Subscribe to RSS - VESC Firmware