Ok, so I would like to set a speed limit on my VESC based escs. I do know there are profiles I can preset and just load to limit speed, but is there a way to set a speed limit that will always be set to default on restart.
I want to have a basic config that does limit my board to let’s say 25km/h. If I want to drive faster, I would need to load an other profile, but as soon as the board was switched off once, the escs will boot with the 25km/h limit instead of the last profile setting.
Is there a way to do so?
With a metr this is easily possible.
Dont know how to do it with just a vesc
Yes. That’s how i run my boards for ages now.
Board turns on - locked to 6km/h - needs manual overwrite via the app to unlock the full speed - if the board turns off/restarts it will be set to 6km/h again automatically.
Works via Metr, Vesc tool app and basically every app that allows you to set “Profiles”
Ah ok, thanks for clearing that up. Always thought it will save the last set profile even after reboot.
That’s how it would look in the vesc tool app.
“Use permanently” sets it to always boot with it.
“Use until reboot”…uses it until a reboot, then starts with the permanent one again.
you can just set it as the default profile
Hi, what does it mean to “reboot” the VESC to switch from a temporary profile to the default one?
Does it mean disconnecting and reconnecting the battery?
If so, is there another way to do this on the fly?
I’m building an e-bike and want to be able to quickly switch to the default profile if needed. The controller will be a Tronic X12 and has an on/off function with a latching switch, but I think that only puts it into sleep mode and doesn’t reboot.
A reboot on a VESC-based controller is a power cycle, either by physically interrupting power to the controller or flipping the switch.
Basically “until reboot” is a profile that only overrides current settings using the controller’s RAM. “Permanently” writes the profile settings to the onboard NVRAM so it survives power cuts.
Just to clarify—switching off the controller via the on/off switch (like on the Trampa 100/250 or Tronic X12) is enough to reset the VESC to its default mode, right?
I’m a bit confused because, for example, in sleep mode on a Windows PC, the power to the RAM isn’t cut off.
Yes. PCs keep power to the RAM during sleep mode (well most sleep modes, there are different types) specifically to keep the contents alive. No VESC-based controller has anything like that.
Anything based off a VESC 6 does have a “hibernate” option but it has little in common with the PC version of that concept. That said I’ve never poked at a Tronix.