You are here

ADC EBike Throttle Not Responding

11 posts / 0 new
Last post
d_hoody
Offline
Last seen: 3 years 1 month ago
Joined: 2018-12-12 23:33
Posts: 1
ADC EBike Throttle Not Responding

I recently bought a flipsky FSESC6.6 and when configuring with a hall sensor based throttle the software only registered the noise.  It would alternate between 1.44-1.47 volts and have no response to the input of the ebike controller.  I have tested the pins on the vesc and they are providing the 5V needed.  I have also tested the ebike throttle and it returns a 0-5V range, also tested this with the AnalogReadSerial Function in arduino.  Any help is appreciated.

sam.vanratt
Offline
Last seen: 2 years 9 months ago
Joined: 2018-11-18 14:09
Posts: 83

Hi d_hoody

I'm for sure not the right person to answer, but maybe my little knowledge helps.

a) what have you set as input control? "ADC, no reverse , brake, ......." ?

b) 1,4V seems the floating input voltage of "nothing connected there"; my ADC2 looks that way, until I connect the brake which switch between 0 (engaged) and 3,3V (open) with pullup resistor.

 

ebike and VESC seems very rare (don't ask me why) as in about 5 questions I never received any reply in the last two and a half years. So far I found ADC1 for throttle input (1-4V for HALL Throttles) and ADC2 for brake (pull up resistor seems necessary) of a simple "closed  switch design like my WuXing offers).

I offered to test PAS as well, but Benjamin seems busy with the last glitches in the VESC 6x, so no interest so far.

 

Cheers

Sam

Pedelec usage in combination with a GoldenMotor MagicPie3 BLDC

sindre
Offline
Last seen: 1 year 6 months ago
Joined: 2019-07-03 13:51
Posts: 2

I have the exact same problem. Any solution? I have connected it via a modified servoitester. Is that the right way?

 

Best, Sindre

Gatze
Offline
Last seen: 2 months 3 days ago
VESC FreeVESC Platinum
Joined: 2018-02-03 18:06
Posts: 11

I have just successfully used the ADC on my ebike using this throttle https://www.aliexpress.com/item/1871145926.html?spm=a2g0s.9042311.0.0.27424c4dI2Pttj

I connect it as following (hardware version 4.12):

vesc_throttle_0.png

Be carefull, I used a 6 pin connector to the 7 pin connector on the VESC because I had this connector available, connected to pin 2-VCC, 3-GND and 4-ADC.

The hardware is oké ? you measured on pin 4 an incoming voltage with a multimeter ?

If so then you should set App setting to ADC (off cource after you connect with the VESC)

appsetting.png

And load it to the VESC, then you should turn on 'Stream realtime App data' on the right and you should see then in the ADC app, the mapping tap, a changing voltage.

 

dontknowathing
Offline
Last seen: 2 years 1 month ago
Joined: 2019-12-07 17:02
Posts: 1

Thanks!  I was suffering from the same problem.  But with a same throttle you recommended, it worked!

nickyg
Offline
Last seen: 1 year 6 months ago
Joined: 2020-04-18 01:42
Posts: 2

Hi there, I've been stuck on the OP's same issue for a few days now with a new Flipsky FSESC6.6. I'm not getting any feedback through the throttle apart from the noise 1.4 ish V.

I have the same throttle, although from Bangood. I've been through the wizard a few times with no luck, and tried manually making sure ADC is selected in the general App tab.

Any help or suggestions would be greatly appreciated! Cheers

bsissell
Offline
Last seen: 2 weeks 5 days ago
VESC Free
Joined: 2021-11-21 19:26
Posts: 8

Hi Gatze, I’m having a pr

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Hi Gatze, I came across this thread while searching for a solution to my ADC problem. My vesc is not responding to my throttle. I have several 5v ebike throttles that I’ve tried but no luck! I’m a newby to vesc so very well could be user error! I noticed your link to the ebike throttle, is there something different about that throttle that made it work? I thought all were pretty much the same 5v throttles? 

 

bsissell
Offline
Last seen: 2 weeks 5 days ago
VESC Free
Joined: 2021-11-21 19:26
Posts: 8

Hi Gatze, I came across this thread while searching for a solution to my ADC problem. My vesc is not responding to my throttle. I have several 5v ebike throttles that I’ve tried but no luck! I’m a newby to vesc so very well could be user error! I noticed your link to the ebike throttle, is there something different about that throttle that made it work? I thought all were pretty much the same 5v throttles? Any help is appreciated! Thanks, Bryan

velolac
Offline
Last seen: 1 week 6 days ago
VESC Original
Joined: 2019-11-03 09:57
Posts: 24

Hi bsissell,

you need to configure your input in vesc tool. There you should be able to see if the VESC sees the signal or not, and set up the correct working input voltage range for you throttle. Also make sure you are connected to the correct pins (VCC, GND, ADC1)

bsissell
Offline
Last seen: 2 weeks 5 days ago
VESC Free
Joined: 2021-11-21 19:26
Posts: 8

Hi Velolac, I tried to set up my input in the VESC tool  input wizard. It doesn't respond to my throttle. I've double checked all the options like what kind of input I'm using etc. I'm a newby at vesc so very well could be user error. When I go to set up throttle limits it just shows a consistent voltage, doesn't respond at all when I move the throttle. I also tried a two other 5v e-bike style throttles and it acted the same. Wires from the throttle are correct too. The 6.6 Flipsky vesc is new so hopefully it's not dead on arrival! Thanks for your reply! Going to double check the 5v output on the vesc but pretty sure it's pitting our voltage because the vesc tool shows a consistent voltage. 

velolac
Offline
Last seen: 1 week 6 days ago
VESC Original
Joined: 2019-11-03 09:57
Posts: 24

Hello,

Your voltage source (red) shall be the VCC pin, which I believe gives out 3,3V, not 5. Anyway, it should work with that pin.

Ground is the black wire, and

the signal (yellow) shall go to ADC1.

 

I am using the original Trampa version, not sure how the Flipsky is made, but it should be the same imo.

You should be able to check if your ebike throttle and cable is good by simply connecting it to a voltage source and check if the signal output voltage varies as you change throttle position. Also when you are testing the VESC make sure not to short 5V or Vcc to ground as this may overload that chip and make it unusable. good luck!