You are here

General discussion

Using UART from LabVIEW

Submitted by hannnes on Tue, 2022-04-05 15:19

Hi,
We are trying to controll the VESC using LabVIEW on a MyRIO, but we have some trouble figuring out how we can do that. We are therefore wondering if anyone has done something similar.

There is a block called "UART" in LabVIEW, that can be used to write a string to a TX pin. Can that be used to write commands to the VESC somehow?

Sorry if this question is more about LabVIEW than VESC, but I hope that someone can help us anyway. I have attached an image showing the code for the block.

Adjusting Acceleration Ramp with NRF & Current control

Submitted by Mido on Tue, 2022-04-05 14:36

Hi everyone, hope you're doing great !

I'm having a hard time adjusting the acceleration ramp on current control. It doesn't seem to change anything when I change the values of "Positive" & "Negative Ramping Time". 

Can please someone explain me how to smoothen the acceleration ramp in my situation ? Because it's too aggressive every time I use it.

Thanks a lot for your help angel

 

Problem with regenerative breaking

ligi's picture
Submitted by ligi on Sat, 2022-04-02 15:08

Having a VESC (6 MkV) on my CargoShuttle for a while now. Now want to do regenerative breaking - but face a problem. I set the breaking to ADC2 - and when pushing this throttle the same time as the current throttle on ADC1 there is no more motor rotation. But there is no breaking effect. Interestingly I see some effect when pushing the bicycle backwards (but I rarely drive backwards and really need no regenerative breaking in this direction) - but also I do not get negative current then - only positive current. 

[OT] Increase torque on DC brush motor

Submitted by Riccio on Mon, 2022-03-28 19:32

Hi guys, I'm sorry if I'm off topic you can delete the post if it not useful for the community. I want to ask a stupid question from a noob like me.

If I have a brush DC motor, in my case a MY1020 500W, is it possible to increase torque of the motor, in particular stall and low rpm torque (high RPM are useless in my application), replace the magnets with a greater number of it and with a strong performance material like neodymium?

I think that now are in ferrite. The number of teeth in the motor are twenty and magnets are four.

Limit battery voltage during regen

Submitted by f.damien12 on Mon, 2022-03-28 12:40

Hello,

My motor is used to make sometime big regen.

My battery owns a BMS and as a result, I absolutely need to take care to not make the BMS trips, otherwise I will burn the VESC (because braking with battery disconnected generates overvoltage).

How to prevent regenerating if battery voltage is too high ? Example : the BMS will trip at 42,5V. To get a safety margin, I want the VESC not doing regen if voltage is greater than 41,5V.But I want to be able to discharge.

1) How to implement this behaviour ?

Pages

Subscribe to RSS - General discussion