VESC and PAS

Get all your technical information about electric bikes here.
Post Reply
Iippa   1 µW

1 µW
Posts: 2
Joined: Jun 20 2018 6:45am

VESC and PAS

Post by Iippa » Jun 20 2018 6:58am

Hi,

I'm using VESC 4.12 to drive an outrunner motor. Currently, the setup is working great as I'm driving the motor with a throttle. I would like to get it to work with a pedal assist sensor however. Has anyone configured VESC to operate motor directly with PAS? If so which pins should it be connected? I believe the PAS sensor outputs sort of PPM signal so it should be possible to make it work with VESC.

nieles   10 kW

10 kW
Posts: 650
Joined: Jul 14 2008 5:39pm
Location: The Netherlands

Re: VESC and PAS

Post by nieles » Jun 20 2018 7:17am

easiest way would be with a Cycle Analyst V3

connect and configure the PAS on the Cycle analyst and connect the Throttle out to the VESC.

Iippa   1 µW

1 µW
Posts: 2
Joined: Jun 20 2018 6:45am

Re: VESC and PAS

Post by Iippa » Jun 20 2018 7:38am

Looks like that will do the job. Thanks nieles!

nieles   10 kW

10 kW
Posts: 650
Joined: Jul 14 2008 5:39pm
Location: The Netherlands

Re: VESC and PAS

Post by nieles » Jun 20 2018 7:54am

check the VESC configuration tool just to make sure there are no pas options. (last time i checked there were not, but that`s a long time ago LOL)
or if you are comfortable writing firmware you could add it your self, but the Cycle analyst is by far the easiest option.

Addy   100 W

100 W
Posts: 198
Joined: Aug 11 2017 11:15am
Location: BC, Canada

Re: VESC and PAS

Post by Addy » Jun 20 2018 1:42pm

Definitely check if you can do it directly with the VESC. If your PAS puts out an analog signal, the VESC should work fine with it, because you can configure the analog inputs to match whatever signal you want, as long as it's within the 0-3.3V range that VESC can read.

PPM signals may work as well because VESC supports PPM signals like you would get from hobby RC stuff.

User avatar
Ecyclist   1 kW

1 kW
Posts: 320
Joined: Apr 01 2016 10:53pm
Location: San Diego, California

Re: VESC and PAS

Post by Ecyclist » Oct 22 2018 11:15pm

Were you able to set up PAS on VESC?
I would like to do the same.
Can you post your findings?
Thanks a ton.
Don't expect from life to be easy and then it will be.
My builds:
Avian with hypocycloidal drive https://endless-sphere.com/forums/viewt ... 2#p1318056
2016 GNG extreme drive https://endless-sphere.com/forums/viewt ... 28&t=82252

User avatar
Tom on 101   10 mW

10 mW
Posts: 27
Joined: Jun 17 2016 10:12am
Location: Aptos, California

Re: VESC and PAS

Post by Tom on 101 » Dec 17 2018 4:50pm

Yup I would love to see how this might be done. Has anyone made this work?

Dylandesmond   10 mW

10 mW
Posts: 29
Joined: Dec 09 2018 11:33am

Re: VESC and PAS

Post by Dylandesmond » Dec 25 2018 7:23am

Works with servo motor tester

User avatar
amberwolf   100 GW

100 GW
Posts: 25997
Joined: Aug 17 2009 6:43am
Location: Phoenix, AZ, USA, Earth, Sol, Local Bubble, Orion Arm, Milky Way, Local Group
Contact:

Re: VESC and PAS

Post by amberwolf » Dec 25 2018 10:39pm

Dylandesmond wrote:
Dec 25 2018 7:23am
Works with servo motor tester
Could you post the details on your setup that's using a servo motor tester to convert pedals to a PAS signal to the VESC?

Dylandesmond   10 mW

10 mW
Posts: 29
Joined: Dec 09 2018 11:33am

Re: VESC and PAS

Post by Dylandesmond » Jan 01 2019 9:42pm

Hobbyking sell them there are videos onyoutube

Dylandesmond   10 mW

10 mW
Posts: 29
Joined: Dec 09 2018 11:33am

Re: VESC and PAS

Post by Dylandesmond » Jan 01 2019 9:43pm



Dylandesmond   10 mW

10 mW
Posts: 29
Joined: Dec 09 2018 11:33am

Re: VESC and PAS

Post by Dylandesmond » Jan 01 2019 9:51pm

If its torque sensing that should be fine because itll do a analog voltage

otherwise its pulsing,,, if you're lucky it might match up, somehow i doubt it

ive only converted a torque sensing one, the servo tester just converts it into pulses for the esc to know what to do, i had mine setup as throttle and regen on the same throttle and the throttle would spring back to the middle, handy if you need to regen and hold both brake levers real tight for an emergency stop


thats one way,,,

Post Reply