You are here

Disable throttle while braking

8 posts / 0 new
Last post
rl_19
Offline
Last seen: 2 years 6 months ago
Joined: 2022-03-18 23:57
Posts: 4
Disable throttle while braking

Hi guys. I'm new here :-)

I'm about to integrate a VESC in my scooter conversion project.

For material protection and safety, I'd like to disable the throttle while braking. 
Is there such an interface and function in the VESC 100/250?

Thx for your help.

Best 
rl

skyline1970
Offline
Last seen: 3 months 4 days ago
VESC Free
Joined: 2017-09-07 22:28
Posts: 232

If using adc input for throttle you should place a resistor between the adc in. And gnd, and a special mo's switch opto coupler between throttle and vesc.

When braked throttle srpetated from circuit

rl_19
Offline
Last seen: 2 years 6 months ago
Joined: 2022-03-18 23:57
Posts: 4

I had a similar idea...
Do resistor + opto coupler affect the adc signal of the throttle? 

 

And are there other solutions for disabling throttle here in the forum? :-)

Best
rl

skyline1970
Offline
Last seen: 3 months 4 days ago
VESC Free
Joined: 2017-09-07 22:28
Posts: 232

a special mo's switch opto coupler does not affect adc.

 

another way to use kill switch input, just look at the related help within vesc tool.(app.set.general)

rl_19
Offline
Last seen: 2 years 6 months ago
Joined: 2022-03-18 23:57
Posts: 4

Thx! This were the answers I was hoping for.

a special mo's switch opto coupler does not affect adc.

Could you give me a link for such a spechial mo's switch? I have only experience with "normal" optocouplers..

Best
rl

skyline1970
Offline
Last seen: 3 months 4 days ago
VESC Free
Joined: 2017-09-07 22:28
Posts: 232

AQY282SX

rl_19
Offline
Last seen: 2 years 6 months ago
Joined: 2022-03-18 23:57
Posts: 4

👍

Best
rl

flez1966
Offline
Last seen: 3 months 3 weeks ago
Joined: 2024-03-16 14:49
Posts: 7

Are you saying to place the transistor of the opto-coupler between throttle sig and vesc adc pin, then maybe resistor from vesc adc to vesc ground, what would be a ball park resistor value? 10k, 100k, 500k?
I have some pc123 opto I used one as on/off to my vesc, pin 1 would be throttle sig and pin 2 adc, pin 4 is led cathode (ground side) and pin 3 led voltage, use a resistor/led calculator to work out the value for your switch values.
opto led would need to be on for throttle to work, my brakes send 12v when braking so I would to wire my led with its anode to +12v and cathode to my brake light line with the led resistor

 

flez1966