You are here

Powertool switch on VESC

2 posts / 0 new
Last post
Toto
Offline
Last seen: 3 weeks 3 days ago
VESC Free
Joined: 2021-01-08 09:52
Posts: 3
Powertool switch on VESC

I would like to control my motor with the help of a power tool switch.This is a switch for BL power tools. It has 6 wires connection, which are gnd ,+5V, pwm, directionL, direction r, and one with x2+, no idea what this is.

Is there any possibility to connect this to vesc, and use it as speed and direction control?

Thanks

torsten

 

P.s. can I add pictures from my desktop to this post?

 

skyline1970
Offline
Last seen: 5 months 2 weeks ago
VESC Free
Joined: 2017-09-07 22:28
Posts: 232

if BL power tools's pwm output is analog value this could be applied to vesc's speed in on adc1 inputs. (0...+3.2V, adapt to that requirement) Direction r is to be connected to reverse button input of right vesc  and while direction l is to be connected to reverse button input of left vesc. A series germanium diode on this input (negative passing) could be better for vesc.