C++ Interface for the Bosch-Sensortec's BNO055 compatible with Espressif's ESP32 SoC running esp-idf.
Tested on ESP32D0WDQ6 (DevKitC) with Adafruit's BNO055 Breakout Board
Interface | Notes |
---|---|
UART | Fully Supported |
I²C | Partially Supported* |
*unstable (due to clock stretching)
NOTE: this code is not (yet) Production Ready.
You can use this as a managed-component for your project by adding the following to your idf_component.yml
:
BNO055ESP32:
path: .
git: https://github.com/ShellAddicted/BNO055ESP32.git
Alternatively, you can use this as a component for your project:
mkdir components/
cd components/
git clone https://github.com/ShellAddicted/BNO055ESP32.git
Remember to enable Compiler Options -> Enable C++ Exceptions
using idf.py menuconfig
.
For more details see examples/
IMU Pin | UART | I²C |
---|---|---|
PS1 | 3.3v | GND |
SCL | UART RX (Default: GPIO_NUM_17) | SCL (Default: GPIO_NUM_22) |
SDA | UART TX (Default: GPIO_NUM_16) | SDA (Default: GPIO_NUM_21) |