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?
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.
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?
All GNDs are shared anyway. There is only one GND plane on the PCB.
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.
Depends on your setup. Is ADC 1 configured with reverse and nutral position? Is the wheel lifted from the ground during your test?
Its configured with Current reverse center. Motor is not connected.
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.
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