You are here

General discussion

Interfacing with the VESC using UART

Submitted by dhruvna on Thu, 2023-03-16 17:42

Hey everyone! I know there's a lot of people who have used UART protocol to work with the VESC over the years, but I am currently struggling hard with it. For context, I am not using Arduino, I am using an STM32L476RG Nucleo board and for the purposes of my project, I need to code it on the register level rather than using a library such as HAL or Cube. Has anyone done a project like this before or seen someone do this before and maybe has some tips? I am using VESC 4.12 and have updated all firmware.

Basic VESC troubleshooting (postmortem?)

Submitted by N_COUNTER on Tue, 2023-03-14 10:58

Hi all,

I'm brand new to the VESC arena, and have just purchased a group of VESCs pre-owned. I'm worried I may have been taken to the cleaners. My hope was that even if a few of them worked, I'd be OK investment-wise, but my initial testing is troubling in that they all might be dead. If they are, I'm hoping some might be revivable.

I have have had a hard time finding basic setup guides apart from the typical wiring schematics, and no troubleshooting steps, so if some of the details below seem dumb, it's because I just don't know any better. :)

Is there a workaround to set regen voltage, not current?

Submitted by Gsorter on Sat, 2023-03-11 17:59

Is there a creative way to control braking voltage, and not current in firmware? Say you have a battery in parallel with the VESC which is in constant regen mode  and controlling an engine driven bldc, and with the load in parallel too. Rather than say Max Regen current is say 100 amps, a way to say Max Regen voltage is a function of instantaneous battery voltage plus 1 volt?

Problems driving motors in RPM mode

Submitted by jediengineer on Fri, 2023-03-10 14:03

I'm trying to drive motors in RPM mode (with a propeller load), my project requires the RPM commanding. I've seen the YouTube videos where VESC is driving KDE motors and T-Motors so I purchased one KDE5215XF-22 and one U10-II KV100 to experiment with. What I'm finding is that in RPM mode, the motors are having a problem starting up - they studder and shake a bit and sometimes don't start - I'm not entirely sure why... Also, when running, they tend to wind up, which sounds like the integrator in the PID loop needs to be adjusted. 

Motor brake stuggling (Video)

Submitted by Zanooon97 on Thu, 2023-03-09 18:57

I am new in this vesc forum, My hardware is the flipsky 75100. 20s Liion 21Ah.

My problem is when i brake, then the motor brakes not smoothly. It makes loud noise also.

Let me know what you need to know for helping me heheh i have searched and tried all settings but no one is working for me

It makes cutouts without reaching te currentlimit.

Acceleration is perfect, driving up the mountain excellent, only when i braking (video) is making wrong noises, like the hall are not working correctly

Halls are perfect instead.

How to read VESC fault / status over CAN?

Submitted by reobaird on Tue, 2023-03-07 00:06

I am controlling a VESC via CAN, I am able to read status feedback 1-6 and send CAN commands for duty, current, etc.

None of the status feedback messages seem to indicate anything about the VESC's internal state (are we good to go? is there any active fault?).  Fairly important for the master VCU to have knowledge of this.

I assume there is some sort of CAN message implemented for this, as it seems you can communicate with multiple VESCS with only one hooked up via USB if they all share a common CAN network.

Wordle Bot tells you how good your guesses are.

Submitted by Wordlebot on Mon, 2023-03-06 08:34

The Wordle bot is an AI built by the New York City Times that analyzes your Wordle guesses, comparing them to the most accurate ones. This is Wordle's best practical video game designed to be played every day.

The Wordle bot has analyzed every Wordle option so far, identifying what types of words are chosen for responses in the game. So every day, it uses that understanding to calculate the best guess- the one that gets you the ideal answer the fastest.

What VESC Controller should I buy?

Submitted by Skye Parker on Sat, 2023-03-04 07:10

Hey everyone! 

Looking for some advice on my rideable "swervedrive" robot project. 

This will be a platform with 4 hub motors, each with its own steering motor. I am looking to bench test the hub motors with power running through slip rings. Anyway, I just want to use these baby hub motors: 

https://www.monsterscooterparts.com/trsc/rec-categories/motors1/rear-whe...

LISP script to import data to MATLAB

Submitted by cornballs on Thu, 2023-03-02 04:58

Hi, I'm rather new to VESC Tool, probably even worse at coding. I'm trying to export the motor's back emf and ERPM data into MATLAB or Excel sheets for experiments and testing. I also want to time the data with other measurements external from the VESC tool, so I don't think I can simply use export the Experiment files from RT data. How would I write a script in the LISP console to do that? What's the variables to call these two data sets? Sorry if I'm not being specific enough about my problem.

Pages

Subscribe to RSS - General discussion