IMU Setting Tips with ESC based on VESC for Onewheel

The blog posted by Flipsky Tech with @Burnerz_crew shows how to set up the IMU with your VESC for Onewheel

IMU module connects to COMM:

VESC Tool firmware 5.3

Wiring diagram:

Parameters settings:

  1. Open the VESC tool
  2. Select App setting / General from the left side menu

  1. Set App to Use "Balance"
  2. Press Write app configuration from the right side toolbar

  1. Select App settings / IMU from the left side menu
  2. Set IMU Type to the hardware you are using(we used external BMI160 IMU) 

  1. Set relevant parameters according to your external modules and your own gliding needs (Set Sample Rate; Set the IMU AHRS Mode; Type in the rest of the values)
  1. Press Write app configuration from the right side toolbar

  1. Select the “Activate IMU sampling” icon from the right side toolbar  (Now you will get real-time data of your IMU. If not, please double check the hardware type you selected or the wiring connections)
  1. Orient the IMU in a way that matches the board’s axis

For example:

Follow this logic and rotate physically the IMU so it matches up like tha. Also, don’t forget to tip it sideways so that you can check the roll axis.

You could fix these later in VESC tool, but it’s cleaner to do it that way.

  1. When all the axis match up, Fix it down so it cant move at all
  2. Still on the IMU tab, on the bottom go to “Detect Calibration
  3. Make sure your board is leveled and not moving while calibrating
  4. Click the “Start calibration” button
  5. After the calibration has been done, please hit “Apply calibration results” to apply the new values
  6. Done

Thank you for watching, please follow our social media for more information:




Leave a comment

Please note, comments must be approved before they are published