You are here

VESC Firmware

Need help understanding how VESC firmware works

Submitted by khojka on Sun, 2021-04-11 16:55

Hi,

I have a VESC and I'd like to see how it works. I tried reading the firmware source code but it isn't exactly clear for me how and where the motor is commutated, i.e. where the actual code that does that is. So, where can I find the thread (I'm assuming) that spins the motor?

Thanks

VESC Firmware Change, No Longer Connects

Submitted by wj311 on Wed, 2021-03-10 22:40

I am using a VESC 6 MK V from Trampaboards while following the build guidelines given by the F1Tenth competition procedures on Ubuntu 20.04. However, these instructions are seemingly out of date and I had no way to interface with servos, previously done by servoout.bin in the firmware configuration. After looking at multiple versions of the tool (2.03, 2.06, and 3.0) I still could not find a pre-made solution.

SPI communication

Submitted by CTSchorsch on Tue, 2021-03-09 22:31

Hi all,

i want to communicate over a hoperf rfm95w module with my vesc. this module is spi based. On my hardware pins for spi3 are available. 
is it a good approach to do this in my hw_xx.c file ? Or is there another Place to jump in ?

Georg 

 

 

 

 

long range tunnel for bluetooth module

Submitted by heiguga on Tue, 2021-03-09 18:03

For my paraglider winch control I want to have a remote access to the VESC controller with the android app.

I am thinking about "tunnelling" the UART interface for the bluetooth module based on two E32-433T30D modules (full duplex serial link based on LORA). 

 

Could my approach work?

 

Regards,

Robert

Cannot update to FW5.2.

Submitted by Ba1tuks on Thu, 2021-03-04 21:09

Hi.

I am running Vesc 6 MK5 and Vesc 4.12 in my setup. None of them I am able to update to new 5.2 firmware using Vesc Tool 3.00. Says that compatible firmware is only 5.0 and 5.1.

How to update the firmware? Where to find firmware files separately ?

VESCS seen some use and abuse, so they have been repaired a few times, MCU's were replaced and reflashed. But until now, updates installed perfectly fine.

Control current PID from UART

Submitted by Koxx on Wed, 2021-02-17 20:27

Hello,

I am working on a project to control the VESC from a Arduino (ESP32).

I am controlling it in current mode.

I'd like to control the acceleration force (FOC current PID Ki/Ki) from the UART.

but ... is it possible to control it from UART ?

A quick study on the VESC code, it doens't seems to allow that.

Any idea ?

Thanks !

about Hall count (tacho value) problem

Submitted by sirino on Wed, 2021-02-17 02:35

Hi, I'm using vesc50A for my robot project using CAN communication.

When I get the tacho_value from CAN status (config. CAN_STATUS_1_2_3_4_5), sometimes data doesn't updated.

I'm reading the CAN status data 50Hz and the "CAN status rate" of VESC is 50Hz. The motor has 10pole, and 5.4 gear ratio, Hall sensor.

VESC Response time and update rates

Submitted by JimKazmer on Fri, 2021-02-12 04:14

Hi, I'm new to VESC. I am thinking of using VESC in my robotics application. Up to this point in time, I've been building smaller robots (~3 to 5 lbs; ~1.6 to 2.4kg). I've been using BLHeli32 ESCs which (as most here already know) were developed foremost for the quad-copter community.  I now want to build larger robots and need sturdier/larger ESCs and motors.  In my application, I have a need to update the ESCs at a very high rate. The BLHeli32 ESCs have a protocol, dShot1200, which I've been using, and this protocol can support update rates as high as 32kHz.

Pages

Subscribe to RSS - VESC Firmware