You are here

VESC Firmware

ADC Vector Arrangement

Submitted by javmarina on Sun, 2019-12-29 14:32

I want to customize the VESC firmware for my custom hardware configuration. I have set up most things, but I have issues configuring the ADC vector. Specifically, I don't fully understand the hw_setup_adc_channels() function and the relationship between vector index, pins, ADC device and channels. How can I configure the vector and the pads according to my needs?

I have SENS1...SENS3, CURR1 and CURR2 (2 shunts), EXT for throttle, SIN and COS for encoder (maybe EXT2 and EXT3?), TEMP_MOTOR, TEMP_MOS and AN_IN (Vbus sense).

Duty cycle take 95% when motor released

Submitted by Rarikao on Mon, 2019-12-23 08:57

Hi everybody,

First time making a topic here. My problem is the following.

I have build 2 V6 controller and on one of them, the duty cycle take the max value (95%) when the motor is released. This value is show on VESC tool with RT mode.

This duty cycle is not apply except at the begin when exit from motor release mode.

I am using the controller through CAN. All input are off (ADC, PPM and "no App" on General setup).

3.64 can_scan breaks with ppm enabled.

Submitted by fessyfoo on Fri, 2019-12-20 20:40

HI, I upgraded to vesc 3.64/vesc-tool 1.27 on a dual foxbox (legacy) setup connected via can bus.

my default secondary can id is 84. primaray is 21.

can_scan identifies 84. however if I enable the PPM app or the PPM + UART app then the can_scan will show the secondary device as id 93 or sometimes 92. can forwarding fails. on all 3 ids, 84, 93, and 92. changing the remote can id to 1 and master to 0 has similar effect. with the secondary being seen as id 9 or 10 instead of 1.

VESC PID

Submitted by nidhirao on Tue, 2019-12-17 13:56

I want to see implementation of VESC PID controller. I am able to get duty cycle mode working. But speed control mode I am unable to get efficiently working. Any help will be appreciated.

No reverse after FW update from 3.62 to 3.63

Stupidspencer's picture
Submitted by Stupidspencer on Sun, 2019-12-15 20:34

Has anybody else lost reverse after the most recent firmware update?  I built a new battery for my board to improve top speed. The old one was 10S9P and the new one is 12S10P, so I had to change my settings in VESC tool for the new pack. VESC tool said a new firmware was available so I installed it without any issues. I went through the FOC wizard and input wizard and then changed all the other settings necessary to get everything working how it was before.

VESC 6 CAN Command and Telemetry Formats

Submitted by TerraHawk on Thu, 2019-11-21 20:29

I have looked all over and failed to find command and telemetry information in a convenient package. I dug through the VESC 6 firmware and extracted what I believe are the correct formats. 

I am looking for somebody to glance over my PDF and see if the formats look roughly correct. I will get to test  it next week to verify but if I have made an obvious error, it would be good to learn it now.

Thank you.

VESC6_CAN_CommandsTelemetry.pdf

Pages

Subscribe to RSS - VESC Firmware