You are here

VESC Firmware

FAULT_CODE_UNDER_VOLTAGE corrupted

Submitted by edilger on Mon, 2024-06-17 13:13

Hi, using V6.02, running in BLDC-mode ( as I still have trouble with watchdog-resets) I quite often get FAULT_CODE_UNDER_VOLTAGE. Checking the errors with Android, I sometimes get the following output

Fault            : FAULT_CODE_UNDER_VOLTAGE
Motor            : 1
Current          : -0.8
Current filtered : -0.0
Voltage          : 0.30
Duty             :  0.011
RPM              :  4.8
Cycles running   : 2
TIM duty         :  179

Motor            : 1

TIM duty         :  188

lispBM compile problems on Windows

Submitted by wirebrush on Thu, 2024-05-16 23:28

I was able to build VEDC firmware without problems in a windows powershell easily using the instructions provided. Great job making this easy!

However, attempting to build the example REPL per the instructions at https://github.com/vedderb/bldc/blob/master/lispBM/lispBM/doc/manual/ch1... results in the following:

make (e=2): The system cannot find the file specified.
make: *** [Makefile:50: repl] Error 2

Custom made VESC hardware fail to flash firmware

Submitted by jordanlow on Wed, 2024-05-08 11:40

Hi, I have made a custom VESC hardware based on VESC 4 hardware and I manage to get ready build firmware from BLDC 5.03. The only problem, I could not download the firmware to the hardware with original St-link V3 and St-link V2 anymore. Is anyone face this issue before? I was able to read the chip information too.

send adc_voltage and digital inputs via CAN

Submitted by dpeinado on Mon, 2024-04-15 16:17

Hello all. I have a dual VESC 6 controller. I need several ADC inputs as well as digital inputs, so I have not enought in the master controller. I want to use the slave controller inputs, but send their values to the master controller for the control algorithm.

I've seen  different funtions like io_board_adc_values *comm_can_get_io_board_adc_1_4_id, but this function gives you the data stored in io_board_adc_1_4. This function is in comm_can.c

Focbox

Submitted by macglen on Wed, 2024-03-27 22:45

I am getting these errors when i try to use a focbox and version 6.02:

"The connected VESC has newer firmware than this version of VESC Tool supports. It is recommended that you update VESC Tool to the latest version. Alternatively, the firmware on the connected VESC can be downgraded in the firmware page. Until then, limited communication mode will be used."

Brake power weak

Submitted by csicso on Wed, 2024-03-27 12:31

Hi,

I have an R/C car, it uses direct drive, so no transmission ratio. The motors (400kV) are set to use 40A on driving, it works like charm, the brake power is -25A and it's very weak. The max regen value is -5A but I'd like to reduce it to zero, because in the car I don't have any BMS. How can I achieve larger brake force? Increase the regen ampers? Thanks

Multi-Turn Position Control with ABI incremental encoder

Submitted by Devanshu on Mon, 2024-03-18 04:01

Hey, the project I am currently working on requires multi-turn position control using ABI encoder, i.e., if I input +900° then it should make 2 complete turns and one half turn to stop at 900° = 720° + 180° in forward direction and if I input -900° then it should make 2 complete turns and one half turn to stop at -900° = -720° - 180° in reverse direction. If there is any feature available in any version or any firmware of VESC it would be great, I had tried a few things by myself but failed in task of implementing pid control for multi-turn.

Pages

Subscribe to RSS - VESC Firmware