You are here

General discussion

coms port bluetooth and switch and adc ?

Submitted by badger1666 on Tue, 2017-12-12 17:20

hi

i am planning to use a vesc6

in a high power scooter project and want to make heavy use of coms port.

adc for throttle, switch for variable regen   and bluetooth to monitor speed ect.

from what i have read so far it looks like this might not be possible, as bluetooth  uses rx pin but so would the switch for the regen. is this correct?

is there a way to use a spare adc pin for the regen switch ?

thanks

 

 

Realtime Tachometer readings over UART

Submitted by Davideo on Thu, 2017-12-07 00:10

*** Never mind, looks like there is something in my code that's creating the blockage ***

For my robotics project I would like to be able to have access to the vesc tachometer value.  I'm using Rollinggeckos amazingly helpful VescUartControl. As a first step I have my Teensy (arduino like microcontroller)  get a bldcMeasure struct from the VESC, then get the .tachometer value from the struct and display that on the little screen I attached (for now).

Best way to stop "de-sync" of motors

Submitted by Paul15578 on Tue, 2017-12-05 04:57

Hi Guys

When I accelerate on grass with 200mm tyres,
if I have the motors set to say 75A each, and I take off full speed, I get a violent wobble of the rear truck and motors stop partially suddenly. Which I am calling a de-sync of the motors. 
It will pass this after a fraction of a second, and then continues normally, I believe its just occurring at peak current. 

Is this a matter of lowering the amps? (as it cant handle approaching the limit and thus spazzes out?)

Or modifying the observer gain and just see what happens?

Brake Switch

Submitted by Fotherja on Fri, 2017-12-01 18:35

Hi,

I'm using the VESC6 in my electric scooter. I have the throttle input going into ADC1. I want to use a push button switch on the handlebars to swap the motor torque direction ie. to activate regen mode. Essentially the throttle will become a variable regen brake whilst the switch is pushed.

My question is, what input do I connect the switch to? Is there a pin with a pull up resistor so the switch can just pull the input to ground? It'd be nice to avoid having to do all that myself.

Thanks in advance,

James

FOC and extremely low speeds do not look sinusoidal

Submitted by wdaehn on Wed, 2017-11-29 21:33

Latest firmware, FOC, Hallsensors, 1600kV motor, PID Speed Control

 

At very low speeds the motor does not rotate smoothly, it more looks like there are ripples. Realtime Data shows those nicely. I wonder if you can do something about that. In fact I don't understand the root cause of that. Thanks to the Hall Sensor the Vesc knows which phase to use and based on the target speed, it can apply the amps in a sinus form of the proper wave length.

RPM measurement.

Submitted by Roger Wolff on Wed, 2017-11-29 16:48

Hi, 

Does the firmware somehow keep track of the RPM separately with the HALL sensors? Any idea on how to implement that?

 

My motor COULD turn faster than the battery allows. So when that is almost happening I will set the current to 0, and command three relays to disconnect the motor (two would be enough in theory, but I want to keep the current paths symmetric) But I want to know when it is safe to reconnect the relays again. So it would be nice to use the hall sensors to keep track of the speed of the motor. 

 

 

Pages

Subscribe to RSS - General discussion