You are here

VESC Firmware

VESC 5.1 CAN conntection: current values

Submitted by Clemens K on Tue, 2021-07-13 13:22

Hello,

i have connected a VESC compatible Hardware from MakerX via CAN-Bus to my MCU (STM32). I read all CAN messages from 1 to 5.

Fast changing values like the motor-current and the battery-current tend to show strange behaviour. E.g. I observe the values with the VESC Tool and it shows the current between 0.8A and 0.9A what is a plausible value for the setup. However, the current data that is extracted by the extern MCU via CAN-Bus shows values between -2A and +2A.

VESC 75/300 FW Mosfet Temperatures problems

Submitted by tecnico.solarboat on Wed, 2021-06-09 14:45

I'm trying to flash a custom firmware on the VESC so that I can have custom CAN messages on the Bus, such as Fault codes.

I have 3 different VESC 75/300 versions. One that I know is a REV_3 and two more that I'm not sure which version they are. The PCB inside the VESC says V1.1 and VESC Tool says Fw: 5.2, HW: 75_300.

FW stability

NATUITION's picture
Submitted by NATUITION on Fri, 2021-06-04 15:35

Hi everybody,

I am facing some instability issues with combination of vesc (trampa) MK3 with FW 5.1 et 5.2, so needed to downgrade to 4.2

Does somebody have a table of correspondence between version of HW and FW? I am particulary interested in trampaboards HW (MK3, MK4, MK5)

 

Thanks in advance!

 

Regenerative Braking

Submitted by silvatma on Wed, 2021-05-26 00:38

Hello guys, 

I couldn't find on the files which compose the VESC Firmware, the lines responsible for the regenerative braking. Neither the lines of code responsible for the MOSFET Switching. 

I'm trying to improve my understanding of how to command the VESC to Switch the MOSFETS at will. Any help to this regard is welcome!

Sign of ADC current readings - ia & ib

Submitted by RaiNFall on Mon, 2021-05-17 08:21

Hello everyone,

I've been working lately on a simple implementation of the FOC functionality (learning purposes) using a VESC 4.12 and a Hoverboard BLDC motor.

Problem: ADC values read are always positive (uint32_t) while the phase currents (ia, ib) can have both signs. How can I tell which sign a current has? I tried to refer to the VESC open-source firmware and found inside mcpwm_foc.c something like this:

Torque6 firmware trouble

Romanceismygift's picture
Submitted by Romanceismygift on Sun, 2021-05-09 22:07

Hello, I apologize in advance I'm completely new to all this, it's my first DIY electric skateboard build. So I bought torque6 vescs and running torqueboards direct drive. I'm using the vesc tool app on my phone and I ran the wizard but I keep getting firmware not up to date messages so i uploaded the new firmware but for some reason it is not loading new firmware, when i try to pair the vesc i just get a message firmware needs to be updated. Am i missing a step here? Thank you in advance I'm trying to learn

VESC not reporting ah charged or wh charged

Submitted by trevorjones on Sun, 2021-05-02 06:59

I am trying to collect some data from my VESC and for some reason it is always reporting that ah charged and wh charged are 0, despite the fact that I am able to use regen braking and both the motor and battery current are negative while I am doing so. Does anyone know why this might be the case? I am using firmware version 5.2, hardware version 4.12, and VESC tool version 3.00.

How to add offset Current on 4.10 FW

Submitted by hideo040401 on Mon, 2021-04-19 19:22

Hi, i just fixing some custom vesc that using 4.10 firmware, i little bit struggle on the current sensor calculation, when 0 amp, it has voltage output from sensor = 1.668V. where i should add the offset voltage (1.668 - 1.65 = 0.018V) on the firmware? i am looking on the hw_410.h code and mcpwm.h and still cant find it, Thank you

Pages

Subscribe to RSS - VESC Firmware