You are here

Set legal speed 20 km/h using reverse pin input

3 posts / 0 new
Last post
Dominator2
Offline
Last seen: 6 months 1 week ago
Joined: 2023-06-15 23:07
Posts: 5
Set legal speed 20 km/h using reverse pin input

i need to use the rx pin from com (used to default for reverse) for set limit the speed to 20 km/h and wen release return to normal profile.

tha is for e-scooter that not need reverse command.

i think if possible, to add on feature vesc this setting,

field whit set legal speed example (20)

field with set change reverse wit legal speed command.

 

i'm using ubox single 100v 100A

Dominator2
Offline
Last seen: 6 months 1 week ago
Joined: 2023-06-15 23:07
Posts: 5

can anyone help solve this implementation?
Vesc is increasingly gaining interest among scooter users

vadicus
Offline
Last seen: 1 week 5 days ago
VESC Free
Joined: 2018-08-17 07:26
Posts: 431

See my code example that processes push button events for PPM/Servo input: https://vesc-project.com/node/1521#comment-11493

You can add a limiter when long or short press are detected. 

 

 

NextGen FOC High voltage 144v/34s, 30kw (https://vesc-project.com/node/1477)