Installing the Arduino Library
Arduino
Arduino IDE
This example assumes you are using the latest version of the Arduino IDE on your desktop. If this is your first time using Arduino IDE and an library, please review the following tutorials.
Board Definitions
For the scope of this tutorial, we will be using the SparkFun IoT RedBoard - ESP32 Development Board. This Library also works with the SAMD51. For users that decide to use the SAMD51, make sure to use the Arduino SAMD Core and SparkFun SAMD boards before selecting the SAMD51 board definition.
If you have not installed a board definition before, please review the following tutorial as well.
USB-to-Serial Drivers
If you've never connected an CH340 device to your computer before, you may need to install drivers for the USB-to-serial converter. Check out our section on "How to Install CH340 Drivers" for help with the installation.
The SparkFun VR IMU BNO08X Arduino Library provides a quick way to interact with the interfaces on the SparkFun VR IMU Breakout - BNO086 (Qwiic). Install the library through the Arduino Library Manager tool by searching for "SparkFun BNO08X". Users who prefer to manually install the library can get it from the GitHub Repository or download the .ZIP by clicking the button below:
Note
This library is different from the original BNO080 Arduino Library. Most of the examples from the old Arduino Library were ported to the BNO08X Arduino Library. We recommend using this library for the BNO08X as it processes the data better.