Request the actual settings of the VESC over UART/CAN

Are there any features that you would like to add to the VESC?
Garfield
Posts: 24
Joined: 04 Apr 2016, 10:43
Location: Wolfsburg

Request the actual settings of the VESC over UART/CAN

Postby Garfield » 04 Aug 2016, 13:34

Hello,

To drive the VESC with another MCU (like Arduino or whatever) over UART/CAN with the "set_current" commands everyone has to scale the requested current to the maximum motor current.
If you have developed some functions on the other MCU and would like to change the platform to a bigger one with other Motors and also an VESC you have to change the current scale in the other MCU by hand and flash the other MCU again with a new software.

If the VESC is able to send informations like "minimum brake current", "maximum current", "minimum voltage", "maximum voltage" and the other in BLDC-Tool configured values on request to the other MCU the developer only have to change the configuration in BLDC-Tool. Then the software on the other MCU requests these informations (if coded right) and uses the new VESC config without any code change.

Another benefit is, that a developer could work with an VESC controller although he has no infos about the motor and the configuration of the VESC.

Hope I could explain it understandable.

thanks

rew
Posts: 914
Joined: 25 Mar 2016, 12:29
Location: Delft, Netherlands.

Re: Request the actual settings of the VESC over UART/CAN

Postby rew » 04 Aug 2016, 13:50

Another option would be to add uart commands like: set motor current to xx%.

Garfield
Posts: 24
Joined: 04 Apr 2016, 10:43
Location: Wolfsburg

Re: Request the actual settings of the VESC over UART/CAN

Postby Garfield » 18 Oct 2016, 09:44

I implemented a new command and wrote an Arduino library (only tested on Teensyduino 3.1). You can find the VESC fw and library here. https://github.com/RunningPenguin

Thanks for your help


Return to “Feature Requests”

Who is online

Users browsing this forum: No registered users and 1 guest