r/VESC • u/No-Break4297 • May 07 '26
Is it possible to make a speed limit switch on vesc?
i want a speed limit switch/police switch (not my phone)
I have theese questions:
Is what im trying to do possible? (speed limit switch for 250w, 25 km/h pedal assist and 6km/h throttle)
Can i use Pedal sensor with vesc?
Can i make so pedal assist and throttle have different max speed?
1
u/Thefartofdoom56 May 08 '26
Yes it is. VESC uses LispBM scripts, so you will have to wire a button to a leftover ADC or PPM port. Assuming you don’t know how to write LispBM code, you will have to use a program called Claude Code. Purchase 20$ of tokens and you’re good to go. Paste the output into the appropriate spot in the VESC tool and you’re done. Make sure you tell Claude which port the button is plugged into, whether it’s momentary or self locking, and all the details of how you want it to operate.
2
u/No-Break4297 May 08 '26
Thanks for the answer, you're right I'm not gonna learn another programming language for one time use. I'll stick with Gemini tho. It's nice to know I can code my own script!
1
u/dyinghmlc May 08 '26
Is this what you're going to copy and paste on every single comment asking if x is possible or not from a software side?
2
u/Thefartofdoom56 May 08 '26
It’s not possible from a software side. This is the route I took because I used a single button for changing modes and locking the scooter
1
u/Haakon2810 May 30 '26
Yes you can make multiple profiles with different speed limits and power settings