You are here

VESC Firmware

Importance of the MK version and Determining the MK version of the VESC

Submitted by alexantosh on Tue, 2021-11-23 12:15

Hello. I have a VESC6 based ESC. It is VESC tool compatible. I want to flash the VESC_servoout.bin firmware onto the ESC. Now I have the following two concerns stemming from the fact that its only till VESC tool 2.03 that the VESC_servoout.bin firmware is provided. I managed to find the repo that contains these firmware bin files  but there are different versions depending on the VESC's MK numbers (III, IV, V ...).

1. Is there a way that I can determine the MK number of the VESC that my ESC is using?

How difficult would it be to add code to read an external EEPROM, and deactivate/activate depending on a value

Submitted by PaulMakesThings on Thu, 2021-11-11 09:55

I'm working on something for a quick proof of concept. And since I need to customize the code for a BLDC driver I've gotten two VESC based drivers to work with.

I was wondering, how hard would it be to use one of the ports to read an EEPROM, and if a given value is read, don't run, otherwise run as usual. That's all I need it to do. But I don't have the dev toolchain set up. Nor is the same EEPROM library likely to work. Since time is limited I'd just like to feel out how practical this is.

Here is an example of how I read the needed code on Arduino

Which firmware do I need

Submitted by Luka-Zagar on Tue, 2021-10-19 22:24

Hello guys,

I would appreciate some help :). I got a VESC from my uncle and I would like to use it with my custom electric skateboard. Pictures below.

The software is telling me to update the firmware, but I don't know which hardware version it is (is it possible to figure it out).

The second question is: The VESC is 12S tolerant or am I wrong? (is there a chance to get a datasheet)

Thanks in advance.

Green LED on older VESC, v4.12?

Submitted by smith2e7 on Mon, 2021-10-18 17:42

Hello. I have nice operation of my VESC 4.12? from China when I operate in PWM mode and connected to a Futaba R617FS receiver. 

I used the VESC Input Wizard to calibrate the VESC to the pulsewidth range of the R617FS.

Now I have built my own electronics to generate RC pulses, for use instead of the RC receiver.

My electronic assembly makes pulses just like those of the RC receiver: same pulse period, same range of pulsewidth.

The VESC responds to the signals from the RC receiver and it gives a very bright green LED.

Connection to MTSVESC6.0 Mini

Submitted by Paul Tingault on Thu, 2021-10-07 13:31

Hello,

I'm a VESC beginner and I have bought a MTSVESC6.0 Mini from Maytech but I can't connect it to VESC tool. I haven't found installation tutorial about this model of ESC.

I have a STlink V2 to link the ESC and my computer but VESC tool  don't recognize my ESC.

Which pins have I to connect and how start with this model ?

Thanks in advance for your help,

Paul

 

 

 

Encoder Index Interrupt Code

Submitted by dylanm on Sat, 2021-09-18 00:05

Hello,

Is there an issue in the IQR_HANDLER for the encoder index pulse? https://github.com/vedderb/bldc/blob/be439a2a55ae5b1ba8cce8ad6b0da2d8046....

CH_IRQ_HANDLER(HW_ENC_EXTI_ISR_VEC) {
    if (EXTI_GetITStatus(HW_ENC_EXTI_LINE) != RESET) {
        encoder_reset();

        // Clear the EXTI line pending bit
        EXTI_ClearITPendingBit(HW_ENC_EXTI_LINE);
    }
}

how to build new bin code on win10

Submitted by yiannis on Wed, 2021-09-15 21:05

Hi i want to make a Vesc drive similar to Vesc_75_300 but with less amperage, i know what change need to do in firmware, but i do not know how to build this 

new bin code in win10, i see one video on youtube https://www.youtube.com/watch?v=daGGrAplBwg&t=990s but is in ubuntu.

I have download the eclipse but i dont know if can build bin code from there, i do not use ever before.

Custom firmware workflow

Submitted by BDJ on Fri, 2021-09-10 13:50

Hello!

 First thank you all for the job made for VESCs

I'm new to VESC and I would like to make a new custom firmware for my application. But I'm not sure about the the workflow. And I also struggle to rewrite appconf and mcconf files. 

What I planned to do is compile a new firmware using the makefile after modifying appconf_default.h, mcconf_default.h and app_adc.c where I need to make modifications. 

Then flashing the firmware  .bin file using VESC tool custom firmware function. 

Pages

Subscribe to RSS - VESC Firmware