This is a design of a throttle for e bike or e scooter i've designed it with a 20k potentiometer in it that can give 0 to 5v analogic signal to control acceleration on e-bike controller!!
Usually all e-bike controller on the web that can handle the throttle use that 0 to 5v analogic signal so you can put it on a lot of elettrich vehicle!! :)
I hope it can be usefull i had 2 of them mounted on my elettric scooters and they work quite well!!
Be sure that you have put the spring very well if it not it can jump out of position and not returning acceleration to 0 with the risk of crash ;)
Enjoy and share!!