VESC Tool 3.01 (OBSOLETE) - IMU (gyro) Configuration Guide

To download the original resolution picture, click here:

https://drive.google.com/drive/folders/1x5HfEPs2gOlr7Sc0o_zJD9pPzonAhrjf?usp=sharing

You can access my google drive where I will upload all IMU related guide and info!

Cheers!
Richard from the Burnerz Crew :fire:

4 Likes

IMO step 3/4 in this guide should be either removed or amended. In fact hitting “Write” is dangerous when you have more than one VESC. On the desktop tool you must always do “read” before write or else you risk writing values from your previously connected VESC to your currently connected one.

2 Likes

Thanks for the headsup! I made the modifications to the guide, i updated the contents of the google drive link, i will refresh the post when i find out how! :smiley:

Edit: now i was able to edit it, picture updated!

Could you add a step after 14.?

14.5: set yaw offset if needed: LFOCv3.1 needs 90 (or -90 if you get negative speeds), Others use 0 (or 180 to counter negative speeds)

2 Likes

Done! :slight_smile: thanks for helping me evolving this guide

That is a vital step if for some reason your LIL FOCR 3.1 did not come configured with it…like mine lol
Thanks @NicoAleman and @surfdado for the late night repsonse to fix this last weekend.

Amazing work, thank you

1 Like

I know it is not IMU but might be worth mentioning that you may need to set “Invert Motor Direction” to TRUE.

note on using external BMI 160: it needs to be wired differently than LSM. At least for my Flipsky.
3.3 from ESC goes to VIN (not 3.3) on IMU and SAO connected to GND just like shown here: BMI160 module for DIY balanced board DIY onewheel with VESC | Spintend

Should we create an “External IMU Setup” post for this stuff ? This is very valuable info and warrants its own dedicated post imho

1 Like

True, i will include that somewhere in it! probably in the end of the guide! thanks!

1 Like

I will get myself into it, but i need to gather some info

so far we have LSM6DS3 and BMI160 external wiring

Another newbie tip: If you get all set up and notice your speeds are negative values, and you flip your Yaw offset, CHECK YOUR MOTOR DIRECTION AGAIN ON THE BENCH and invert if needed.

Otherwise you’ll have a very sudden and unpleasant dismount. :sweat_smile:

2 Likes

Im trying to get my first diy onewheel/openwheel to work but struggling on imu configuration. Tried with two LSM6DS3 but neither shows no real time data so I think its not my soldering or the IMU itself.
Does anyone have any idea what could be wrong?

Try IMU wizard first, if it detects your IMU at all. If not,

Make sure to set APP TO USE to NONE, and wire it like its mentioned in the guide. (If you are on VESC 6 fw using float package)

If the problem persists try swapping rx / tx.

Thanks :smiling_face_with_three_hearts:
Tried to config it first but no detection and after a few attempts Vesc tool crashes :neutral_face:
App to use has been on UART so maybe thats the problem.

Also when I changed app to use to balance and clicked “write app” my wheel stops spinning from bottom ribbons play buttons. Tire just jerks back and forth. Dont know if thats suppose to happen :sweat_smile:

Swapping rx/tx worked! Thank you :smiling_face_with_three_hearts: did not work at first try and after the program crashed again it finally found my IMU