You are here

Vesc 100/250 (Trampa board) wiring for ebike

9 posts / 0 new
Last post
Oded Mazor
Offline
Last seen: 7 months 1 day ago
Joined: 2021-12-24 14:36
Posts: 14
Vesc 100/250 (Trampa board) wiring for ebike

planning to use a regular ebike throttle (hall). Do I connect it to the comm port - ground, ADC1 & VCC (is the vcc 3,3v?)?

the bluetooth module is connected also to the comm port via Tx, Rx, ground & 5v? that means the throttle & bluetooth module share ground. is this OK? 

frank
Offline
Last seen: 3 weeks 2 days ago
VESC BronzeVESC FreeVESC GoldVESC OriginalVESC PlatinumVESC Silver
Joined: 2016-12-27 20:19
Posts: 847

Yes, GND,VCC and ADC1. Place a 10K resistor in between ADC1 and gnd, next to the port. In case your cable is perforated or torn apart, the 10K resistor will pull ADC to gnd and the power is turned off.

 

 

Oded Mazor
Offline
Last seen: 7 months 1 day ago
Joined: 2021-12-24 14:36
Posts: 14

Thanks,

can I share the COMM's port ground which is used by the throttle with the BLE module?

is it better to connect the BLE's ground to the PPM port for example?

frank
Offline
Last seen: 3 weeks 2 days ago
VESC BronzeVESC FreeVESC GoldVESC OriginalVESC PlatinumVESC Silver
Joined: 2016-12-27 20:19
Posts: 847

All GNDs are shared anyway. There is only one  GND plane on the PCB.

Markula
Offline
Last seen: 3 weeks 1 day ago
VESC Original
Joined: 2019-03-22 12:33
Posts: 29

Hi, 

I have now a 1.5K resistor between ADC and GND. The VESC reed 0.006V on the ADC1 when i disconnect the potensiometer. But the VESC still goes full revers. The minimum input voltage is set to 1.09V.

frank
Offline
Last seen: 3 weeks 2 days ago
VESC BronzeVESC FreeVESC GoldVESC OriginalVESC PlatinumVESC Silver
Joined: 2016-12-27 20:19
Posts: 847

Depends on your setup. Is ADC 1 configured with reverse and nutral position? Is the wheel lifted from the ground during your test?

Markula
Offline
Last seen: 3 weeks 1 day ago
VESC Original
Joined: 2019-03-22 12:33
Posts: 29

Its configured with Current reverse center. Motor is not connected. 

frank
Offline
Last seen: 3 weeks 2 days ago
VESC BronzeVESC FreeVESC GoldVESC OriginalVESC PlatinumVESC Silver
Joined: 2016-12-27 20:19
Posts: 847

You can increase the center dead band. However, if the center is off a bit, the motors would accelerate to quite some speed with wheels in the air. That happens because you don't need a lot of amps for high RPMs under no load. A motor with 2 A no load current would go to ful speed with a 2A command. Once the wheels touch the ground 2A would not even move the vehicle.

 

Markula
Offline
Last seen: 3 weeks 1 day ago
VESC Original
Joined: 2019-03-22 12:33
Posts: 29

The issue is if the VESC looses throttle input it defaults to full reverse in the " Current center reverse" mode. We have open and Issue on github. So a software update will solve this problem.

https://github.com/vedderb/bldc/issues/463