You are here

Kill switch

8 posts / 0 new
Last post
999dom999
Offline
Last seen: 2 years 5 months ago
Joined: 2022-04-05 11:37
Posts: 3
Kill switch

Forgive my ignorance, to set either adc or ppm to low do I connect ground to the signal wire?

I have a scooter with hydraulic disc brakes and I want to cut the motor while braking. The brake levers have sensors that are 2 wire "normally open" so I can join the 2 wires between signal and ground and it will make a connection when I pull the lever. Just checking this is the way to do it?

Kill Switch Settings

Disabled

No kill switch is used.

PPM Low

The kill switch is active when the PPM input goes low.

PPM High

The kill switch is active when the PPM input goes high.

ADC2 Low

The kill switch is active when the ADC2 input goes low.

ADC2 High

The kill switch is active when the ADC2 input goes high.

 

 

frank
Offline
Last seen: 1 week 21 hours ago
VESC BronzeVESC FreeVESC GoldVESC OriginalVESC PlatinumVESC Silver
Joined: 2016-12-27 20:19
Posts: 847

This is not really a good idea. The kill switch is only intended for safety cutoff and not to reduce the power occasionally. I don't see a reason for such an implementation. You let go the throttle and press the brakes... That it how it works on any motorbike and cars.

999dom999
Offline
Last seen: 2 years 5 months ago
Joined: 2022-04-05 11:37
Posts: 3

Ok sorry I misinterpreted this function. My current scooter controller with brake sensors cuts the motor when the brake is pulled. This is for safety and stops the disc brake being applied while the motor is engaged, so they are not fighting against each other. What would be the best way to implement this with VESC?  

frank
Offline
Last seen: 1 week 21 hours ago
VESC BronzeVESC FreeVESC GoldVESC OriginalVESC PlatinumVESC Silver
Joined: 2016-12-27 20:19
Posts: 847

Would you really hold the throttle while applying brakes? Sounds like a problem doesn't really need solving. On all my motorbikes you could perfectly throttle the engine while pressing the brakes.  But who would do that?

999dom999
Offline
Last seen: 2 years 5 months ago
Joined: 2022-04-05 11:37
Posts: 3

I have an escooter and ebike, they both work this way. The brake cuts power to the motor. 

Ok so if I want to add an emergency kill switch to hit if say the throttle get stuck open, can I short ppm signal to ground? And set the kill switch option to ppm low? 

skyline1970
Offline
Last seen: 2 months 3 weeks ago
VESC Free
Joined: 2017-09-07 22:28
Posts: 232
frank
Offline
Last seen: 1 week 21 hours ago
VESC BronzeVESC FreeVESC GoldVESC OriginalVESC PlatinumVESC Silver
Joined: 2016-12-27 20:19
Posts: 847

The kill switch can be wired in according to the VESC-Tool options. ADC or PPM, high or low. A external circuit that always pulls the ADC 1 throttle signal low when applying the brakes would be the best way to make sure that you can not pull the throttle while braking. However, releasing the brakes when the throttle is still pulled might also cause unexpected behavior. Not sure if that is so desirable in higher powered vehicles.

hnr_engineer
Offline
Last seen: 2 years 2 months ago
Joined: 2022-06-01 03:51
Posts: 2

Hi,

Im not an electronics minded person but trying to set up the Kill function on ADC2 using a magnetic hall switch 3.3v.  So when it says ADC high or low what exactly do you need to feed it and how.

The hall switch has an analog and digital output but is there something more you need to add to the ADC input from the hall switch to allow it to recognize a high or low signal.

Thanks