VESC Configuration web tool (ALPHA)

Hi,

I’m working on a bigger tool than the calc one, this time around VESC configurations:

Check this out:

http://config.esk8.it



Features:

  • Sharable link
  • simplified configs for BLDC
  • Loads and Exports VESC XML config from/to the BLDC tool

Features to add:

  • List FOC mode simplified params
  • Choose battery S and chemistry (lipo/li-ion) to automatically set battery voltages
  • Compare two configurations
  • Explain all the configs in detail
  • something cool with Chrome extensions USB support maybe? ( ;] )
  • you name it!

if it’s easy to do I will be happy to code it

These are my VESC configs for an 8S system, feel free to edit and link yours :slight_smile:


Making this tool took me ~3 days (nights ^^ ). Bare in mind that this hasn’t been fully yested! Please recheck the configs thouroughly before loading them into your VESC! Open the XML files sides by sides (your current configuration and the one you exported from the web tool) and make sure the values that you wanted modify changed and NOTHING ELSE did! :slight_smile:

Do you think that it can be useful? Which features may be quick to add (quick wins)?

note (if you have to edit decimal values you need to type them fast, there’s currently a bug, sorry about that :D)

10 Likes

looks neat, but why would we use this ? We still need to use the BLDC tool to upload to our VESC…

Still +1 for your efforts mate !

Mainly to share configurations (I hate opening screenshots :D) and to see if values are out of bounds or maybe to generate a config based on presets (battery / etc) also to highlight wich values need to be changed and maybe for having good defaults… I don’t know… :smiley: maybe somebody can come up with good ideas… actually I needed a side project to test if this javascript framework/coding-environment was any good ^^

3 Likes

I’m new to VESC and will get them literally today. This looks very easy to use. Thank you for taking time and developing this.

This would be insanely helpful, it would allow people like @hummie to give specific settings for his hubs so we can get all of the right settings. That is the one thing that is keeping me from getting a VESC

2 Likes

the settings I do are pretty standard. I forget what I’ve changed the brakes to but other than those and the battery and motor amp limits, and the max and min voltage set for 12s, and the two shut down voltages for low batteries. did the foc test and applied them. get someone to talk you through getting it up and running and then it’s like having learned to read.

Keep up the good work!!! We all benefit from it :slight_smile:

I have wrote a guide on how to use this thing:

How to use the Web Tool

Once you loaded the “VESC Web Config Tool” (name subject to change) with the desired settings here’s how to try them:

On the ‘vesc config web tool’ (I probably need a short name for it like BLDC_C) do:

Export > XML

then you have your VESC XML file, if you want to import it in BLDC tool you need to hit the Load XML button at the bottom (bottom-center-right, so many buttons on that interface lol!) of the BLDC tool window.

Please compare the two files with a diff tool (http://www.mergely.com/editor) to see if other values changed that you didn’t want to modify.

also it’s highly recommended if you load the XML exported from the BLDC tool first, so you are sure you’re modifying only the right values

we probably need a vesc settings comparison tool lol

main VESC settings (my conservative settings):

----------------------------------------------------
Motor max                                 : 60
----------------------------------------------------
Motor min (regen)                         : -60
----------------------------------------------------
Batt max                                  : 25
----------------------------------------------------
Batt min (regen)                          : -15
----------------------------------------------------
Absolute max                              : 130
---------------------------------------------------

this snippet is taken from Export > Text


for devs:

also I included a JSON format that we can use maybe instead of XML and that option of loading/exporting the configs in JSON could be integrated in the BLDC tool

then the web tool could write firmware files as well potentially so that you install it via firmware upgrade but the compilation process probably needs a server… this app generates XMLs on the client (in the browser) and it uses only local data

man I wrote too much… sorry guys! :smiley:

Where’s the progress of this web tool? I was thinking of the same idea a few days ago and then remembered that I may or may not have read about someone else doing this. I think this tool has some really cool potential!

hmm, well it works, it’s not perfect but it generates good XMLs (especially if you import yours as a base, so it has exactly your settings as base). I use it sometimes to make modifications, save the XML to be able to try them quickly just by loading the XMLs in the vesc tool, I do that when I need to change more than 1-2 parameter.

As Benjamin is doing the new vesc tool that will have a different XML formats and configurable fields I paused the project and will probably restart it later when that will be out (also I have limited time lately ^^). As the project is open source you’re free to fork it, improve it or take inspiration (and code) from it and make something else / something similar. :slight_smile:

Hi.i have a 220kv 2200w alien power motor with a 8s lit ion battery pack and a Vesc. i wan to programmate my vesc. could you help me to fill in the parametrs in bldc tool program?