You are here

VESC Firmware

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.

Regarding code documentation

Submitted by hiddenzed on Mon, 2021-02-08 12:40

Hello, I've been searching for some documentation for the vesc source code, but to no avail.

I've been digging a bit through the functions in mcpwm.c like the ISRs and the like, but without documentation it's hard for me to understand their purpose / use.

Is there any documentation online that im missing regarding the code (maybe even just a design of the software / flowcharts etc..)?

Appreciate any help there is! thanks :) 

VESC 100-250 doesn't work with firmware built from 100_250 folder

aerostepa's picture
Submitted by aerostepa on Sat, 2021-01-30 17:14

When I use file https://github.com/vedderb/bldc/blob/master/build_all/100_250/VESC_defau... for firmware update through VESC tool, everything works fine.
But when I make build on Windows or Ubuntu and update firmware with my file from /build_all/100_250 folder, connection error happens and then I restore VESC through ST_LINK.

I think something wrong with build, what it could be?

Pages

Subscribe to RSS - VESC Firmware