I recently built an electric long board. And it’s great! It works perfectly, hits 30, but there’s just one problem.
If I apply any amount of throttle from a stopped position, the VESC seems to have a 1 in 5 chance of timing out. When this happens it will start blinking red for about 3 seconds before going back to normal. I have no clue what causes this, and to my knowledge, it seems to happen at random. Doesn’t matter how gradually I apply the throttle and it’s pretty annoying.
The VESC comes from diyelectricskateboard. This one: diy-electric-skateboard-kits-parts/vesc-the-best-electric-skateboard-esc/
I’m sorry if I messed up with the tags, it’s my first time posting here, plus I have no idea if the problem could possibly be the motor, the VESC, or how I programmed it.
Fault : FAULT_CODE_DRV8302
Current : -0.0
Current filtered : 0.3
Voltage : 37.55
Duty : 0.02
RPM : 429.5
Tacho : 475
Cycles running : 14
TIM duty : 718
TIM val samp : 383
TIM current samp : 23958
TIM top : 47151
Comm step : 2
Temperature : 29.02
EDIT:
Ran it a few more times
Fault : FAULT_CODE_DRV8302
Current : -0.0
Current filtered : 0.3
Voltage : 37.55
Duty : 0.02
RPM : 429.5
Tacho : 475
Cycles running : 14
TIM duty : 718
TIM val samp : 383
TIM current samp : 23958
TIM top : 47151
Comm step : 2
Temperature : 29.02
Fault : FAULT_CODE_DRV8302
Current : -1.7
Current filtered : 0.1
Voltage : 37.58
Duty : 0.01
RPM : 2.5
Tacho : 483
Cycles running : 1
TIM duty : 554
TIM val samp : 297
TIM current samp : 24879
TIM top : 49165
Comm step : 4
Temperature : 30.07
Fault : FAULT_CODE_DRV8302
Current : 0.7
Current filtered : -0.3
Voltage : 37.58
Duty : 0.00
RPM : 4.6
Tacho : 486
Cycles running : 1
TIM duty : 263
TIM val samp : 10
TIM current samp : 26384
TIM top : 52747
Comm step : 1
Temperature : 30.04
Fault : FAULT_CODE_DRV8302
Current : 0.2
Current filtered : 0.0
Voltage : 37.58
Duty : 0.01
RPM : 7.6
Tacho : 487
Cycles running : 1
TIM duty : 554
TIM val samp : 297
TIM current samp : 24879
TIM top : 49165
Comm step : 6
Temperature : 30.15
Fault : FAULT_CODE_DRV8302
Current : 0.3
Current filtered : -0.1
Voltage : 37.53
Duty : 0.01
RPM : 12.4
Tacho : 20672
Cycles running : 2
TIM duty : 594
TIM val samp : 10
TIM current samp : 26384
TIM top : 52747
Comm step : 1
Temperature : 30.76
Yea, they told me the VESC was pre-programmed for my setup and I’d be fine, plus for a week or so I couldn’t even program the VESC itself because they sent me a busted cable that I had to replace.
Oof yea, that’s outdated firmware. You got the max current ramp step bug. The VESC or DRV will have to be replaced and you should load updated f/w on it.
Yep. @Jinra caught it; that’s at least part of your problem. If your VESC arrived with that firmware (ie you didn’t flash the firmware at all yourself) then I’d contact them for a replacement. That bug happened about a year ago, but has been lingering ever since. Either way, you’ll need a DRV replacement.